Apr 8, 2005

             onlsbc1, Debian GNU/Linux 3.1(Sarge) �Υ��󥹥ȡ���
          			---  Sarge ���� #3
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               (http://www-online.kek.jp/~inoue/para-CAMAC/
                                   Work/SBC-Linux55.html)



                        �⥨�ͥ륮����®�︦�浡��
                            ��γ�Ҹ��ҳ˸����
                         ʪ��������饤�󥰥롼��
                                ��� ����

        ��Ū

	    �������ѥޥ���onlpc03 �˥�������ˤĤʤ��Ǥ��� SCSI�ϡ��ɥǥ�����
	    ��ˡ�Fedora Core 3 �򥤥󥹥ȡ��뤷����������ˡ�SBC-Linux48.html
	    �Ǥκ�Ȥˤ�ꡢ���饤������ѥޥ���onlsbc1 �˥�������ˤĤʤ��Ǥ�
	    �� 2.5"IDE�ϡ��ɥǥ�������ˡ�Debian GNU/Linux 3.1(Sarge) �򥤥�
	    �ȡ��뤷���� �����Τդ��ĤΥ����ƥ��Ȥäơ�CC/NET�Ѥ� Debian GNU
	    /Linux 3.1�ǥ������쥹�����ƥ���ۤ��롣 �����Ǻ������륷���ƥ��
	    ������¦�� Fedora Core 3 ư������饤�����¦�� Debian GNU/Linux 
	    3.1��ư���ǥ������쥹�����ƥ�Ǥ��롣
	    
        ����

        (1). �����Фι���
          (1-1).  DHCP������
          (1-2).  Tftp ������
             (1-2-1).  Tftp ư��ƥ���
        (2). ���饤������ѥ����ͥ�ι���
        (3). ���饤������ѥ롼�ȥե����륷���ƥ�ι���
          (3-1).  �ǥ������쥹���饤������ѤΥե�������֤��������
          (3-2).  /etc/exports�ե����������
          (3-3).  /tftpboot/130.87.153.3���˥ե�����򥳥ԡ�
          (3-4).  /tftpboot/130.87.153.3/etc �ʲ��Υե�������Խ�
             (3-4-1).  /tftpboot/130.87.153.3/etc/modules�ե�������Խ�
             (3-4-2).  /tftpboot/130.87.153.3/etc/hostname�ե�������Խ�
             (3-4-3).  /tftpboot/130.87.153.3/etc/fstab�ե�������Խ�
             (3-4-4).  /tftpboot/130.87.153.3/etc/init.d �ե�������Խ�
             (3-4-5).  /tftpboot/130.87.153.3/etc/network/interfaces �ե�������Խ�
             (3-4-6).  /tftpboot/130.87.153.3/etc/modules.conf �ե�������Խ�
             (3-4-7).  /tftpboot/130.87.153.3/etc/modutils/aliases �ե�������Խ�
             (3-4-8).  /tftpboot/130.87.153.3/lib/modules/2.4.27-686/modules.dep �ե�������Խ�
             (3-4-9).  ��Ϣ�ե����������å�
               (3-4-9A).  /tftpboot/130.87.153.3/etc/hosts
               (3-4-9B).  /tftpboot/130.87.153.3/etc/hosts.allow
               (3-4-9C).  /tftpboot/130.87.153.3/etc/hosts.deny
               (3-4-9D).  /tftpboot/130.87.153.3/etc/resolv.conf
          (3-5).  �ƹ������� initrd ������
        (4). �֡��ȥ�����������
          (4-1).  FD���GRUB������
             (4-1-1).  FD���GRUB�򥤥󥹥ȡ���
             (4-1-2).  ��ư��FD �κ���
             (4-1-3).  FD���GRUB������
        (5). �֡��Ȥμ¹�



  --------------------------------------------------------------------


 (1). �����Фι���

	���饤����ȥޥ���� onlsbc1 �� FG���饹���ˤĤʤ��Ǥ��롣�������ȥ�����
	��ۤ����ͥåȥ���֡��Ȥ�ʣ���ʤΤǡ������Хޥ���ˤ�Ʊ�쥯�饹����
	�Ĥʤ��Ǥ��� onlpc03 ����Ѥ��롣 ���Υޥ���� ���ץ�������Υѥ�����
	Endeavor Pro-400L �Ǥ��롣 ���Υޥ���Ǽ¹Ԥ���Ƥ���OS�� Fedora Core 3 
	Linux �Ǥ��롣


   (1-1).  DHCP ������

[root@onlpc03 inoue]# yum list installed | grep dhcp
dhcp.i386                                7:3.0.1-11             installed
dhcp-devel.i386                          7:3.0.1-11             installed
dhcpv6.i386                              0.10-8                 installed
dhcpv6_client.i386                       0.10-8                 installed
[root@onlpc03 inoue]#

	�����Хޥ��� onlpc03 �ˤ� dhcp �ѥå������ϥ��󥹥ȡ��뤵��Ƥ��롣

[root@onlpc03 inoue]# ls -l /etc/dhcpd.conf
ls: /etc/dhcpd.conf: ���Τ褦�ʥե������ǥ��쥯�ȥ�Ϥ���ޤ���
[root@onlpc03 inoue]#

	���饤����ȥޥ����NIC������ǧ��

onlsbc1:/home/inoue# ifconfig -a
eth0      �����ˡ:���������ͥå�  �ϡ��ɥ��������ɥ쥹 00:0B:AB:01:50:BA
          inet���ɥ쥹:130.87.153.3 �֥����ɥ��㥹��:130.87.155.255 �ޥ���:255.2
55.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7800 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1185 errors:0 dropped:0 overruns:0 carrier:0
      ����(Collisions):0
          RX bytes:806766 (787.8 KiB)  TX bytes:162886 (159.0 KiB)

lo        �����ˡ:��������롼�ץХå�
          inet���ɥ쥹:127.0.0.1�ޥ���:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
      ����(Collisions):0
          RX bytes:660 (660.0 b)  TX bytes:660 (660.0 b)

onlsbc1:/home/inoue#

	�����Хޥ����� /etc/dhcpd.conf�ե�����������

[root@onlpc03 inoue]# vi /etc/dhcpd.conf
#  /etc/dhcpd.conf
#  onlpc03: Diskless Server
ddns-update-style ad-hoc;
#default-lease-time 600;
#max-lease-time 7200;
option subnet-mask 255.255.252.0;
option broadcast-address 130.87.155.255;
option routers 130.87.152.1;
option domain-name-servers 130.87.152.2, 130.87.34.2, 130.87.34.3;
option domain-name "kek.jp";

subnet 130.87.152.0 netmask 255.255.252.0 {
   range 130.87.153.3 130.87.153.3;
}

host onlsbc1 {
   hardware ethernet 00:0B:AB:01:50:BA;
   fixed-address 130.87.153.3;
#   filename "/tftpboot/onlsbc1.boot";
}
[root@onlpc03 inoue]#

	���͡�
	����DHCP�ξ���ϡ�Internet Systems Consortium ��������Ǥ��롣

	��֡��Ȥ��롣

[root@onlpc03 inoue]# reboot

Broadcast message from root (pts/2) (Thu Mar 17 16:11:39 2005):

The system is going down for reboot NOW!
		:
		:

	������ dhcpd ��Хå������ɤǵ�ư���롣 ����ˡ������ƥ൯ư���� dhcpd
	��ư����褦�����ꤷ�Ƥ�����

[root@onlpc03 inoue]# ps -ef | grep dhcp
root      3730  3670  0 16:39 pts/2    00:00:00 grep dhcp
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# /sbin/service dhcpd start
dhcpd ��ư��:                                            [  OK  ]
[root@onlpc03 inoue]#
[root@onlpc03 inoue]#/sbin/chkconfig --list dhcpd
dhcpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# /sbin/chkconfig --level 2345 dhcpd on
[root@onlpc03 inoue]# /sbin/chkconfig --list dhcpd
dhcpd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# ps -ef | grep dhcp
root      3739     1  0 16:39 ?        00:00:00 /usr/sbin/dhcpd
root      3784  3670  0 16:47 pts/2    00:00:00 grep dhcp
[root@onlpc03 inoue]#

	�����ǡ����饤�����¦�� onlsbc1 �Υޥ��󤫤��� bootp�ꥯ�����Ȥ�
	ȯ�Ԥ��Ƥߤ롣

  Booting 'Fedora Core 1: Boot from network with bootp [130.87.153.3/bzImage]

bootp
Found Intel EtherExpressPro100 82559ER at 0xec00, ROM address 0x0000
Probing...[Intel EtherExpressPro100 82559ER]Ethernet addr: 00:0B:AB:01:50:BA
Address: 130.87.153.3
Netmask: 255.255.252.0
Server: 130.87.153.112
Gateway: 130.87.153.1
root(nd)
 Filesystem type is tftp, using whole disk
kernel /tftpboot/130.87.153.3/boot/vmlinuz nfsroot=130.87.153.112:/tftpboot/130.87.153.3 ip=bootp
	<--- �����ǻߤޤäƤ��롣

	ok.  bootp ������˼¹ԤǤ����� ���ߤϡ������Хޥ���� /tftpboot�β��ˤ�
	�롼�ȥե����륷���ƥ���Ѱդ��Ƥʤ��Τǡ������ͥ���ɤߤˤ��äƥե꡼��
	����Τ������ư��Ǥ��롣


   (1-2).  Tftp ������

[root@onlpc03 inoue]# yum list installed | grep tftp
tftp.i386                                0.39-1                 installed
tftp-server.i386                         0.39-1                 installed
[root@onlpc03 inoue]#

	�����Хޥ���onlpc03 �ˤ� tftp-server�ѥå������ϥ��󥹥ȡ��뤵��Ƥ��롣

	/etc/xinetd.d/tftp�ե�����������롣

[root@onlpc03 inoue]# vi /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
#       server_args             = -s /tftpboot
#       disable                 = yes
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
"/etc/xinetd.d/tftp" 18L, 512C �����
[root@onlpc03 inoue]#

	tftpd ��ƥ��Ȥ��롣

[root@onlpc03 inoue]# ls -lR /tftpboot
/tftpboot:
��� 8
drwxr-xr-x  4 root root 4096  1�� 13 18:36 linux-install

/tftpboot/linux-install:
��� 32
drwxr-xr-x  2 root root  4096  1�� 13 18:36 msgs
-rw-r--r--  1 root root 11822  1�� 13 18:36 pxelinux.0
drwxr-xr-x  2 root root  4096  1�� 13 18:36 pxelinux.cfg

/tftpboot/linux-install/msgs:
��� 48
-rw-r--r--  1 root root 439 10�� 21 00:12 boot.msg
-rw-r--r--  1 root root 668 10�� 21 00:12 expert.msg
-rw-r--r--  1 root root 871 10�� 21 00:12 general.msg
-rw-r--r--  1 root root 860 10�� 21 00:12 param.msg
-rw-r--r--  1 root root 530 10�� 21 00:12 rescue.msg
-rw-r--r--  1 root root 545 10�� 21 00:12 snake.msg

/tftpboot/linux-install/pxelinux.cfg:
��� 0
[root@onlpc03 inoue]#

[root@onlpc03 inoue]# /usr/sbin/in.tftpd -vvv -l -s /tftpboot
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# ps -ef | grep tftp
root      5809     1  0 08:59 ?        00:00:00 /usr/sbin/in.tftpd -vvv -l -s /t
ftpboot
root      5811  5785  0 08:59 pts/2    00:00:00 grep tftp
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# netstat -a | grep tftp
udp        0      0 *:tftp                  *:*
[root@onlpc03 inoue]#

	���饤����ȥޥ��󤫤� tftp�ꥯ�����Ȥ�ȯ�Ԥ��Ƥߤ롣

     GRUB  version 0.93  (640K lower / 310208K upper memory)

 [ Minimal BASH-like line editing is supported. For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.  ESC any time exits. ]

grub> bootp

Found Intel EtherExpressPro100 82559ER at 0xec00, ROM Address 0x0000
Probing...[Intel EtherExpressPro100 82559ER]Ethernet addr: **:**:**:**:**:**
Address: 130.87.*.*
Netmask: 255.255.*.*
Server: 130.87.*.*
Gateway: 130.87.*.*

grub> root (nd)
 Filesystem type is tftp, using whole disk

grub>

	����ϵ����Ƥ��ʤ��褦����

[root@onlpc03 inoue]# ps -ef | grep tftp
root      5809     1  0 08:59 ?        00:00:00 /usr/sbin/in.tftpd -vvv -l -s /t
ftpboot
root      5890  5785  0 09:14 pts/2    00:00:00 grep tftp
[root@onlpc03 inoue]# kill -KILL 5809
[root@onlpc03 inoue]#

	���͡�
	��man tftpd

<<<--- ���ȳ���
SYNOPSIS
       in.tftpd [options...]  directory...

DESCRIPTION
       tftpd  is  a  server  for the IPv4 Trivial File Transfer Protocol.  The
       TFTP protocol is extensively used to support remote booting of diskless
       devices.   The  server  is  normally started by inetd, but can also run
       standalone.

OPTIONS
       -l     Run the server in standalone (listen) mode, rather than run from
              inetd.   In  listen  mode,  the -t option is ignored, and the -a
              option can be used to specify a specific local address  or  port
              to listen to.
       -a [address][:port]
              Specify  a  specific  address  and port to listen to when called
              with the -l option.  The default is to listen to the  tftp  port
              specified in /etc/services on all local addresses.
       -c     Allow  new  files  to  be  created.  By default, tftpd will only
              allow upload of files that already  exist.   Files  are  created
              with  default permissions allowing anyone to read or write them,
              unless the -p or -U options are specified.
       -s     Change root directory on startup.  This means  the  remote  host
              does  not need to pass along the directory as part of the trans-
              fer, and may add security.  When -s is  specified,  exactly  one
              directory  should  be specified on the command line.  The use of
              this option is recommended for security as well as compatibility
              with  some  boot  ROMs  which cannot be easily made to include a
              directory name in its request.
       -u username
              Specify the username which tftpd will run  as;  the  default  is
              "nobody".   The user ID, group ID, and (if possible on the plat-
              form) the supplementary group IDs will be set to the ones speci-
              fied in the system permission database for this username.
       -U umask
              Sets  the  umask for newly created files to the specified value.
              The default is zero (anyone can read or write) if the -p  option
              is  not  specified, or inherited from the invoking process if -p
              is specified.
       -p     Perform no additional permissions checks above the  normal  sys-
              tem-provided  access  controls for the user specified via the -u
              option.
       -t timeout
              When run from inetd this specifies how long, in seconds, to wait
              output  of in.tftpd -V to verify whether or not it is available.
       -v     Increase the logging verbosity of tftpd.  This flag can be spec-
              ified multiple times for even higher verbosity.
       -r tftp-option
              Indicate  that  a  specific RFC 2347 TFTP option should never be
              accepted.
       -V     Print the version number and configuration to  standard  output,
              then exit gracefully.

