������ Ŀ�ο� RARP����� �ִ� ���� ���� �����̴�. Ŀ�� ���ھ��� �����Ϸ��� �� ����� �ݵ�� �ʿ��ϴ�. ���� Ŭ���̾�Ʈ�� ������ �ٸ� ����ݿ� �ִٸ� �� ����� ������ ���� ���Ѵ�.
�������̼��� Ŀ���� �ּ��� ���� ���ǵ��� �������Ѿ� �Ѵ�:
�������̼��� Ŀ�� ���ھ��� ���õǷ��� ��Ʈ ��ġ�� 0:255�� ������
�ʿ䰡 �ִ�. mknod /dev/nfsroot b 0 255
�� �����ν� ����
��ġ�� ���� ��, rdev <kernel-image> /dev/nfsroot
��
Ÿ���������ν� Ŀ�� �̹����� ��Ʈ ��ġ�� ������ �� �ִ�.
���: �̵� ���ɾ���� �� �۵��Ѵ� �ϴ���, ����
ȯ��(production enviroment)���� ���� ������ ���� �ƴϴ�.
Ŭ���̾�Ʈ�� ��Ʈ ���Ͻý����� �����ϱ� ���� ���� ���� �����
Ofer Maor <ofer@hadar.co.il>
���� NFS-Root-Client �̴� �Ͽ�����
�� ���� �ִ�.
��Ʈ Ʈ���� ��ġ�� ���� ������, ���� ���,
mkdir -p <directory>
��
tar cClf / - | tar xpCf <directory> -
�� �����ν�
Ʈ���� �����.
LILO���� Ŀ���� �����Ϸ��� ��Ʈ ���丮��
/tftpboot/<IP-address>
�� �Ǿ�� �Ѵ�. �⺻���� ����
�� ��ٸ� Ŀ�� �ҽ��� Makefile����
NFS_ROOT = -DNFS_ROOT="\"/tftpboot/%s\""
�κ��� ã�� ����
������ ��ġ�� �ٽ� �������� �ϸ� �ȴ�.
���� ���ʿ��� ���ϵ��� �����, /etc/rc.d ��ũ��Ʈ���� �˻��Ѵ�.
�������̼��� ���� ��Ʈ ���丮�� �ͽ���Ʈ�Ѵ�. exports(5)
��
�����϶�. �� �۾��� nfsd/mountd�� ������ؾ� �Ѵ�. RedHat������
������ /etc/rc.d/init.d/nfs stop ; /etc/rc.d/init.d/nfs start
��
�ϸ� ������� �� �ִ�.
��Ʈ���� ��� RARP�� ��ġ�϶�. nfsroot �μ����� �����Ϸ� �Ѵٸ�, RARP������ ���� NFS�������� �Ѵ�. ���� RARP������ NFS������ ���ҵ� �ô´�. RARP�� ��ġ�Ϸ��� Ŀ���� RARP�� �����ϵ��� �����Ǿ�� �Ѵ�.
���� ����, ������ �������(���� ������ /etc/rc.d
��
��� �� ���ɹ��� ��ġ�ؾ� �Ѵ�!):
/sbin/rarp -s <ip-addr> <hardware-addr>
�����
�� �������̼��� IP�ּ��̰�
�� �������̼��� ��Ʈ��ũ ī���� �̴��� �ּ��̴�.
��: /sbin/rarp -s 131.131.90.200 00:00:c0:47:10:12
������ �̸����� IP�ּҸ� ã�� �� �ִٸ�(/etc/hosts�� DNS�� �̿��ؼ�), IP�ּҴ�ſ� �̸��� ����� �� �ִ�.
BOOTP ������ ���ؼ� /etc/bootptab
�� �����ؾ� �Ѵ�.
bootpd(8)�� bootptab(5) �� �������� �����϶�.
���ڴ� �ϵ���� �ּ�(����: �������̼��� ��ī���� �̴��� �ּ�)�� ��. ��� �˾� �� �� ������?
/sbin/arp -a
�� ARPij�ø� ���� ����.