RFC 2347 OPTION NEGOTIATION
       This  version  of tftpd supports RFC 2347 option negotation.  Currently
       implemented options are:

       blksize (RFC 2348)
              Set the transfer block size to anything less than  or  equal  to
              the  specified  option.   This  version of tftpd can support any
              block size up to the theoretical maximum of 65464 bytes.
       blksize2 (nonstandard)
              Set the transfer block size to anything less than  or  equal  to
              the  specified  option,  but  restrict the possible responses to
              powers of 2.  The maximum is 32768 bytes (the largest power of 2
              less than or equal to 65464.)
       tsize (RFC 2349)
              Report  the  size  of  the file that is about to be transferred.
              This version of tftpd only supports the tsize option for  binary
              (octet) mode transfers.
       timeout (RFC 2349)
              Set the time before the server retransmits a packet, in seconds.

       utimeout (nonstandard)
              Set  the  time  before  the  server  retransmits  a  packet,  in
              microseconds.  and
       The -r option can be used to disable specific options; this may be nec-
       essary to work around bugs in  specific  TFTP  client  implementations.
       For  example,  some TFTP clients have been found to request the blksize
       option, but crash with  an  error  if  they  actually  get  the  option
       accepted by the server.

FILENAME REMAPPING
       The -m option specifies a file which contains filename remapping rules.
       Each non-comment line (comments begin with hash marks, #)  contains  an
       operation,  specified below; a regex, a regular expression in the style
       of egrep; and optionally a replacement pattern.   The  operation  indi-
       cated by operation is performed if the regex matches all or part of the
       filename.  Rules are processed from the top down, and by  default,  all
       e      If  this  rule  matches, end rule processing after executing the
              rule.
       s      If this rule matches, start rule processing over from  the  very
              first rule after executing this rule.
       a      If  this  rule  matches,  refuse  the request and send an access
              denied error to the client.
       G      This rule applies to GET (RRQ) requests only.
       P      This rule applies to PUT (WRQ) requests only.
       The following escape sequences are recognized as part of  the  replace-
       ment pattern:
       \0     The entire string matched by the regex.
       \1 to \9
              The  strings  matched  by  each  of the first nine parenthesized
              subexpressions, \( ... \), of the regex pattern.
       \i     The IP address of the requesting host, in  dotted-quad  notation
              (e.g. 192.0.2.169).
       \x     The  IP  address of the requesting host, in hexadecimal notation
              (e.g. C00002A9).
       \\     Literal backslash.
       \whitespace
              Literal whitespace.
       \#     Literal hash mark.
       If the mapping file is changed, you need to send  SIGHUP  to  any  out-
       standing tftpd process.

SECURITY
       The use of TFTP services does not require an account or password on the
       server system.  Due to the lack of  authentication  information,  tftpd
       will  allow  only  publicly readable files (o+r) to be accessed, unless
       the -p option is specified.  Files may be written only if they  already
       exist  and  are  publicly  writable, unless the -c option is specified.
       Note that this extends the concept of ``public'' to include  all  users
       on  all  hosts that can be reached through the network; this may not be
       appropriate on all systems, and its implications should  be  considered
       before  enabling  TFTP  service.   Typically,  some kind of firewall or
       packet-filter solution should be employed.  If  appropriately  compiled
       (see  the  output  of in.tftpd -V) tftpd will query the hosts_access(5)
       database for access control  information.   This  may  be  slow;  sites
       requiring  maximum  performance may want to compile without this option
       Finally, the filename remapping (-m flag) support can be used  to  pro-
       vide a limited amount of additional access control.

CONFORMING TO
       RFC 1123, Requirements for Internet Hosts - Application and Support.
       RFC 1350, The TFTP Protocol (revision 2).
       RFC 2347, TFTP Option Extension.
       RFC 2348, TFTP Blocksize Option.
       RFC 2349, TFTP Timeout Interval and Transfer Size Options.

AUTHOR
       This  version of tftpd is maintained by H. Peter Anvin .
       It was derived from, but has substantially diverged  from,  an  OpenBSD
       source base, with added patches by Markus Gutschke and Gero Kulhman.

SEE ALSO
       tftp(1), egrep(1), umask(2), hosts_access(5), regex(7), inetd(8).

tftp-hpa 0.32                   23 October 2002                       TFTPD(8)
	
<<<--- ���Ƚ�λ

	/tftpboot �ǥ��쥯�ȥ�򥰥����Х� read/write �ø������ꤹ�롣

[root@onlpc03 inoue]# chmod 777 /tftpboot
[root@onlpc03 inoue]# ls -l /
��� 176
drwxr-xr-x    2 root root  4096  1�� 15 07:52 bin
drwxr-xr-x    3 root root  4096  1�� 13 18:04 boot
drwxr-xr-x   10 root root  5700  3�� 17 16:15 dev
drwxr-xr-x  115 root root 12288  3�� 18 04:03 etc
drwxr-xr-x    3 root root  4096  1�� 14 09:39 home
drwxr-xr-x    2 root root  4096  8�� 13  2004 initrd
drwxr-xr-x   11 root root  4096  1�� 15 06:52 lib
drwx------    2 root root 16384  1�� 14 01:48 lost+found
drwxr-xr-x    4 root root  4096  3�� 17 16:15 media
drwxr-xr-x    2 root root  4096 10�� 16 09:21 misc
drwxr-xr-x    2 root root  4096  8�� 13  2004 mnt
drwxr-xr-x    2 root root  4096  1�� 17 16:26 mnt1
drwxr-xr-x    2 root root  4096  8�� 13  2004 opt
dr-xr-xr-x  112 root root     0  3�� 18 01:12 proc
drwxr-x---    9 root root  4096  3�� 18 08:55 root
drwxr-xr-x    2 root root 12288  1�� 15 08:01 sbin
drwxr-xr-x    1 root root     0  3�� 18 01:12 selinux
drwxr-xr-x    2 root root  4096  8�� 13  2004 srv
drwxr-xr-x    9 root root     0  3�� 18 01:12 sys
drwxrwxrwx    3 root root  4096  1�� 13 18:36 tftpboot
drwxrwxrwt   12 root root  4096  3�� 18 04:02 tmp
drwxr-xr-x   14 root root  4096  1�� 13 17:04 usr
drwxr-xr-x   25 root root  4096  1�� 13 18:27 var
[root@onlpc03 inoue]#

	tftpd �Υ������ȥ��å׾�����ѹ���

[root@onlpc03 inoue]# /sbin/chkconfig tftp on
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# /etc/rc.d/init.d/xinetd restart
xinetd �������:                                           [  OK  ]
xinetd ��ư��:                                           [  OK  ]
[root@onlpc03 inoue]#


     (1-2-1).  tftpư��ƥ���

	�����Хޥ���� tftpd�ץ�����ब������ư��Ǥ��뤫�ɤ����ƥ��Ȥ��롣
	
[root@onlpc03 inoue]# find / -name tftp -print
/usr/bin/tftp
/lib/modules/2.6.9-1.667/build/include/config/ip/nf/nat/tftp
/lib/modules/2.6.9-1.667/build/include/config/ip/nf/tftp
/etc/xinetd.d/tftp
[root@onlpc03 inoue]#

[root@onlsbc1 toyo]# ls -l /usr/bin/tftp
ls: /usr/bin/tftp: No such file or directory
[root@onlsbc1 toyo]#

	onlsbc1 �ˤ� tftp���饤����ȥץ�����ब���󥹥ȡ��뤵��Ƥ��ʤ��Τǡ�
	onlsun1 �Υޥ���򥯥饤����Ȥˤ��ƥƥ��Ȥ��롣

[root@onlpc03 inoue]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
130.87.153.112          onlpc03.kek.jp onlpc03
130.87.153.10           onlsun1.kek.jp onlsun1
~
~
"/etc/hosts" 5L, 224C �����
[root@onlpc03 inoue]#

[root@onlpc03 inoue]# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
#       server_args             = -s /tftpboot
#       disable                 = yes
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
[root@onlpc03 inoue]#

[root@onlpc03 inoue]# /etc/rc.d/init.d/xinetd restart
xinetd �������:                                           [  OK  ]
xinetd ��ư��:                                           [  OK  ]
[root@onlpc03 inoue]#

onlsun1# tftp onlpc03
tftp> get /tftpboot/linux-install/pxelinux.0
Received 11955 bytes in 0.1 seconds
tftp> quit
onlsun1# ls -l pxelinux.0
-rw-r--r--   1 root     other      11822 Mar 18 09:55 pxelinux.0
onlsun1#
	
	ok.  �����Хޥ��� onlpc03 ���顢���饤����ȥޥ���onlsun1 �� tftp �ץ���
	���ǥե�����򥲥åȤǤ�����


 (2). ���饤������ѥ����ͥ�ι���

	���饤����ȥޥ��� onlsbc1 �� 2.5"IDE�ϡ��ɥǥ�������� Debian GNU/Linux
	3.1 �Υ����ƥ�ǤΥǥ������쥹���饤������ѤΥ����ͥ��ƹ��ۤϤ��Ǥ�
	SBC-Linux48.html �ǹԤä���


 (3). ���饤������ѥ롼�ȥե����륷���ƥ�ι���

	/tftpboot�ǥ��쥯�ȥ�ϥ��饤������ѥ롼�ȥե����륷���ƥ���ۤ����
	�ˤ��ΰ褬��������Τǡ�¾�Υѡ��ƥ������ /dev/sdc1 ��ޥ���Ȥ��ƻ���
	���롣

	����# mount -t ext3 /dev/sdc1 /tftpboot

	onlpc03 �Υޥ���� Fedora Core 3 �Υ����ƥ��ư������ˤϤ��Ĥ⼫ưŪ
	�� /dev/sdc1 �ѡ��ƥ�������ޥ���Ȥ���褦�ˡ�/etc/fstab�ե������
	�������Ƥ�����

[root@onlpc03 /]# vi /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/12               /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/sdb4               swap                    swap    defaults        0 0
/dev/hda5               swap                    swap    defaults        0 0
/dev/hdc                /media/cdrom            auto    pamconsole,fscontext=sys
tem_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,fscontext=sys
tem_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/sde1               /media/usbdisk          ext3    pamconsole,fscontext=sys
tem_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/sde2               /media/usbdisk1         ext3    pamconsole,fscontext=sys
tem_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/sdc1               /tftpboot               ext3    defaults        1 2
~
~
"/etc/fstab" 13L, 1206C �����
[root@onlpc03 /]#

	���� onlsbc1 �� 2.5"IDE�ϡ��ɥǥ�����#2 ��ˤϡ��ǥ������쥹�����ƥ��
	�١����Ѥ� Debian GNU/Linux 3.1 �Υ����ƥब���󥹥ȡ��뤷�Ƥ��롣��
	���Υ롼�ȥե����륷���ƥ��ǥ������쥹�����о�˥��ԡ�����ɬ�פ����롣
	���Τ���ˡ�2.5"IDE�ϡ��ɥǥ�����#2 �� IDE-USB�����ץ���Ĥʤ��� onlpc03
	�Υޥ����ľ�ܤĤʤ��ǰʹߤκ�Ȥ�Ԥ���

	2.5"IDE�ϡ��ɥǥ�����#2 �� IDE-USB�����ץ����ޤ��� onlpc03 ��USB���ͥ���
	����³���롣 ���θ塢onlpc03 ���֡��Ȥ�����

[root@onlpc03 inoue]# /sbin/fdisk -l

Disk /dev/hda: 20.5 GB, 20576747520 bytes
255 heads, 63 sectors/track, 2501 cylinders
Units = �������� of 16065 * 512 = 8225280 bytes

 �ǥХ��� Boot      Start         End      Blocks   Id  System
/dev/hda1               1         382     3068383+  1b  Hidden W95 FAT32
/dev/hda3             652        2501    14860125    f  W95 Ext'd (LBA)
/dev/hda5             652         668      136521   82  Linux ����å�
/dev/hda6             669         923     2048256    b  W95 FAT32
/dev/hda7             924        1289     2939863+   b  W95 FAT32
/dev/hda8            1290        1544     2048256    b  W95 FAT32
/dev/hda9            1545        1799     2048256    b  W95 FAT32
/dev/hda10           1800        2501     5638783+   b  W95 FAT32

Disk /dev/sda: 40.0 GB, 40029954048 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = �������� of 16065 * 512 = 8225280 bytes

 �ǥХ��� Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         127     1020096    b  W95 FAT32
/dev/sda2             128        2040    15366172+   c  W95 FAT32 (LBA)
/dev/sda3            3847        4866     8193150    f  W95 Ext'd (LBA)
/dev/sda4            2041        3846    14506695   83  Linux
/dev/sda5            3847        4866     8193118+   b  W95 FAT32

�ΰ�ơ��֥���ܤ��ǥ������ν���Ȱ��פ��ޤ���

Disk /dev/sdb: 40.0 GB, 40029954048 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = �������� of 16065 * 512 = 8225280 bytes

 �ǥХ��� Boot      Start         End      Blocks   Id  System
/dev/sdb1               1          13      104391   83  Linux
/dev/sdb2            1983        4866    23165730   83  Linux
/dev/sdb3             111        1982    15036840    f  W95 Ext'd (LBA)
/dev/sdb4              14         110      779152+  82  Linux ����å�
/dev/sdb5   *         111         716     4867663+  83  Linux
/dev/sdb6             717        1610     7181023+  83  Linux
/dev/sdb7   *        1611        1982     2988058+  83  Linux

�ΰ�ơ��֥���ܤ��ǥ������ν���Ȱ��פ��ޤ���

Disk /dev/sdc: 80.0 GB, 80020684800 bytes
255 heads, 63 sectors/track, 9728 cylinders
Units = �������� of 16065 * 512 = 8225280 bytes

 �ǥХ��� Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1217     9775521   83  Linux
/dev/sdc2            1218        2434     9775552+  83  Linux
/dev/sdc3            2435        3651     9775552+  83  Linux
/dev/sdc4            3652        9728    48813502+   f  W95 Ext'd (LBA)
/dev/sdc5            3652        4868     9775521   83  Linux
/dev/sdc6            4869        6085     9775521   83  Linux
/dev/sdc7            6086        7302     9775521   83  Linux
/dev/sdc8            7303        8519     9775521   83  Linux
/dev/sdc9            8520        9728     9711261   83  Linux

Disk /dev/sdd: 80.0 GB, 80020684800 bytes
255 heads, 63 sectors/track, 9728 cylinders
Units = �������� of 16065 * 512 = 8225280 bytes

 �ǥХ��� Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1        1217     9775521   83  Linux
/dev/sdd2            1218        2434     9775552+  83  Linux
/dev/sdd3            2435        3651     9775552+  83  Linux
/dev/sdd4            3652        9728    48813502+   f  W95 Ext'd (LBA)
/dev/sdd5            3652        4868     9775521   83  Linux
/dev/sdd6            4869        6085     9775521   83  Linux
/dev/sdd7            6086        7302     9775521   83  Linux
/dev/sdd8            7303        8519     9775521   83  Linux
/dev/sdd9            8520        9728     9711261   83  Linux

Disk /dev/sde: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = �������� of 16065 * 512 = 8225280 bytes

 �ǥХ��� Boot      Start         End      Blocks   Id  System
/dev/sde1   *           1         382     3068383+  83  Linux
/dev/sde2             383        1599     9775552+  83  Linux
[root@onlpc03 inoue]#

[root@onlpc03 inoue]# df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
/dev/sdd1              9621848   7295732   1837340  80% /
none                    193100         0    193100   0% /dev/shm
/dev/sdc1              9621848   1877536   7255536  21% /tftpboot
/dev/sde1              3020140   1632612   1234112  57% /media/usbdisk
/dev/sde2              9621880   1016620   8116484  12% /media/usbdisk1
[root@onlpc03 inoue]#

	����
	����Fedora Core 3 �Υ����ƥ�Ǥϡ�USB �ǥ���������³���������Ǽ�ưŪ��
	�����ޥ���Ȥ��Ԥ���褦���� �⤷���ޥ���Ȥ���Ƥ��ʤ���аʲ��Τ褦
	    �˼�ư�ǥޥ���Ȥ��롣

		# mount -t ext3 /dev/sde2 /mnt

[root@onlpc03 inoue]# cat /media/usbdisk1/etc/issue
Debian GNU/Linux 3.1 \n \l

[root@onlpc03 inoue]# cat /media/usbdisk/etc/issue
Fedora Core release 3 (Heidelberg)
Kernel \r on an \m

[root@onlpc03 inoue]#

[root@onlpc03 inoue]# ls -l /media/usbdisk1
��� 152
drwxr-xr-x   2 root root  4096  2��  2 16:02 bin
drwxr-xr-x   3 root root  4096  1�� 21 19:00 boot
drwxr-xr-x  11 root root 24576  3�� 18 11:00 dev
drwxr-xr-x  62 root root  4096  3�� 18 11:00 etc
drwxrwsr-x   3 root ftp   4096  1�� 21 10:24 home
drwxr-xr-x   2 root root  4096  1�� 21 18:48 initrd
lrwxrwxrwx   1 root root    28  1�� 21 18:53 initrd.img -> boot/initrd.img-2.4.2
7-2-386
drwxr-xr-x   9 root root  4096  2��  2 16:02 lib
drwxr-xr-x   2 root root 49152  1�� 21 18:44 lost+found
drwxr-xr-x   2 root root  4096  1�� 21 18:44 media
drwxrwxrwx   2 root root  4096 12�� 16 07:55 mnt
drwxr-xr-x   2 root root  4096  1�� 25 16:58 mnt1
drwxr-xr-x   2 root root  4096  1�� 27 10:11 mnt2
drwxr-xr-x   2 root root  4096  1�� 31 10:48 mnt3
drwxr-xr-x   2 root root  4096  1�� 21 18:48 opt
drwxr-xr-x   2 root root  4096 12�� 16 07:55 proc
drwxr-xr-x   4 root root  4096  1�� 21 16:48 root
drwxr-xr-x   2 root root  4096  2��  2 16:03 sbin
drwxr-xr-x   2 root root  4096  1�� 21 18:48 srv
drwxr-xr-x   2 root root  4096 12�� 27 11:40 sys
drwxrwxrwt   5 root root  4096  3�� 17 15:15 tmp
drwxr-xr-x  13 root root  4096  2��  2 10:10 usr
drwxr-xr-x  14 root root  4096  1�� 21 10:49 var
lrwxrwxrwx   1 root root    25  1�� 21 18:53 vmlinuz -> boot/vmlinuz-2.4.27-2-38
6
[root@onlpc03 inoue]#

	onlsbc1 ��� 2.5"IDE�ϡ��ɥǥ������˹��ۤ����ǥ������쥹�����ƥ��Ѥ�
	�١��������ƥ�� onlpc03 �� /media/usbdisk1 �ǥ��쥯�ȥ�˥ޥ���Ȥ����
	���롣

	onlpc03 �� /tftpboot�ǥ��쥯�ȥ������å���

[root@onlpc03 /]# pwd
/
[root@onlpc03 /]# ls -l
��� 172
drwxr-xr-x    2 root root  4096  1�� 15 07:52 bin
drwxr-xr-x    3 root root  4096  1�� 13 18:04 boot
drwxr-xr-x   10 root root  5760  3�� 18 11:00 dev
drwxr-xr-x  115 root root 12288  3�� 18 11:00 etc
drwxr-xr-x    3 root root  4096  1�� 14 09:39 home
drwxr-xr-x    2 root root  4096  8�� 13  2004 initrd
drwxr-xr-x   11 root root  4096  1�� 15 06:52 lib
drwx------    2 root root 16384  1�� 14 01:48 lost+found
drwxr-xr-x    6 root root  4096  3�� 18 11:00 media
drwxr-xr-x    2 root root  4096 10�� 16 09:21 misc
drwxr-xr-x    2 root root  4096  8�� 13  2004 mnt
drwxr-xr-x    2 root root  4096  1�� 17 16:26 mnt1
drwxr-xr-x    2 root root  4096  8�� 13  2004 opt
dr-xr-xr-x  118 root root     0  3�� 18 01:12 proc
drwxr-x---    9 root root  4096  3�� 18 11:01 root
drwxr-xr-x    2 root root 12288  1�� 15 08:01 sbin
drwxr-xr-x    1 root root     0  3�� 18 01:12 selinux
drwxr-xr-x    2 root root  4096  8�� 13  2004 srv
drwxr-xr-x    9 root root     0  3�� 18 01:12 sys
drwxrwxrwx    3 root root  4096 11�� 24 15:18 tftpboot
drwxrwxrwt   12 root root  4096  3�� 18 09:22 tmp
drwxr-xr-x   14 root root  4096  1�� 13 17:04 usr
drwxr-xr-x   25 root root  4096  1�� 13 18:27 var
[root@onlpc03 /]#
[root@onlpc03 /]# ls -l /tftpboot
��� 4
drwxrwxrwx  18 root root 4096  2��  7 09:03 130.87.153.3
[root@onlpc03 /]#
[root@onlpc03 /]# df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
/dev/sdd1              9621848   7295768   1837304  80% /
none                    193100         0    193100   0% /dev/shm
/dev/sdc1              9621848   1877536   7255536  21% /tftpboot
/dev/sde1              3020140   1632612   1234112  57% /media/usbdisk
/dev/sde2              9621880   1016620   8116484  12% /media/usbdisk1
[root@onlpc03 /]#


   (3-1).  �ǥ������쥹���饤������ѤΥե�������֤��������

	/tftpboot �ǥ��쥯�ȥ������å���

[root@onlpc03 /]# ls -l /tftpboot/130.87.153.3
��� 184
drwxr-xr-x   2 root root   4096 11��  5 19:06 bin
drwxr-xr-x   3 root root   4096 11�� 19 16:39 boot
drwxr-xr-x  21 root root 118784  2��  7 09:03 dev
drwxr-xr-x  61 root root   4096  2��  7 09:03 etc
drwxr-xr-x   3 root root   4096 12�� 10 16:20 home
drwxr-xr-x   2 root root   4096 10��  7  2003 initrd
drwxr-xr-x   9 root root   4096 11��  5 19:05 lib
drwxr-xr-x   2 root root   4096  9��  9  2003 misc
drwxr-xr-x   4 root root   4096 11�� 24 15:36 mnt
drwxr-xr-x   2 root root   4096 10��  7  2003 opt
drwxr-xr-x   2 root root   4096 11��  6 01:17 proc
drwxr-x---   3 root root   4096 12�� 20 17:13 root
drwxr-xr-x   2 root root   8192 11��  5 19:06 sbin
drwxrwxrwt   7 root root   4096  2��  7 09:02 tmp
drwxr-xr-x  17 root root   4096 12�� 15 10:28 usr
drwxr-xr-x  20 root root   4096 11��  5 16:35 var
[root@onlpc03 /]# cat /tftpboot/130.87.153.3/etc/issue
Fedora Core release 1 (Yarrow)
Kernel \r on an \m

[root@onlpc03 /]#

	���Ǥ� /tftpboot�ǥ��쥯�ȥ�β��ˤϡ�130.87.153.3�ǥ��쥯�ȥ꤬¸�ߤ���
	���Υǥ��쥯�ȥ�β��ˤϡ�Fedora Core 1�ѤΥ롼�ȥե����륷���ƥब�֤�
	��Ƥ��롣������ϡ���˹Ԥä� Fedora Core 1�ǥ������쥹�����ƥ๽�ۤ�
	�ƥ��Ȥǻ��Ѥ�����ΤǤ��롣��������򤱤뤿��ˡ�̾�����ѹ����Ƥ�����

[root@onlpc03 tftpboot]# pwd
/tftpboot
[root@onlpc03 tftpboot]# ls -l
��� 4
drwxrwxrwx  18 root root 4096  2��  7 09:03 130.87.153.3
[root@onlpc03 tftpboot]# mv 130.87.153.3 FedoraCore1-130.87.153.3
[root@onlpc03 tftpboot]# ls -l
��� 4
drwxrwxrwx  18 root root 4096  2��  7 09:03 FedoraCore1-130.87.153.3
[root@onlpc03 tftpboot]#

	"/tftpboot/<���饤����Ȥ�IP���ɥ쥹>" �ǥ��쥯�ȥ��������롣���ǥ���
	���쥹���饤������ѤΥ롼�ȥե����륷���ƥ�Ϥ��Υǥ��쥯�ȥ겼������
	���롣

[root@onlpc03 /]# pwd
/
[root@onlpc03 /]# mkdir /tftpboot/130.87.153.3
[root@onlpc03 /]#
[root@onlpc03 /]# ls -l /tftpboot
��� 12
drwxr-xr-x   2 root root 4096  3�� 18 13:46 130.87.153.3
drwxrwxrwx  18 root root 4096  2��  7 09:03 FedoraCore1-130.87.153.3
[root@onlpc03 /]#

        /tftpboot/130.87.153.3�ǥ��쥯�ȥ�β��˥��饤������ѤΥ롼�ȥե����륷
        ���ƥ��������롣


   (3-2).  /etc/exports�ե����������

	/etc/exports�ե�����������롣

[root@onlpc03 /]# vi /etc/exports
# sample /etc/exports file
#/               master(rw) trusty(rw,no_root_squash)
#/projects       proj*.local.domain(rw)
#/usr            *.local.domain(ro) @trusted(rw)
#/home/joe       pc001(rw,all_squash,anonuid=150,anongid=100)
#/pub            (ro,insecure,all_squash)
#/pub/private    (noaccess)
/tftpboot/130.87.153.3 130.87.0.0/255.255.252.0(rw,no_root_squash)
~
~
"/etc/exports" 8L, 369C �����
[root@onlpc03 /]#

[root@onlpc03 /]# /usr/sbin/exportfs -av
exportfs: /etc/exports [8]: No 'sync' or 'async' option specified for export "13
0.87.0.0/255.255.252.0:/tftpboot/130.87.153.3".
  Assuming default behaviour ('sync').
  NOTE: this default has changed from previous versions
exporting 130.87.0.0/255.255.252.0:/tftpboot/130.87.153.3
[root@onlpc03 /]#


   (3-3).  /tftpboot/130.87.153.3���˥ե�����򥳥ԡ�

	������ onlsbc1 �Υ����ƥ�򥷥�åȥ����󤷤ơ�2.5"IDE�ϡ��ɥǥ�������
	��곰�������������ϡ��ɥǥ������� IDE->USB�Ѵ������ץ�����³���ơ�
	�����Хޥ��� onlpc03 ��USB�ݡ��ȤˤĤʤ�����USB�ǥ�������� Sarge �Υ���
	�ƥ����Τ� onlpc03 ��/tftpboot�ǥ��쥯�ȥ�β��˥��ԡ����롣

[root@onlpc03 inoue]# df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
/dev/sdd1              9621848   7366784   1766288  81% /
none                    193100         0    193100   0% /dev/shm
/dev/sdc1              9621848   2708760   6424312  30% /tftpboot
/dev/sdb6              7068088   6084512    624528  91% /mnt
/dev/sdf1              3020140   1632612   1234112  57% /media/usbdisk
/dev/sdf2              9621880   1433256   7699848  16% /media/usbdisk1
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# cat /media/usbdisk/etc/issue
Fedora Core release 3 (Heidelberg)
Kernel \r on an \m

[root@onlpc03 inoue]# cat /media/usbdisk1/etc/issue
Debian GNU/Linux 3.1 \n \l

[root@onlpc03 inoue]#

	�ǥ������쥹�����饤������ѤΥ����ƥ�ϡ�/media/usbdisk1�ǥ��쥯�ȥ��
	�ޥ���Ȥ���Ƥ��롣

[root@onlpc03 usbdisk1]# pwd
/media/usbdisk1
[root@onlpc03 usbdisk1]# ls -l
��� 152
drwxr-xr-x   2 root root  4096  2��  2 16:02 bin
drwxr-xr-x   3 root root  4096  4��  4 09:37 boot
drwxr-xr-x  11 root root 24576  4��  6 10:10 dev
drwxr-xr-x  62 root root  4096  4��  6 10:10 etc
drwxrwsr-x   3 root ftp   4096  1�� 21 10:24 home
drwxr-xr-x   2 root root  4096  1�� 21 18:48 initrd
lrwxrwxrwx   1 root root    26  4��  4 09:37 initrd.img -> boot/initrd.img-2.4.2
7-686
lrwxrwxrwx   1 root root    28  1�� 21 18:53 initrd.img.old -> boot/initrd.img-2
.4.27-2-386
drwxr-xr-x   9 root root  4096  2��  2 16:02 lib
drwxr-xr-x   2 root root 49152  1�� 21 18:44 lost+found
drwxr-xr-x   2 root root  4096  1�� 21 18:44 media
drwxrwxrwx   2 root root  4096 12�� 16 07:55 mnt
drwxr-xr-x   2 root root  4096  1�� 25 16:58 mnt1
drwxr-xr-x   2 root root  4096  1�� 27 10:11 mnt2
drwxr-xr-x   2 root root  4096  1�� 31 10:48 mnt3
drwxr-xr-x   2 root root  4096  1�� 21 18:48 opt
drwxr-xr-x   2 root root  4096 12�� 16 07:55 proc
drwxr-xr-x   4 root root  4096  1�� 21 16:48 root
drwxr-xr-x   2 root root  4096  2��  2 16:03 sbin
drwxr-xr-x   2 root root  4096  1�� 21 18:48 srv
drwxr-xr-x   2 root root  4096 12�� 27 11:40 sys
drwxrwxrwt   5 root root  4096  4��  6 09:26 tmp
drwxr-xr-x  13 root root  4096  2��  2 10:10 usr
drwxr-xr-x  14 root root  4096  1�� 21 10:49 var
lrwxrwxrwx   1 root root    23  4��  4 09:37 vmlinuz -> boot/vmlinuz-2.4.27-686
lrwxrwxrwx   1 root root    25  1�� 21 18:53 vmlinuz.old -> boot/vmlinuz-2.4.27-
2-386
[root@onlpc03 usbdisk1]#

	/tftpboot�ǥ��쥯�ȥ�β����������롣

[root@onlpc03 usbdisk1]# ls -l /tftpboot
��� 16
drwxrwxrwx  24 root root 4096  3�� 29 16:02 130.87.153.3
drwxrwxrwx  18 root root 4096  3�� 28 14:51 FedoraCore1-130.87.153.3
drwx------   2 root root 4096  3�� 24 15:17 lost+found
[root@onlpc03 usbdisk1]#
[root@onlpc03 usbdisk1]# mv /tftpboot/130.87.153.3 /tftpboot/130.87.153.3-Sarge-
old
[root@onlpc03 usbdisk1]# mkdir /tftpboot/130.87.153.3
[root@onlpc03 usbdisk1]# ls -l /tftpboot
��� 24
drwxr-xr-x   2 root root 4096  4��  6 10:32 130.87.153.3
drwxrwxrwx  24 root root 4096  3�� 29 16:02 130.87.153.3-Sarge-old
drwxrwxrwx  18 root root 4096  3�� 28 14:51 FedoraCore1-130.87.153.3
drwx------   2 root root 4096  3�� 24 15:17 lost+found
[root@onlpc03 usbdisk1]#

[root@onlpc03 usbdisk1]# tar cpf - . | ( cd /tftpboot/130.87.153.3; tar xpf - )
				:
				:
tar: ./home/inoue/old-tmp/tmp/cramfs/var: implausibly old time stamp 1970-01-01
09:00:00
tar: ./home/inoue/old-tmp/tmp/cramfs/linuxrc-org: implausibly old time stamp 197
0-01-01 09:00:00
tar: ./home/inoue/diskless/cramfs/dev: implausibly old time stamp 1970-01-01 09:
00:00
tar: ./home/inoue/old-usb/usb/cramfs/dev: implausibly old time stamp 1970-01-01
09:00:00
[root@onlpc03 usbdisk1]#

[root@onlpc03 usbdisk1]# ls -l /tftpboot/130.87.153.3
��� 212
drwxr-xr-x   2 root root  4096  2��  2 16:02 bin
drwxr-xr-x   3 root root  4096  4��  4 09:37 boot
drwxr-xr-x  11 root root 24576  4��  6 10:10 dev
drwxr-xr-x  62 root root  4096  4��  6 10:10 etc
drwxrwsr-x   3 root ftp   4096  1�� 21 10:24 home
drwxr-xr-x   2 root root  4096  1�� 21 18:48 initrd
lrwxrwxrwx   1 root root    26  4��  6 11:07 initrd.img -> boot/initrd.img-2.4.2
7-686
lrwxrwxrwx   1 root root    28  4��  6 11:07 initrd.img.old -> boot/initrd.img-2
.4.27-2-386
drwxr-xr-x   9 root root  4096  2��  2 16:02 lib
drwxr-xr-x   2 root root  4096  1�� 21 18:44 lost+found
drwxr-xr-x   2 root root  4096  1�� 21 18:44 media
drwxrwxrwx   2 root root  4096 12�� 16 07:55 mnt
drwxr-xr-x   2 root root  4096  1�� 25 16:58 mnt1
drwxr-xr-x   2 root root  4096  1�� 27 10:11 mnt2
drwxr-xr-x   2 root root  4096  1�� 31 10:48 mnt3
drwxr-xr-x   2 root root  4096  1�� 21 18:48 opt
drwxr-xr-x   2 root root  4096 12�� 16 07:55 proc
drwxr-xr-x   4 root root  4096  1�� 21 16:48 root
drwxr-xr-x   2 root root  4096  2��  2 16:03 sbin
drwxr-xr-x   2 root root  4096  1�� 21 18:48 srv
drwxr-xr-x   2 root root  4096 12�� 27 11:40 sys
drwxrwxrwt   5 root root  4096  4��  6 09:26 tmp
drwxr-xr-x  13 root root  4096  2��  2 10:10 usr
drwxr-xr-x  14 root root  4096  1�� 21 10:49 var
lrwxrwxrwx   1 root root    23  4��  6 11:07 vmlinuz -> boot/vmlinuz-2.4.27-686
lrwxrwxrwx   1 root root    25  4��  6 11:07 vmlinuz.old -> boot/vmlinuz-2.4.27-
2-386
[root@onlpc03 usbdisk1]#

[root@onlpc03 130.87.153.3]# pwd
/tftpboot/130.87.153.3
[root@onlpc03 130.87.153.3]#
[root@onlpc03 130.87.153.3]# du -k
				:
8       ./initrd
8       ./mnt1
8       ./mnt2
8       ./mnt3
1779764 .
[root@onlpc03 130.87.153.3]#

[root@onlpc03 inoue]# pwd
/tftpboot/130.87.153.3/home/inoue
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# ls -l
��� 9484
drwxrwxr-x  5 1000 1000    4096  3��  2 10:05 DebianHD-install
drwxr-xr-x  3 root root    4096  3�� 10 15:44 USBboot
drwxr-xr-x  2 1000 1000    4096  2��  4 16:24 boot
drwxr-xr-x  3 root root    4096  4��  4 14:36 diskless
-rw-r--r--  1 root root 9596928  3��  2 16:30 initrd
drwxr-xr-x  2 root root    4096  2��  4 16:22 mkinitrd-cd
drwxr-xr-x  6 root root    4096  3��  2 15:19 old-tmp
drwxr-xr-x  4 root root    4096  3��  2 15:20 old-usb
-rw-r--r--  1 1000 1000   15987  3�� 24 09:49 out
drwxr-xr-x  2 root root    4096  2�� 21 16:57 test
drwxr-xr-x  3 root root    4096  3��  3 15:05 usb
[root@onlpc03 inoue]#
[root@onlpc03 inoue]# rm -rf *
[root@onlpc03 inoue]#

[root@onlpc03 src]# pwd
/tftpboot/130.87.153.3/usr/src
[root@onlpc03 src]# ls -l
��� 41336
-rw-r--r--   1 root dip  11246232  4��  1 18:44 kernel-image-2.4.27-686_diskless
.01_i386.deb
drwxr-xr-x  16 root root     4096  4��  1 18:44 kernel-source-2.4.27
-rw-r--r--   1 root root 30998917  1�� 19 19:26 kernel-source-2.4.27.tar.bz2
drwxr-sr-x   5 root dip      4096  3�� 31 16:48 old
[root@onlpc03 src]# rm -rf kernel-source-2.4.27.tar.bz2 old
[root@onlpc03 src]#

[root@onlpc03 130.87.153.3]# pwd
/tftpboot/130.87.153.3
[root@onlpc03 130.87.153.3]# du -k
				:
8       ./initrd
8       ./mnt1
8       ./mnt2
8       ./mnt3
1150520 .
[root@onlpc03 130.87.153.3]#

[root@onlpc03 tftpboot]# pwd
/tftpboot
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# ls -l
��� 24
drwxr-xr-x  24 root root 4096  4��  4 09:37 130.87.153.3
drwxrwxrwx  24 root root 4096  3�� 29 16:02 130.87.153.3-Sarge-old
drwxrwxrwx  18 root root 4096  3�� 28 14:51 FedoraCore1-130.87.153.3
drwx------   2 root root 4096  3�� 24 15:17 lost+found
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# chmod go+w 130.87.153.3
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# ls -l
��� 24
drwxrwxrwx  24 root root 4096  4��  4 09:37 130.87.153.3
drwxrwxrwx  24 root root 4096  3�� 29 16:02 130.87.153.3-Sarge-old
drwxrwxrwx  18 root root 4096  3�� 28 14:51 FedoraCore1-130.87.153.3
drwx------   2 root root 4096  3�� 24 15:17 lost+found
[root@onlpc03 tftpboot]#

	ok.  ����˥��ԡ��ϴ�λ������
	/tftpboot/home �ǥ��쥯�ȥ�β������פʥե��������������
	����Ǥ⥷���ƥ�Υ������� 1.15GB�ˤʤäƤ��롣�������ͥ�ƹ��ۤ��ä�
	���Υե����뤬�Ĥä��ޤޤʤΤ��礭���ʤäƤ���褦�������ǥ������쥹����
	������Ȥ�Ω���夬�ä��ʳ��Ǻ�����Ƥ�褤��������


   (3-4).  /tftpboot/130.87.153.3/etc �ʲ��Υե�������Խ�

	/tftpboot/130.87.153.3�ǥ��쥯�ȥ겼�˥��ԡ������ե������ǥ������쥹
	���饤������Ѥ˽������롣


     (3-4-1).  /tftpboot/130.87.153.3/etc/modules�ե�������Խ�

	modules �ե�����ε��Ҥ����ƥ����ȥ����Ȥ��롣

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# ls -l modules*
-rw-r--r--  1 root root  262  1�� 21 19:01 modules
-rw-r--r--  1 root root 3661  1�� 21 10:50 modules.conf
-rw-r--r--  1 root root 2888  1�� 21 10:50 modules.conf.old
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a "#", and everything on the line after them are ignored.

#ide-cd
#ide-detect
~
~
"modules" 8L, 264C �����
[root@onlpc03 etc]#


     (3-4-2).  /tftpboot/130.87.153.3/etc/hostname�ե�������Խ�

	hostname �ե�����˥��饤����ȥޥ���Υۥ���̾����ꤹ�롣

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi hostname
onlsbc1
~
~
[root@onlpc03 etc]#


     (3-4-3).  /tftpboot/130.87.153.3/etc/fstab�ե�������Խ�

	�롼�ȥե������ nfs�ե��������Ѥ���褦�����ꤹ�롣

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# ls -l fstab*
-rw-r--r--  1 root root 262  1�� 21 18:44 fstab
[root@onlpc03 etc]# mv fstab fstab-org
[root@onlpc03 etc]# cp fstab-org fstab
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi fstab
# /etc/fstab: static file system information.
#
#                
proc            /proc           proc    defaults        0       0
#/dev/hda2       /               ext3    defaults,errors=remount-ro 0       1
130.87.153.112:/tftpboot/130.87.153.3       /               nfs    rw,rsize=8192
,wsize=8192,intr 0       1
~
~
"fstab" 6L, 370C �����
[root@onlpc03 etc]#


     (3-4-4).  /tftpboot/130.87.153.3/etc/init.d�ե�������Խ�

	���ϲ��⤷�ʤ��Ǥ�����


     (3-4-5).  /tftpboot/130.87.153.3/etc/network/interfaces�ե�������Խ�

	eth0 ������ս��̵���ˤ��롣

[root@onlpc03 network]# pwd
/tftpboot/130.87.153.3/etc/network
[root@onlpc03 network]# ls -l
��� 60
drwxr-xr-x  2 root root 4096  8�� 17  2004 if-down.d
drwxr-xr-x  2 root root 4096  8�� 17  2004 if-post-down.d
drwxr-xr-x  2 root root 4096  8�� 17  2004 if-pre-up.d
drwxr-xr-x  2 root root 4096  8�� 17  2004 if-up.d
lrwxrwxrwx  1 root root   11  4��  6 10:35 ifstate -> run/ifstate
-rw-r--r--  1 root root  407  3�� 17 10:55 interfaces
-rw-r--r--  1 root root   45  1�� 21 18:51 options
drwxr-xr-x  2 root root 4096  4��  6 10:10 run
[root@onlpc03 network]#
[root@onlpc03 network]# vi interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet dhcp
#iface eth0 inet static
        address 130.87.153.3
        network 130.87.152.0
        netmask 255.255.252.0
        broadcast 130.87.155.255
        gateway 130.87.152.1
~
~
"interfaces" 16L, 409C �����
[root@onlpc03 network]#


     (3-4-6).  /tftpboot/130.87.153.3/etc/modules.conf�ե�������Խ�

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi modules.conf
			:
# Uncomment the network protocols you don't want loaded:
alias net-pf-1 off              # Unix
# alias net-pf-2 off            # IPv4
			:
"modules.conf" 109L, 3659C �����
[root@onlpc03 etc]#


     (3-4-7).  /tftpboot/130.87.153.3/etc/modutils/aliases�ե�������Խ�

[root@onlpc03 modutils]# pwd
/tftpboot/130.87.153.3/etc/modutils
[root@onlpc03 modutils]#
[root@onlpc03 modutils]# ls -l
��� 48
-rw-r--r--  1 root root  432 12�� 19 19:40 0keep
-rw-r--r--  1 root root  198 12�� 19 19:40 actions
-rw-r--r--  1 root root 1174 12�� 19 19:40 aliases
drwxr-xr-x  2 root root 4096  1�� 21 18:50 arch
-rw-r--r--  1 root root  139 12�� 19 19:40 paths
-rw-r--r--  1 root root  651  4�� 14  2004 setserial
[root@onlpc03 modutils]#
[root@onlpc03 modutils]# mv aliases aliases-org
[root@onlpc03 modutils]# cp aliases-org aliases
[root@onlpc03 modutils]#
[root@onlpc03 modutils]# vi aliases
				:
# Uncomment the network protocols you don't want loaded:
alias net-pf-1 off              # Unix
# alias net-pf-2 off            # IPv4
				:
"aliases" 41L, 1172C �����
[root@onlpc03 modutils]#


     (3-4-8).  /tftpboot/130.87.153.3/lib/modules/2.4.27-686/modules.dep�ե�������Խ�

	/tftpboot/130.87.153.3/lib/modules/2.4.27-686/modules.dep �ե������
	touch ���롣

[root@onlpc03 2.4.27-686]# pwd
/tftpboot/130.87.153.3/lib/modules/2.4.27-686
[root@onlpc03 2.4.27-686]#
[root@onlpc03 2.4.27-686]# ls -l
��� 464
lrwxrwxrwx  1 root root     29  4��  6 11:07 build -> /usr/src/kernel-source-2.4
.27
drwxr-xr-x  8 root root   4096  4��  4 09:36 kernel
-rw-r--r--  1 root root 130860  4��  4 09:36 modules.dep
-rw-r--r--  1 root root     31  4��  4 09:36 modules.generic_string
-rw-r--r--  1 root root    443  4��  4 09:36 modules.ieee1394map
-rw-r--r--  1 root root   8257  4��  4 09:36 modules.isapnpmap
-rw-r--r--  1 root root     29  4��  4 09:36 modules.parportmap
-rw-r--r--  1 root root  75755  4��  4 09:36 modules.pcimap
-rw-r--r--  1 root root     24  4��  4 09:36 modules.pnpbiosmap
-rw-r--r--  1 root root 169201  4��  4 09:36 modules.usbmap
drwxr-xr-x  2 root root   4096  4��  4 09:36 pcmcia
[root@onlpc03 2.4.27-686]#
[root@onlpc03 2.4.27-686]# touch modules.dep
[root@onlpc03 2.4.27-686]# ls -l modules.dep
-rw-r--r--  1 root root 130860  4��  6 14:30 modules.dep
[root@onlpc03 2.4.27-686]#


     (3-4-9).  ��Ϣ�ե����������å�

	����¾���ط�����ե����������å����롣


       (3-4-9A).  /tftpboot/130.87.153.3/etc/hosts

	hosts�ե�����˥����Хޥ���ȥ��饤����ȥޥ���ξ���򵭽Ҥ��롣

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi hosts
#127.0.0.1      localhost.localdomain   localhost       onlsbc1
127.0.0.1       localhost.localdomain   localhost
130.87.153.3            onlsbc1
130.87.153.112          onlpc03

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
~
~
"hosts" 12L, 362C �����
[root@onlpc03 etc]#

	������¦�� /etc/hosts �ˤ⥯�饤����Ȥξ�����ɲä��롣

[root@onlpc03 etc]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
130.87.153.112          onlpc03.kek.jp onlpc03
130.87.153.3            onlsbc1.kek.jp onlsbc1
130.87.153.10           onlsun1.kek.jp onlsun1
~
~
[root@onlpc03 etc]#


       (3-4-9B).  /tftpboot/130.87.153.3/etc/hosts.allow

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5), hosts_options(5)
#                   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
# /usr/share/doc/portmap/portmapper.txt.gz for further information.
#
ALL:LOCAL,.kek.jp
~
~
"hosts.allow" 14L, 695C �����
[root@onlpc03 etc]#


       (3-4-9C).  /tftpboot/130.87.153.3/etc/hosts.deny

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi hosts.deny
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
#                  See the manual pages hosts_access(5), hosts_options(5)
#                  and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: some.host.name, .some.domain
#             ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/portmap/portmapper.txt.gz for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.

# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID
ALL:ALL
~
~
"hosts.deny" 20L, 909C �����
[root@onlpc03 etc]#


       (3-4-9D).  /tftpboot/130.87.153.3/etc/resolv.conf

[root@onlpc03 etc]# pwd
/tftpboot/130.87.153.3/etc
[root@onlpc03 etc]#
[root@onlpc03 etc]# vi resolv.conf
search kek.jp
nameserver 130.87.152.2
nameserver 130.87.34.2
nameserver 130.87.34.3
~
~
"resolv.conf" 4L, 84C �����
[root@onlpc03 etc]#

[root@onlpc03 etc]# df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
/dev/sdd1              9621848   7366860   1766212  81% /
none                    193100         0    193100   0% /dev/shm
/dev/sdc1              9621848   3595976   5537096  40% /tftpboot
/dev/sdb6              7068088   6084512    624528  91% /mnt
/dev/sdf1              3020140   1632612   1234112  57% /media/usbdisk
/dev/sdf2              9621880   1432276   7700828  16% /media/usbdisk1
[root@onlpc03 etc]#

	�����ǥ�����¦�ޥ��� onlpc03 ���֡��Ȥ��롣

[root@onlpc03 etc]# reboot

Broadcast message from root (pts/3) (Wed Apr  6 14:47:42 2005):

The system is going down for reboot NOW!
			:
			:

	�����ǡ�USB�ݡ��Ȥ���³���Ƥ��� /dev/sde�ǥ������򳰤��� onlsbc1 �� 2.5"
	IDE�ϡ��ɥǥ������Ȥ��ƻ��Ѥ�Ƴ����롣

	      ��Ϣ�����Ʒǡ�
              "onlsbc1 �� 2.5"IDE�ϡ��ɥǥ������򳰤�������� USB�����ץ���
	       �Ĥʤ��ǡ�onlpc03 �Υޥ����ľ�ܤĤʤ��ǰʹߤκ�Ȥ�Ԥ���"

[root@onlpc03 etc]# df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
/dev/sdd1              9621848   7366860   1766212  81% /
none                    193100         0    193100   0% /dev/shm
/dev/sdc1              9621848   3595976   5537096  40% /tftpboot
/dev/sdb6              7068088   6084512    624528  91% /mnt
/dev/sdf1              3020140   1632612   1234112  57% /media/usbdisk
/dev/sdf2              9621880   1432276   7700828  16% /media/usbdisk1
[root@onlpc03 etc]#

			:
			:
	�����Хޥ��� onlpc03 ��Ω���夬�ä��塢�������󤹤롣

onlsun4[35]% ssh onlpc03
inoue@onlpc03's password:
Last login: Wed Apr  6 14:52:31 2005
[inoue@onlpc03 ~]$ cat /etc/issue
Fedora Core release 3 (Heidelberg)
Kernel \r on an \m

[inoue@onlpc03 ~]$


   (3-5).  �ƹ������� initrd ������

	��κ�ȤǺƹ������� initrd ��/tftpboot/130.87.153.3/boot�ǥ��쥯�ȥ��
	�������֤��롣

[root@onlpc03 tftpboot]# pwd
/tftpboot
[root@onlpc03 tftpboot]# ls -l
��� 24
drwxrwxrwx  24 root root 4096  4��  4 09:37 130.87.153.3
drwxrwxrwx  24 root root 4096  3�� 29 16:02 130.87.153.3-Sarge-old
drwxrwxrwx  18 root root 4096  3�� 28 14:51 FedoraCore1-130.87.153.3
drwx------   2 root root 4096  3�� 24 15:17 lost+found
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# ls -l 130.87.153.3/boot/initrd*
-rw-r--r--  1 root root 3878912  1�� 21 18:53 130.87.153.3/boot/initrd.img-2.4.2
7-2-386
-rw-r--r--  1 root root 3829760  4��  4 09:37 130.87.153.3/boot/initrd.img-2.4.2
7-686
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# ls -l 130.87.153.3-Sarge-old/boot/initrd*
-rw-r--r--  1 root root 3878912  3�� 24 10:05 130.87.153.3-Sarge-old/boot/initrd
.img-2.4.27-2-386
-rw-r--r--  1 root root 3878912  1�� 21 18:53 130.87.153.3-Sarge-old/boot/initrd
.img-2.4.27-2-386-org
-rw-r--r--  1 root root 3878912  3�� 24 10:58 130.87.153.3-Sarge-old/boot/initrd
.img-2.4.27-2-386NET
-rw-r--r--  1 root root 3829760  4��  4 09:47 130.87.153.3-Sarge-old/boot/initrd
.img-2.4.27-686
-rw-r--r--  1 root root 3829760  4��  4 14:36 130.87.153.3-Sarge-old/boot/initrd
.img-2.4.27-686DL
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# cp 130.87.153.3-Sarge-old/boot/initrd.img-2.4.27-686DL
130.87.153.3/boot
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# ls -l 130.87.153.3/boot
��� 14332
-rw-r--r--  1 root root  541916 12�� 30 18:57 System.map-2.4.27-2-386
-rw-r--r--  1 root root  602453  4��  1 18:42 System.map-2.4.27-686
-rw-r--r--  1 root root   44853 12�� 30 18:12 config-2.4.27-2-386
-rw-r--r--  1 root root   44884  4��  1 15:37 config-2.4.27-686
drwxr-xr-x  2 root root    4096  4��  4 09:37 grub
-rw-r--r--  1 root root 3878912  1�� 21 18:53 initrd.img-2.4.27-2-386
-rw-r--r--  1 root root 3829760  4��  4 09:37 initrd.img-2.4.27-686
-rw-r--r--  1 root root 3829760  4��  6 15:53 initrd.img-2.4.27-686DL
-rw-r--r--  1 root root  816324 12�� 30 18:56 vmlinuz-2.4.27-2-386
-rw-r--r--  1 root root 1002859  4��  1 18:42 vmlinuz-2.4.27-686
[root@onlpc03 tftpboot]#


 (4). �֡��ȥ�����������

        �֡��ȤΥƥ��ȤΤ���� FD��˥֡��ȥ��������֤��ƥ��饤�����¦��ư��
        �롣��FD�ǤΥͥåȥ���֡��Ȥ�����˼¹ԤǤ��뤳�Ȥ��ǧ�����顢���ˤ�
	����ѥ��ȥե�å����˥֡��ȥ��������֤��ƥͥåȥ���֡��Ȥ�Ԥ���
	�֡��ȥ������ˤ�GRUB����Ѥ��롣��


   (4-1).  FD���GRUB������

        �ͥåȥ���֡��Ȥ��б����� GRUB �� FD��˥��󥹥ȡ��뤹�뤿��ˡ�
	CC/NET ��ɸ��Ǽ������Ƥ��륳��ѥ��ȥե�å�����Debian GNU/Linux 3.1 
	�Υ����ƥ��Ω���夲�롣 ���Υ����ƥ��Ȥä�FD���GRUB �򥤥󥹥ȡ���
	���롣

onlsun4[33]% ssh toyo@onlsbc1
Password:
Linux onlsbc1 2.4.25-1-386 #2 Wed Apr 14 19:38:08 EST 2004 i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Tue Mar 22 10:23:39 2005 from onlsun4.kek.jp
toyo@onlsbc1:~$ su
Password:
onlsbc1:/home/toyo# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc1               985160    667580    267536  72% /
tmpfs                   152828         0    152828   0% /dev/shm
onlsbc1:/home/toyo#

onlsbc1:/home/toyo# mount onlpara:/home2/onlpara-wrk /mnt
onlsbc1:/home/toyo# 
onlsbc1:/home/toyo# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc1               985160    667580    267536  72% /
tmpfs                   152828         0    152828   0% /dev/shm
onlpara:/home2/onlpara-wrk
                      22659872   8778720  12730080  41% /mnt
onlsbc1:/home/toyo#
onlsbc1:/home/toyo# ls /mnt/root
Debian                                diskless
SLC3                                  hdlist
USBboot                               hdlist2
boot-DeianSarge.tar.gz                iso
boot-DeianSargeNamecard.tar.gz        j2sdk-1_4_1_02-linux-i586.bin
boot-FedoraCore3.tar.gz               j2sdk-1_4_2_01-linux-i586.bin
boot-SLC3.tar.gz                      j2sdk-1_4_2_03-linux-i586.bin
build                                 j2sdk-1_4_2_04-linux-i586.bin
compact-debian-Dec102003g.tar.gz      j2sdk1.4.1_02
compact-debian-Feb182005.tar.gz       j2sdk1.4.2
compact-debian-Feb92005.tar.gz        j2sdk1.4.2_01-inoue.tar.gz
compact-debian-Nov122003g.tar.gz      j2sdk1.4_1.4.2.01-0.13_i386.changes
compact-debian-Nov182003g.tar.gz      j2sdk1.4_1.4.2.01-0.13_i386.deb
compact-debian-Nov192003g.tar.gz      jdk-1_5_0-rc-linux-i586.bin
compact-debian-Nov212003g.tar.gz      kernel-source-2.4.18-inoue.tar
compact-debian-Nov52003g.tar.gz       knoppix
compact-debian-Sep212004.tar.gz       libc6-dev_2.3.2-9_i386.deb
compact-debian-oct162003.tar.gz       libc6_2.3.2-9_i386.deb
compact-debian-oct172003.tar.gz       linux-2.4.18-14
compact-debian-oct202003A.tar.gz      onlsbc1
compact-debian-oct212003.tar.gz       onlsbc2
compact-debian-oct212003g.tar.gz      sarge-i386-businesscard.iso
compact-debian-oct222003g.tar.gz      sarge-i386-netinst.iso
compact-debian-oct232003g.tar.gz      src
compact-debian-oct232003g.tar.gz-old  t5
compact-debian-oct302003g.tar.gz      t6
compact-redhat8-May112004.tar.gz      t7
compact.tar.gz                        tmp
onlsbc1:/home/toyo#

	KEK����饤�󡦥��롼�פΥ����Ȥ��顢�ͥåȥ�����֡����б��� GRUB
	 GRUB-CCNET.tar.gz(3.7MB)�����ꤹ�롣

onlsbc1:/mnt/root# pwd
/mnt/root
onlsbc1:/mnt/root# mkdir GRUB
onlsbc1:/mnt/root# cd GRUB
onlsbc1:/mnt/root/GRUB#
onlsbc1:/mnt/root/GRUB# tar xzf ../GRUB-CCNET.tar.gz
onlsbc1:/mnt/root/GRUB#
onlsbc1:/mnt/root/GRUB# ls -l
total 8
drwxr-xr-x  3 toyo toyo 4096 Jan 14  2004 GRUB
onlsbc1:/mnt/root/GRUB# cd GRUB
onlsbc1:/mnt/root/GRUB/GRUB# ls -l
total 888
drwxr-xr-x  9 toyo toyo   4096 Jan 14  2004 grub-0.93
-rw-r--r--  1 toyo toyo 891032 Dec  8  2002 grub-0.93.tar.gz
onlsbc1:/mnt/root/GRUB/GRUB# cd grub-0.93
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# 
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# ls -l
total 1064
-rw-r--r--  1 toyo toyo   1862 Nov 30  2002 AUTHORS
-rw-r--r--  1 toyo toyo    182 May 29  2002 BUGS
-rw-r--r--  1 toyo toyo  17989 Mar  2  1999 COPYING
-rw-r--r--  1 toyo toyo 301915 Dec  4  2002 ChangeLog
-rw-r--r--  1 toyo toyo   9662 Apr  4  2002 INSTALL
-rw-r--r--  1 toyo toyo   2667 Jun 24  2002 MAINTENANCE
-rw-r--r--  1 toyo toyo  13611 Jan 14  2004 Makefile
-rw-r--r--  1 toyo toyo    169 Jul  1  2002 Makefile.am
-rw-r--r--  1 toyo toyo  13345 Nov 30  2002 Makefile.in
-rw-r--r--  1 toyo toyo  25172 Dec  8  2002 NEWS
-rw-r--r--  1 toyo toyo   1057 May 31  2002 README
-rw-r--r--  1 toyo toyo   3900 Dec  1  2002 THANKS
-rw-r--r--  1 toyo toyo   3633 Dec  5  2002 TODO
-rw-r--r--  1 toyo toyo    959 Feb 28  2001 acconfig.h
-rw-r--r--  1 toyo toyo  10233 Jul 13  2001 acinclude.m4
-rw-r--r--  1 toyo toyo  29848 Nov 30  2002 aclocal.m4
-rwxr-xr-x  1 toyo toyo   2774 Oct 28  2001 compile
-rw-r--r--  1 toyo toyo  38470 Mar 20  2002 config.guess
-rw-r--r--  1 toyo toyo   3090 Jan 14  2004 config.h
-rw-r--r--  1 toyo toyo   2891 Apr 16  2002 config.h.in
-rw-r--r--  1 toyo toyo  26890 Jan 14  2004 config.log
-rwxr-xr-x  1 toyo toyo  34622 Jan 14  2004 config.status
-rw-r--r--  1 toyo toyo  29052 Apr 27  2002 config.sub
-rwxr-xr-x  1 toyo toyo 191181 Nov 30  2002 configure
-rw-r--r--  1 toyo toyo  18963 Nov 30  2002 configure.in
-rwxr-xr-x  1 toyo toyo  11528 Jul  4  2001 depcomp
drwxr-xr-x  3 toyo toyo   4096 Jan 14  2004 docs
drwxr-xr-x  3 toyo toyo   4096 Jan 14  2004 grub
-rwxr-xr-x  1 toyo toyo   5598 Jul  4  2001 install-sh
drwxr-xr-x  3 toyo toyo   4096 Jan 14  2004 lib
-rwxr-xr-x  1 toyo toyo   8863 Jul  4  2001 missing
-rwxr-xr-x  1 toyo toyo    723 Jul  4  2001 mkinstalldirs
drwxr-xr-x  3 toyo toyo   4096 Jan 14  2004 netboot
drwxr-xr-x  2 toyo toyo   4096 Jan 14  2004 stage1
drwxr-xr-x  3 toyo toyo   8192 Jan 14  2004 stage2
-rw-r--r--  1 toyo toyo     10 Jan 14  2004 stamp-h
-rw-r--r--  1 toyo toyo     10 Nov 30  2002 stamp-h.in
-rw-r--r--  1 toyo toyo     10 Jan 14  2004 stamp-h1
drwxr-xr-x  3 toyo toyo   4096 Jan 14  2004 util
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#


     (4-1-1).  FD���GRUB�򥤥󥹥ȡ���

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# pwd
/mnt/root/GRUB/GRUB/grub-0.93
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# ls -l stage1
total 88
-rw-r--r--  1 toyo toyo 9117 Jan 14  2004 Makefile
-rw-r--r--  1 toyo toyo  377 Sep  8  2002 Makefile.am
-rw-r--r--  1 toyo toyo 8674 Nov 30  2002 Makefile.in
-rwxr-xr-x  1 toyo toyo  512 Jan 14  2004 stage1
-rw-r--r--  1 toyo toyo 9449 Sep  8  2002 stage1.S
-rwxr-xr-x  1 toyo toyo 2287 Jan 14  2004 stage1.exec
-rw-r--r--  1 toyo toyo 2413 Sep  8  2002 stage1.h
-rw-r--r--  1 toyo toyo 2156 Jan 14  2004 stage1.o
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# ls -l stage2
total 7144
-rw-r--r--  1 toyo toyo 149593 Jan 14  2004 Makefile
-rw-r--r--  1 toyo toyo   8103 Nov 30  2002 Makefile.am
-rw-r--r--  1 toyo toyo 175331 Nov 30  2002 Makefile.in
-rw-r--r--  1 toyo toyo   1931 Jun 24  1999 apic.h
-rw-r--r--  1 toyo toyo   2987 Oct 27  2001 apm.S
-rw-r--r--  1 toyo toyo  42502 Dec  3  2002 asm.S
-rw-r--r--  1 toyo toyo   7246 Dec 30  2001 bios.c
-rw-r--r--  1 toyo toyo  26038 Dec  1  2002 boot.c
-rw-r--r--  1 toyo toyo 113589 Dec  4  2002 builtins.c
-rw-r--r--  1 toyo toyo  26992 Dec  3  2002 char_io.c
-rw-r--r--  1 toyo toyo   6476 Dec  3  2002 cmdline.c
-rw-r--r--  1 toyo toyo   9642 Jun  4  2002 common.c
-rw-r--r--  1 toyo toyo   2007 Sep  4  2002 console.c
-rw-r--r--  1 toyo toyo   2875 Sep 30  1999 defs.h
-rw-r--r--  1 toyo toyo   5213 Jun 24  1999 dir.h
-rw-r--r--  1 toyo toyo   3818 Sep 30  1999 disk_inode.h
-rw-r--r--  1 toyo toyo   3427 Jul 29  2000 disk_inode_ffs.h
-rw-r--r--  1 toyo toyo  38385 Dec  5  2002 disk_io.c
-rwxr-xr-x  1 toyo toyo 121600 Jan 14  2004 diskless
-rwxr-xr-x  1 toyo toyo 403600 Jan 14  2004 diskless.exec
-rw-r--r--  1 toyo toyo   7872 Jan 14  2004 diskless_exec-asm.o
-rw-r--r--  1 toyo toyo  10992 Jan 14  2004 diskless_exec-bios.o
-rw-r--r--  1 toyo toyo  27400 Jan 14  2004 diskless_exec-boot.o
-rw-r--r--  1 toyo toyo 105640 Jan 14  2004 diskless_exec-builtins.o
-rw-r--r--  1 toyo toyo  30972 Jan 14  2004 diskless_exec-char_io.o
-rw-r--r--  1 toyo toyo  15776 Jan 14  2004 diskless_exec-cmdline.o
-rw-r--r--  1 toyo toyo  17036 Jan 14  2004 diskless_exec-common.o
-rw-r--r--  1 toyo toyo   9808 Jan 14  2004 diskless_exec-console.o
-rw-r--r--  1 toyo toyo  40284 Jan 14  2004 diskless_exec-disk_io.o
-rw-r--r--  1 toyo toyo  17892 Jan 14  2004 diskless_exec-fsys_ext2fs.o
-rw-r--r--  1 toyo toyo  15976 Jan 14  2004 diskless_exec-fsys_fat.o
-rw-r--r--  1 toyo toyo  17428 Jan 14  2004 diskless_exec-fsys_ffs.o
-rw-r--r--  1 toyo toyo  22652 Jan 14  2004 diskless_exec-fsys_jfs.o
-rw-r--r--  1 toyo toyo  15008 Jan 14  2004 diskless_exec-fsys_minix.o
-rw-r--r--  1 toyo toyo  23808 Jan 14  2004 diskless_exec-fsys_reiserfs.o
-rw-r--r--  1 toyo toyo  13604 Jan 14  2004 diskless_exec-fsys_vstafs.o
-rw-r--r--  1 toyo toyo  31964 Jan 14  2004 diskless_exec-fsys_xfs.o
-rw-r--r--  1 toyo toyo  25588 Jan 14  2004 diskless_exec-gunzip.o
-rw-r--r--  1 toyo toyo  12812 Jan 14  2004 diskless_exec-hercules.o
-rw-r--r--  1 toyo toyo  14580 Jan 14  2004 diskless_exec-md5.o
-rw-r--r--  1 toyo toyo  16616 Jan 14  2004 diskless_exec-serial.o
-rw-r--r--  1 toyo toyo  19160 Jan 14  2004 diskless_exec-smp-imps.o
-rw-r--r--  1 toyo toyo  25880 Jan 14  2004 diskless_exec-stage2.o
-rw-r--r--  1 toyo toyo  14600 Jan 14  2004 diskless_exec-terminfo.o
-rw-r--r--  1 toyo toyo  30844 Jan 14  2004 diskless_exec-tparm.o
-rw-r--r--  1 toyo toyo     29 Jan 14  2004 diskless_size.h
-rwxr-xr-x  1 toyo toyo   8100 Jan 14  2004 e2fs_stage1_5
-rwxr-xr-x  1 toyo toyo  42693 Jan 14  2004 e2fs_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 e2fs_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 e2fs_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  12740 Jan 14  2004 e2fs_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 e2fs_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  21956 Jan 14  2004 e2fs_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  17180 Jan 14  2004 e2fs_stage1_5_exec-fsys_ext2fs.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 e2fs_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 e2fs_stage1_5_exec-start.o
-rw-r--r--  1 toyo toyo   3391 Nov 12  2001 fat.h
-rwxr-xr-x  1 toyo toyo   7604 Jan 14  2004 fat_stage1_5
-rwxr-xr-x  1 toyo toyo  40748 Jan 14  2004 fat_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 fat_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 fat_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  12740 Jan 14  2004 fat_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 fat_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  21944 Jan 14  2004 fat_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  15072 Jan 14  2004 fat_stage1_5_exec-fsys_fat.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 fat_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 fat_stage1_5_exec-start.o
-rwxr-xr-x  1 toyo toyo   7076 Jan 14  2004 ffs_stage1_5
-rwxr-xr-x  1 toyo toyo  42289 Jan 14  2004 ffs_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 ffs_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 ffs_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  12740 Jan 14  2004 ffs_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 ffs_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  21980 Jan 14  2004 ffs_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  16640 Jan 14  2004 ffs_stage1_5_exec-fsys_ffs.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 ffs_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 ffs_stage1_5_exec-start.o
-rw-r--r--  1 toyo toyo   3764 Nov 12  2001 filesys.h
-rw-r--r--  1 toyo toyo   3826 Dec  1  2002 freebsd.h
-rw-r--r--  1 toyo toyo  18786 Sep 30  1999 fs.h
-rw-r--r--  1 toyo toyo  21804 May 14  2002 fsys_ext2fs.c
-rw-r--r--  1 toyo toyo  11443 Dec 19  2001 fsys_fat.c
-rw-r--r--  1 toyo toyo   7557 Nov 12  2001 fsys_ffs.c
-rw-r--r--  1 toyo toyo   9374 Feb  8  2002 fsys_jfs.c
-rw-r--r--  1 toyo toyo  13791 Jan 19  2002 fsys_minix.c
-rw-r--r--  1 toyo toyo  37107 Nov 30  2002 fsys_reiserfs.c
-rw-r--r--  1 toyo toyo   5396 Jun 22  2001 fsys_vstafs.c
-rw-r--r--  1 toyo toyo  14054 Jun 15  2002 fsys_xfs.c
-rw-r--r--  1 toyo toyo  34912 Nov 12  2001 gunzip.c
-rw-r--r--  1 toyo toyo   4117 Dec  3  2002 hercules.c
-rw-r--r--  1 toyo toyo   1139 Jun 11  2002 hercules.h
-rw-r--r--  1 toyo toyo   6414 Jul  9  2002 i386-elf.h
-rw-r--r--  1 toyo toyo   5986 Jun 24  1999 imgact_aout.h
-rw-r--r--  1 toyo toyo  17194 Oct 28  2001 jfs.h
-rwxr-xr-x  1 toyo toyo   8864 Jan 14  2004 jfs_stage1_5
-rwxr-xr-x  1 toyo toyo  47158 Jan 14  2004 jfs_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 jfs_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 jfs_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  12740 Jan 14  2004 jfs_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 jfs_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  21980 Jan 14  2004 jfs_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  21968 Jan 14  2004 jfs_stage1_5_exec-fsys_jfs.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 jfs_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 jfs_stage1_5_exec-start.o
-rw-r--r--  1 toyo toyo 540710 Jan 14  2004 libgrub.a
-rw-r--r--  1 toyo toyo  28652 Jan 14  2004 libgrub_a-boot.o
-rw-r--r--  1 toyo toyo 113284 Jan 14  2004 libgrub_a-builtins.o
-rw-r--r--  1 toyo toyo  32436 Jan 14  2004 libgrub_a-char_io.o
-rw-r--r--  1 toyo toyo  13368 Jan 14  2004 libgrub_a-cmdline.o
-rw-r--r--  1 toyo toyo  14816 Jan 14  2004 libgrub_a-common.o
-rw-r--r--  1 toyo toyo  38544 Jan 14  2004 libgrub_a-disk_io.o
-rw-r--r--  1 toyo toyo  19068 Jan 14  2004 libgrub_a-fsys_ext2fs.o
-rw-r--r--  1 toyo toyo  16900 Jan 14  2004 libgrub_a-fsys_fat.o
-rw-r--r--  1 toyo toyo  18344 Jan 14  2004 libgrub_a-fsys_ffs.o
-rw-r--r--  1 toyo toyo  23856 Jan 14  2004 libgrub_a-fsys_jfs.o
-rw-r--r--  1 toyo toyo  15892 Jan 14  2004 libgrub_a-fsys_minix.o
-rw-r--r--  1 toyo toyo  25024 Jan 14  2004 libgrub_a-fsys_reiserfs.o
-rw-r--r--  1 toyo toyo  14428 Jan 14  2004 libgrub_a-fsys_vstafs.o
-rw-r--r--  1 toyo toyo  33328 Jan 14  2004 libgrub_a-fsys_xfs.o
-rw-r--r--  1 toyo toyo  26640 Jan 14  2004 libgrub_a-gunzip.o
-rw-r--r--  1 toyo toyo  15076 Jan 14  2004 libgrub_a-md5.o
-rw-r--r--  1 toyo toyo  14180 Jan 14  2004 libgrub_a-serial.o
-rw-r--r--  1 toyo toyo  25684 Jan 14  2004 libgrub_a-stage2.o
-rw-r--r--  1 toyo toyo  15204 Jan 14  2004 libgrub_a-terminfo.o
-rw-r--r--  1 toyo toyo  31652 Jan 14  2004 libgrub_a-tparm.o
-rw-r--r--  1 toyo toyo   2743 Nov 12  2001 mb_header.h
-rw-r--r--  1 toyo toyo   5069 Nov 12  2001 mb_info.h
-rw-r--r--  1 toyo toyo   9458 Jan  3  2002 md5.c
-rw-r--r--  1 toyo toyo   1363 Oct 21  2000 md5.h
-rwxr-xr-x  1 toyo toyo   7268 Jan 14  2004 minix_stage1_5
-rwxr-xr-x  1 toyo toyo  39821 Jan 14  2004 minix_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 minix_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 minix_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  12740 Jan 14  2004 minix_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 minix_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  21956 Jan 14  2004 minix_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  14260 Jan 14  2004 minix_stage1_5_exec-fsys_minix.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 minix_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 minix_stage1_5_exec-start.o
-rw-r--r--  1 toyo toyo 122112 Jan 14  2004 nbgrub
-rw-r--r--  1 toyo toyo   1182 Aug 15  2000 nbi.h
-rwxr-xr-x  1 toyo toyo    512 Jan 14  2004 nbloader
-rw-r--r--  1 toyo toyo   2661 Aug 15  2000 nbloader.S
-rwxr-xr-x  1 toyo toyo   1313 Jan 14  2004 nbloader.exec
-rw-r--r--  1 toyo toyo   1129 Jan 14  2004 nbloader_exec-nbloader.o
-rw-r--r--  1 toyo toyo   8140 Nov 12  2001 pc_slice.h
-rwxr-xr-x  1 toyo toyo 121632 Jan 14  2004 pre_stage2
-rwxr-xr-x  1 toyo toyo 403096 Jan 14  2004 pre_stage2.exec
-rw-r--r--  1 toyo toyo   7904 Jan 14  2004 pre_stage2_exec-asm.o
-rw-r--r--  1 toyo toyo  10992 Jan 14  2004 pre_stage2_exec-bios.o
-rw-r--r--  1 toyo toyo  27400 Jan 14  2004 pre_stage2_exec-boot.o
-rw-r--r--  1 toyo toyo 106356 Jan 14  2004 pre_stage2_exec-builtins.o
-rw-r--r--  1 toyo toyo  30972 Jan 14  2004 pre_stage2_exec-char_io.o
-rw-r--r--  1 toyo toyo  12872 Jan 14  2004 pre_stage2_exec-cmdline.o
-rw-r--r--  1 toyo toyo  14252 Jan 14  2004 pre_stage2_exec-common.o
-rw-r--r--  1 toyo toyo   9808 Jan 14  2004 pre_stage2_exec-console.o
-rw-r--r--  1 toyo toyo  40284 Jan 14  2004 pre_stage2_exec-disk_io.o
-rw-r--r--  1 toyo toyo  17892 Jan 14  2004 pre_stage2_exec-fsys_ext2fs.o
-rw-r--r--  1 toyo toyo  15976 Jan 14  2004 pre_stage2_exec-fsys_fat.o
-rw-r--r--  1 toyo toyo  17428 Jan 14  2004 pre_stage2_exec-fsys_ffs.o
-rw-r--r--  1 toyo toyo  22652 Jan 14  2004 pre_stage2_exec-fsys_jfs.o
-rw-r--r--  1 toyo toyo  15008 Jan 14  2004 pre_stage2_exec-fsys_minix.o
-rw-r--r--  1 toyo toyo  23808 Jan 14  2004 pre_stage2_exec-fsys_reiserfs.o
-rw-r--r--  1 toyo toyo  13604 Jan 14  2004 pre_stage2_exec-fsys_vstafs.o
-rw-r--r--  1 toyo toyo  31964 Jan 14  2004 pre_stage2_exec-fsys_xfs.o
-rw-r--r--  1 toyo toyo  25588 Jan 14  2004 pre_stage2_exec-gunzip.o
-rw-r--r--  1 toyo toyo  12812 Jan 14  2004 pre_stage2_exec-hercules.o
-rw-r--r--  1 toyo toyo  14580 Jan 14  2004 pre_stage2_exec-md5.o
-rw-r--r--  1 toyo toyo  16616 Jan 14  2004 pre_stage2_exec-serial.o
-rw-r--r--  1 toyo toyo  19160 Jan 14  2004 pre_stage2_exec-smp-imps.o
-rw-r--r--  1 toyo toyo  24744 Jan 14  2004 pre_stage2_exec-stage2.o
-rw-r--r--  1 toyo toyo  14600 Jan 14  2004 pre_stage2_exec-terminfo.o
-rw-r--r--  1 toyo toyo  30844 Jan 14  2004 pre_stage2_exec-tparm.o
-rw-r--r--  1 toyo toyo 123136 Jan 14  2004 pxegrub
-rwxr-xr-x  1 toyo toyo   1536 Jan 14  2004 pxeloader
-rw-r--r--  1 toyo toyo   1228 May 27  2000 pxeloader.S
-rwxr-xr-x  1 toyo toyo   2212 Jan 14  2004 pxeloader.exec
-rw-r--r--  1 toyo toyo   2028 Jan 14  2004 pxeloader_exec-pxeloader.o
-rwxr-xr-x  1 toyo toyo   9764 Jan 14  2004 reiserfs_stage1_5
-rwxr-xr-x  1 toyo toyo  48205 Jan 14  2004 reiserfs_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 reiserfs_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 reiserfs_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  12740 Jan 14  2004 reiserfs_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 reiserfs_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  22004 Jan 14  2004 reiserfs_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  22904 Jan 14  2004 reiserfs_stage1_5_exec-fsys_reiserfs
.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 reiserfs_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 reiserfs_stage1_5_exec-start.o
-rw-r--r--  1 toyo toyo   8419 Nov 30  2002 serial.c
-rw-r--r--  1 toyo toyo   2509 Jun 11  2002 serial.h
-rw-r--r--  1 toyo toyo   2745 Oct 20  2000 setjmp.S
-rw-r--r--  1 toyo toyo  27864 Dec  3  2002 shared.h
-rwxr-xr-x  1 toyo toyo   1557 Sep 15  1999 size_test
-rw-r--r--  1 toyo toyo  17535 Dec 11  2001 smp-imps.c
-rw-r--r--  1 toyo toyo   6032 Jun 24  1999 smp-imps.h
-rw-r--r--  1 toyo toyo   1725 Feb  8  2002 stage1_5.c
-rw-r--r--  1 toyo toyo 122144 Jan 14  2004 stage2
-rw-r--r--  1 toyo toyo  22100 Dec  4  2002 stage2.c
-rw-r--r--  1 toyo toyo     27 Jan 14  2004 stage2_size.h
-rwxr-xr-x  1 toyo toyo    512 Jan 14  2004 start
-rw-r--r--  1 toyo toyo   9082 Dec 30  2001 start.S
-rwxr-xr-x  1 toyo toyo   1875 Jan 14  2004 start.exec
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 start_exec-start.o
-rw-r--r--  1 toyo toyo   4120 Dec  3  2002 term.h
-rw-r--r--  1 toyo toyo   5651 Nov 30  2002 terminfo.c
-rw-r--r--  1 toyo toyo   1667 Nov 30  2002 terminfo.h
-rw-r--r--  1 toyo toyo  16725 Nov 30  2002 tparm.c
-rw-r--r--  1 toyo toyo   1027 Nov 30  2002 tparm.h
-rw-r--r--  1 toyo toyo   1955 Jun 22  2001 vstafs.h
-rwxr-xr-x  1 toyo toyo   6724 Jan 14  2004 vstafs_stage1_5
-rwxr-xr-x  1 toyo toyo  38803 Jan 14  2004 vstafs_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 vstafs_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 vstafs_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  13088 Jan 14  2004 vstafs_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 vstafs_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  21956 Jan 14  2004 vstafs_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  12720 Jan 14  2004 vstafs_stage1_5_exec-fsys_vstafs.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 vstafs_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 vstafs_stage1_5_exec-start.o
-rw-r--r--  1 toyo toyo  17766 Oct 28  2001 xfs.h
-rwxr-xr-x  1 toyo toyo   9708 Jan 14  2004 xfs_stage1_5
-rwxr-xr-x  1 toyo toyo  55547 Jan 14  2004 xfs_stage1_5.exec
-rw-r--r--  1 toyo toyo   2780 Jan 14  2004 xfs_stage1_5_exec-asm.o
-rw-r--r--  1 toyo toyo  10512 Jan 14  2004 xfs_stage1_5_exec-bios.o
-rw-r--r--  1 toyo toyo  12740 Jan 14  2004 xfs_stage1_5_exec-char_io.o
-rw-r--r--  1 toyo toyo   8288 Jan 14  2004 xfs_stage1_5_exec-common.o
-rw-r--r--  1 toyo toyo  21944 Jan 14  2004 xfs_stage1_5_exec-disk_io.o
-rw-r--r--  1 toyo toyo  31272 Jan 14  2004 xfs_stage1_5_exec-fsys_xfs.o
-rw-r--r--  1 toyo toyo   9080 Jan 14  2004 xfs_stage1_5_exec-stage1_5.o
-rw-r--r--  1 toyo toyo   1691 Jan 14  2004 xfs_stage1_5_exec-start.o
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#

	/mnt/root/GRUB/GRUB/grub-0.93/stage1 �ǥ��쥯�ȥ�� /mnt/root/GRUB/GRUB
	/grub-0.93/stage2 �ǥ��쥯�ȥ�β��˥ͥåȥ���֡��Ȥ��б����� stage1
	�� stage2 ��Ÿ��������֤��Ƥ���Τǡ��������Ѥ��롣 


     (4-1-2).  ��ư�� FD �κ���

	FD ��˥ե����륷���ƥ����������ͥåȥ���֡��Ȥ��б����� GRUB ��
	���󥹥ȡ��뤹�롣

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# fdformat /dev/fd0
Double-sided, 80 tracks, 18 sec/track. Total capacity 1440 kB.
Formatting ... done
Verifying ... done
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# mke2fs /dev/fd0
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
184 inodes, 1440 blocks
72 blocks (5.00%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
184 inodes per group

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# mkdir /mnt1
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# mount -t ext2 /dev/fd0 /mnt1
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc1               985160    667584    267532  72% /
tmpfs                   152828         0    152828   0% /dev/shm
onlpara:/home2/onlpara-wrk
                      22659872   8794144  12714656  41% /mnt
/dev/fd0                  1412        13      1327   1% /mnt1
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# mkdir -p /mnt1/boot/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# ls -lR /mnt1
/mnt1:
total 13
drwxr-xr-x  3 root root  1024 Mar 23 11:02 boot
drwx------  2 root root 12288 Mar 23 10:58 lost+found

/mnt1/boot:
total 1
drwxr-xr-x  2 root root 1024 Mar 23 11:02 grub

/mnt1/boot/grub:
total 0

/mnt1/lost+found:
total 0
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage1# pwd
/mnt/root/GRUB/GRUB/grub-0.93/stage1
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage1# ls -l
total 88
-rw-r--r--  1 toyo toyo 9117 Jan 14  2004 Makefile
-rw-r--r--  1 toyo toyo  377 Sep  8  2002 Makefile.am
-rw-r--r--  1 toyo toyo 8674 Nov 30  2002 Makefile.in
-rwxr-xr-x  1 toyo toyo  512 Jan 14  2004 stage1
-rw-r--r--  1 toyo toyo 9449 Sep  8  2002 stage1.S
-rwxr-xr-x  1 toyo toyo 2287 Jan 14  2004 stage1.exec
-rw-r--r--  1 toyo toyo 2413 Sep  8  2002 stage1.h
-rw-r--r--  1 toyo toyo 2156 Jan 14  2004 stage1.o
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage1#
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage1# cp stage1 /mnt1/boot/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage1#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2# pwd
/mnt/root/GRUB/GRUB/grub-0.93/stage2
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2# ls
Makefile                          libgrub_a-fsys_minix.o
Makefile.am                       libgrub_a-fsys_reiserfs.o
Makefile.in                       libgrub_a-fsys_vstafs.o
apic.h                            libgrub_a-fsys_xfs.o
apm.S                             libgrub_a-gunzip.o
asm.S                             libgrub_a-md5.o
bios.c                            libgrub_a-serial.o
boot.c                            libgrub_a-stage2.o
builtins.c                        libgrub_a-terminfo.o
char_io.c                         libgrub_a-tparm.o
cmdline.c                         mb_header.h
common.c                          mb_info.h
console.c                         md5.c
defs.h                            md5.h
dir.h                             minix_stage1_5
disk_inode.h                      minix_stage1_5.exec
disk_inode_ffs.h                  minix_stage1_5_exec-asm.o
disk_io.c                         minix_stage1_5_exec-bios.o
diskless                          minix_stage1_5_exec-char_io.o
diskless.exec                     minix_stage1_5_exec-common.o
diskless_exec-asm.o               minix_stage1_5_exec-disk_io.o
diskless_exec-bios.o              minix_stage1_5_exec-fsys_minix.o
diskless_exec-boot.o              minix_stage1_5_exec-stage1_5.o
diskless_exec-builtins.o          minix_stage1_5_exec-start.o
diskless_exec-char_io.o           nbgrub
diskless_exec-cmdline.o           nbi.h
diskless_exec-common.o            nbloader
diskless_exec-console.o           nbloader.S
diskless_exec-disk_io.o           nbloader.exec
diskless_exec-fsys_ext2fs.o       nbloader_exec-nbloader.o
diskless_exec-fsys_fat.o          pc_slice.h
diskless_exec-fsys_ffs.o          pre_stage2
diskless_exec-fsys_jfs.o          pre_stage2.exec
diskless_exec-fsys_minix.o        pre_stage2_exec-asm.o
diskless_exec-fsys_reiserfs.o     pre_stage2_exec-bios.o
diskless_exec-fsys_vstafs.o       pre_stage2_exec-boot.o
diskless_exec-fsys_xfs.o          pre_stage2_exec-builtins.o
diskless_exec-gunzip.o            pre_stage2_exec-char_io.o
diskless_exec-hercules.o          pre_stage2_exec-cmdline.o
diskless_exec-md5.o               pre_stage2_exec-common.o
diskless_exec-serial.o            pre_stage2_exec-console.o
diskless_exec-smp-imps.o          pre_stage2_exec-disk_io.o
diskless_exec-stage2.o            pre_stage2_exec-fsys_ext2fs.o
diskless_exec-terminfo.o          pre_stage2_exec-fsys_fat.o
diskless_exec-tparm.o             pre_stage2_exec-fsys_ffs.o
diskless_size.h                   pre_stage2_exec-fsys_jfs.o
e2fs_stage1_5                     pre_stage2_exec-fsys_minix.o
e2fs_stage1_5.exec                pre_stage2_exec-fsys_reiserfs.o
e2fs_stage1_5_exec-asm.o          pre_stage2_exec-fsys_vstafs.o
e2fs_stage1_5_exec-bios.o         pre_stage2_exec-fsys_xfs.o
e2fs_stage1_5_exec-char_io.o      pre_stage2_exec-gunzip.o
e2fs_stage1_5_exec-common.o       pre_stage2_exec-hercules.o
e2fs_stage1_5_exec-disk_io.o      pre_stage2_exec-md5.o
e2fs_stage1_5_exec-fsys_ext2fs.o  pre_stage2_exec-serial.o
e2fs_stage1_5_exec-stage1_5.o     pre_stage2_exec-smp-imps.o
e2fs_stage1_5_exec-start.o        pre_stage2_exec-stage2.o
fat.h                             pre_stage2_exec-terminfo.o
fat_stage1_5                      pre_stage2_exec-tparm.o
fat_stage1_5.exec                 pxegrub
fat_stage1_5_exec-asm.o           pxeloader
fat_stage1_5_exec-bios.o          pxeloader.S
fat_stage1_5_exec-char_io.o       pxeloader.exec
fat_stage1_5_exec-common.o        pxeloader_exec-pxeloader.o
fat_stage1_5_exec-disk_io.o       reiserfs_stage1_5
fat_stage1_5_exec-fsys_fat.o      reiserfs_stage1_5.exec
fat_stage1_5_exec-stage1_5.o      reiserfs_stage1_5_exec-asm.o
fat_stage1_5_exec-start.o         reiserfs_stage1_5_exec-bios.o
ffs_stage1_5                      reiserfs_stage1_5_exec-char_io.o
ffs_stage1_5.exec                 reiserfs_stage1_5_exec-common.o
ffs_stage1_5_exec-asm.o           reiserfs_stage1_5_exec-disk_io.o
ffs_stage1_5_exec-bios.o          reiserfs_stage1_5_exec-fsys_reiserfs.o
ffs_stage1_5_exec-char_io.o       reiserfs_stage1_5_exec-stage1_5.o
ffs_stage1_5_exec-common.o        reiserfs_stage1_5_exec-start.o
ffs_stage1_5_exec-disk_io.o       serial.c
ffs_stage1_5_exec-fsys_ffs.o      serial.h
ffs_stage1_5_exec-stage1_5.o      setjmp.S
ffs_stage1_5_exec-start.o         shared.h
filesys.h                         size_test
freebsd.h                         smp-imps.c
fs.h                              smp-imps.h
fsys_ext2fs.c                     stage1_5.c
fsys_fat.c                        stage2
fsys_ffs.c                        stage2.c
fsys_jfs.c                        stage2_size.h
fsys_minix.c                      start
fsys_reiserfs.c                   start.S
fsys_vstafs.c                     start.exec
fsys_xfs.c                        start_exec-start.o
gunzip.c                          term.h
hercules.c                        terminfo.c
hercules.h                        terminfo.h
i386-elf.h                        tparm.c
imgact_aout.h                     tparm.h
jfs.h                             vstafs.h
jfs_stage1_5                      vstafs_stage1_5
jfs_stage1_5.exec                 vstafs_stage1_5.exec
jfs_stage1_5_exec-asm.o           vstafs_stage1_5_exec-asm.o
jfs_stage1_5_exec-bios.o          vstafs_stage1_5_exec-bios.o
jfs_stage1_5_exec-char_io.o       vstafs_stage1_5_exec-char_io.o
jfs_stage1_5_exec-common.o        vstafs_stage1_5_exec-common.o
jfs_stage1_5_exec-disk_io.o       vstafs_stage1_5_exec-disk_io.o
jfs_stage1_5_exec-fsys_jfs.o      vstafs_stage1_5_exec-fsys_vstafs.o
jfs_stage1_5_exec-stage1_5.o      vstafs_stage1_5_exec-stage1_5.o
jfs_stage1_5_exec-start.o         vstafs_stage1_5_exec-start.o
libgrub.a                         xfs.h
libgrub_a-boot.o                  xfs_stage1_5
libgrub_a-builtins.o              xfs_stage1_5.exec
libgrub_a-char_io.o               xfs_stage1_5_exec-asm.o
libgrub_a-cmdline.o               xfs_stage1_5_exec-bios.o
libgrub_a-common.o                xfs_stage1_5_exec-char_io.o
libgrub_a-disk_io.o               xfs_stage1_5_exec-common.o
libgrub_a-fsys_ext2fs.o           xfs_stage1_5_exec-disk_io.o
libgrub_a-fsys_fat.o              xfs_stage1_5_exec-fsys_xfs.o
libgrub_a-fsys_ffs.o              xfs_stage1_5_exec-stage1_5.o
libgrub_a-fsys_jfs.o              xfs_stage1_5_exec-start.o
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2# cp stage2 /mnt1/boot/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2# cp e2fs_stage1_5 /mnt1/boot/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2# cp diskless /mnt1/boot/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2# cp nbgrub /mnt1/boot/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/stage2#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# pwd
/mnt/root/GRUB/GRUB/grub-0.93
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# find . -name menu.lst -print
./docs/menu.lst
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# cp ./docs/menu.lst /mnt1/boot/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93# ls -l /mnt1/boot/grub
total 373
-rwxr-xr-x  1 root root 121600 Mar 23 13:51 diskless
-rwxr-xr-x  1 root root   8100 Mar 23 13:51 e2fs_stage1_5
-rw-r--r--  1 root root   1256 Mar 23 13:54 menu.lst
-rw-r--r--  1 root root 122112 Mar 23 13:51 nbgrub
-rwxr-xr-x  1 root root    512 Mar 23 11:23 stage1
-rw-r--r--  1 root root 122144 Mar 23 13:51 stage2
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub# pwd
/mnt/root/GRUB/GRUB/grub-0.93/grub
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub# ls -l
total 580
-rw-r--r--  1 toyo toyo   9552 Jan 14  2004 Makefile
-rw-r--r--  1 toyo toyo    493 Jun 11  2002 Makefile.am
-rw-r--r--  1 toyo toyo   9437 Nov 30  2002 Makefile.in
-rw-r--r--  1 toyo toyo  26031 Dec  3  2002 asmstub.c
-rw-r--r--  1 toyo toyo  54308 Jan 14  2004 asmstub.o
-rwxr-xr-x  1 toyo toyo 396381 Jan 14  2004 grub
-rw-r--r--  1 toyo toyo   6858 Jun 11  2002 main.c
-rw-r--r--  1 toyo toyo  32524 Jan 14  2004 main.o
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub# ./grub
Probing devices to guess BIOS drives. This may take a long time.


    GRUB  version 0.93  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
grub> root (fd0)
root (fd0)
 Filesystem type is ext2fs, using whole disk
grub> setup (fd0)
setup (fd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (fd0)"... failed (this is not fatal)
 Running "embed /boot/grub/e2fs_stage1_5 (fd0)"... failed (this is not fatal)
 Running "install /boot/grub/stage1 (fd0) /boot/grub/stage2 p /boot/grub/menu.ls
t "... succeeded
Done.
grub> quit
quit
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub#

onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc1               985160    667584    267532  72% /
tmpfs                   152828         0    152828   0% /dev/shm
onlpara:/home2/onlpara-wrk
                      22659872   8794144  12714656  41% /mnt
/dev/fd0                  1412       388       952  29% /mnt1
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub#
onlsbc1:/mnt/root/GRUB/GRUB/grub-0.93/grub# cd /
onlsbc1:/# umount /mnt1
onlsbc1:/# umount /mnt
onlsbc1:/#

	����ǡ��ͥåȥ���֡����ѤΥ֡��ȥ��������� FD��˹��ۤǤ�����


     (4-1-3).  FD���GRUB������

	initrd���᡼���Ϻƹ�����Υե�����̾�˹�碌�� menu.lst�ե�����˵��Ҥ�
	�������Ƥ�����

[root@onlpc03 tftpboot]# mount -t ext2 /dev/fd0 /media/floppy
[root@onlpc03 tftpboot]# df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
/dev/sdd1              9621848   7365320   1767752  81% /
none                    193100         0    193100   0% /dev/shm
/dev/sdc1              9621848   3600164   5532908  40% /tftpboot
/dev/sde1              5044156   4468532    319392  94% /media/usbdisk
/dev/sde3              9621880   3207180   5925924  36% /media/usbdisk1
/dev/sde5             10231392   7044272   3187120  69% /media/NO_NAME
/dev/fd0                  1412       393       947  30% /media/floppy
[root@onlpc03 tftpboot]#

[root@onlpc03 tftpboot]# vi /media/floppy/boot/grub/menu.lst
#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
#timeout 30
timeout 7

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# onlsbc1 Network boot
title Debian GNU/Linux 3.1(Sarge): Boot from network with bootp [130.87.153.3/vm
linuz]
bootp
root (nd)
kernel /tftpboot/130.87.153.3/boot/vmlinuz-2.4.27-686  nfsroot=/tftpboot/130.87.
153.3 ip=bootp
initrd /tftpboot/130.87.153.3/boot/initrd.img-2.4.27-686DL

# For booting GNU/Hurd
title  GNU/Hurd
root   (hd0,0)
kernel /boot/gnumach.gz root=hd0s1
module /boot/serverboot.gz

# For booting GNU/Linux
title  GNU/Linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1

# For booting Mach (getting kernel from floppy)
title  Utah Mach4 multiboot
root   (hd0,2)
pause  Insert the diskette now!!
kernel (fd0)/boot/kernel root=hd0s3
module (fd0)/boot/bootstrap

# For booting FreeBSD
title  FreeBSD 3.4
root   (hd0,2,a)
kernel /boot/loader

# For booting OS/2
title OS/2
root  (hd0,1)
makeactive
# chainload OS/2 bootloader from the first sector
chainloader +1
# This is similar to "chainload", but loads a specific file
#chainloader /boot/chain.os2

# For booting Windows NT or Windows95
title Windows NT / Windows 95 boot menu
rootnoverify (hd0,0)
makeactive
chainloader  +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root    (hd0,0)
setup   (hd0)

# Change the colors.
title Change the colors
color light-green/brown blink-red/blue
[root@onlpc03 tftpboot]#
[root@onlpc03 tftpboot]# umount /media/floppy
[root@onlpc03 tftpboot]#


 (5). �֡��Ȥμ¹�

	���������֡��ȥե��åԡ���ɥ饤�֤˥��åȤ��ơ�CC/NET��ѥ���󤹤롣

			:
			:

	ok. �����Ω���夬�ä���

onlsun1[115]% ssh onlsbc1
Password: 
Linux onlsbc1 2.4.27-686 #1 2005ǯ 4�� 1�� ������ 15:42:55 JST i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Wed Apr  6 15:52:42 2005
inoue@onlsbc1:~$ 
inoue@onlsbc1:~$ df -k
Filesystem           1K-�֥��å�    ����   ���Ѳ� ����% �ޥ���Ȱ���
130.87.153.112:/tftpboot/130.87.153.3
                       9621848   3600648   5532424  40% /
tmpfs                   152632         0    152632   0% /dev/shm
inoue@onlsbc1:~$ 

	����ǡ������Ф� Fedora Core 3 �ǥ��饤����Ȥ� Sarge �ι����ǡ�����Ū��
	�ǥ������쥹�����ƥ�ι��ۤ�������������³���ơ�CAMAC���եȥ������򥤥�
	���ȡ��뤷��ư��ƥ��Ȥ򤹤롣



---xxxx