Installing Linux on ZIP disk using ppa ZIP Drive Mini-Howto
John Wiggins,  jwiggins@comp.uark.edu
v0.7, 26 January 1998

¤¤¤å½Ķ
³\»·©ú, Yeuan-Ming_Sheu@brown.edu
v0.7-1, 10 March 1998

¥»¤å¶È¾A¥Î©ó¦Cªí¾÷¤¶­±ª©ªº  ZIP  ¾÷¡A¦w¸Ë¥iÄ⦡©Î³Æ¥÷ªº  Linux ¨t²Î¦b ZIP 
ºÏ¤ù¤W¡C


1. Án©ú

   NOTE: ¦]¨S¦³  IDE ª©ªº  ZIP ¾÷¡A©Ò¥H§Ú¤£À´¸Ó¾÷¤u§@­ì²z¡A¤]½Ð¤£­n°Ý§Ú¡C

   ¦w¸Ë Debian ªº³¡¥÷°ò¥»¤W¥u¬O«þ¨©(­ì§@ªÌªº¤º®e)¡A¨S¦³°µ¤°»ò­×§ï¡C ¥i¯à¦³
   ¨Ç«ü¥O·|­«½Æ¡C

   ¥»¤å°²³]¦p¤U:

   §A¦³¦Lªí¾÷ª©ªº ZIP ¾÷ ( ¦] ZIP Plus ¦³¨âºØ³s±µ¤è¦¡¡A§Ú°²³]¥ç¥i¨Ï¥Î¡C)

   §A¤w¸g¦w¸Ë¨Ã¥i¨Ï¥Î Linux ¤F, ¥»¤å¤£¬O¥Î©ó²Ä¤@¦¸¦w¸Ë Linux ªº±¡ªp¡C

   §Aªº®Ö¤ß(Kernel)¤w¦³ ppa ¤ä´©¡A©Î¦³ ppa ¼Ò²Õ(Module)¥B¤w¸g¸ü¤J¡C

   ---------------------------------------------------------------------
   Ķµù:

       ¥»Ä¶ªÌ¹ï©ó¦]½Ķ©Î­ì¤å¤º®e©Ò³y¦¨ªº¥ô¦óªºª¬ªp©Î·l¥¢¡A¤@·§¤£­t¥ô¦ó
       ³d¥ô¡C

       (°ê¤ºªºÅªªÌ¥i¯à·|¹ï©ó¤W­±ªºÁn©úı±o«Ü©_©Ç¡AĶªÌ¬Ý¹L³\¦h¤£¥i«ä¾Ð
        ¥B¥i¯ºªº¨Æ¡A¬°¤F§K°£¤£¥²­nªº§xÂZ¡A½Ð¤Å¨£©Ç¡C)
        
   ---------------------------------------------------------------------

2. ¤¶²Ð

   ¥»¤å¤À¬°¥|³¡¤À¡A¨C³¡¤À´y­z¦p¦ó¨Ï¥Î¦Lªí¾÷ª©ªº ZIP ¾÷¦b¤@¤ù 100MB ªº
   ZIP ºÏ¤ù¤W¦w¸Ë³Ì°ò¥»ªº Linux ¨t²Î¡C

   ²Ä¤@³¡¤À´y­z¦p¦ó³]©w ZIP ºÏ¤ù¡A¾A¥Î©ó Red Hat ©M Slackware ªºª©¥»¤W¡C
   ²Ä¤G¡N²Ä¤T¡N²Ä¥|³¡¤À«h¤À§O´y­z¦p¦ó¦b ZIP ºÏ¤ù¤W¦w¸Ë Red Hat 4.2, 
   Slackware 2.2 ©M Debian 1.2¡C


   NOTE: §Ú¤F¸Ñ¨ì²{¦b Red Hat 5.0 ¤w¸gµo¦æ¡A¦ý¦b½Ò·~©M¤u§@¤¤¡A(¥ýÅý§Ú³o
   »ò»¡§a)¡A¦b§Ú¦³ªÅ¦b¤W­±§V¤O¥i¯à¤w¸g¬O¤­¤ë©³¤F¡C  ¦Ó¥B§Ú¤]§Æ±æ¯à´ú¸Õ¥X
   ¨ä¥Lªºª©¥»¡C
   
  
2.1. ·sªF¦è

   §Ú²×©ó¦³¨¬°÷®É¶¡¨Ó§ó·s¥»¤å¥ó¡A(ÁöµM§Ú¯u¥¿À³¸Ó·Ç³Æ¤@­ÓªÀ·|¾Ç¦Ò¸Õ¡C)
   ·PÁ¨º¨Ç°e email µ¹§Ú·N¨£ªº¤H¡C

   ¥»¤å¥ó¤¤·s¼Wªº³¡¤À:

   . Debian ª©¥»

   . ¦bºÏ¤ù¤Wªº LILO

   . ·sª©ªº Red Hat (4.2 Biltmore)

   . ºô¸ôªº³]©w (For Red Hat¡A¥¼´ú¸Õ)


2.2. ¤å¥óºD¨Ò

   . ªí¥Ü¤U¦C¤å¦r¬O©R¥O:

     ==>

   . ªí¥Ü¤@¨Ç­È±oª`·NªºªF¦è:

     ------------------------------------------
     NOTE:
     ------------------------------------------

   . ªí¥Ü¬O¿Ã¹õªº¤º®e:

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


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

   . Ķµù:

     ------------------------------------------
     Ķµù:

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

2.3. §ó·s

    ÁöµM¾÷·|«Ü¤Ö¡A­Y¦³¥ô¦óªº§ó·s¡A½ÐÀ˵ø

    http://comp.uark.edu/~jwiggins/linuxZIP/

    ---------------------------------------------------------------------
    Ķµù:

        ¦p­ì¤å§@ªÌ¬Û¦P¡AĶªÌ¤]«Ü¦£¡AÁöµM¾÷·|«Ü¤Ö¡A¦p¦³¥ô¦óªº§ó·s¡A½ÐÀ˵ø
        ¤¤¤å¤å¥ó­p¹ººô­¶:

        http://www.linux.org.tw/CLDP/
   
    ----------------------------------------------------------------------

   
2.4. °Ñ¦Ò¸ê®Æ

    . Installation-HOWTO

    . SCSI-HOWTO

    . NET-3-HOWTO

    . ZIP-Drive (mini-HOWTO)
  
    . ParPort kernel patch (gives access to pass-through printer-port)
        http://www.cyberelk.demon.co.uk/parport/


    -----------------------------------------------------------------
    Ķµù:

        ³¡¤Àªº°Ñ¦Ò¸ê®Æ¦³¤¤¤åª©¡A½ÐÀ˾\¤¤¤å¤å¥ó½Ķ­p¹ººô­¶:
   
        http://www.linux.org.tw/CLDP/

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


2.4.1. ·PÁ©M´£¨ÑªÌ¦W³æ

    . Slackware 2.2 ·PÁÂ Michael Littlejohn 

    . Debian 1.2 ·PÁÂ John D. Blair 

    . LILO ªº¸ê°T©M³\¦h¨ä¥Lªº¤º®e·PÁ Darcy Boese 
      ©M Javier Rodriguez 


3.  ³]©w ZIP ºÏ¤ù

   (¾A¥Î©ó Red Hat ©M Slackware ª©¥»¡C) ¦b¶}©l¤§«e¥ý½T©w§A¥i¥H¨Ï¥Î ZIP ¾÷;
   ¦b kernel(®Ö¤ß) ¤¤¦³¤ä´© ppa ©Î¬O¦w¸Ë ppa ªº¼Ò²Õ(module)¡C
   ¦³¤@­Ó²³æªº¤èªk¥i¥HÀˬd:

   ==> dmesg

   °²¦p dmesg ªº¤º®e¬Û·íªø¡A§A¥i¥HºÞ¦¡¿é°e(pipe)¨ì more ¡C

   ------------------------------------------------------
   Ķµù: §Y¬O
  
       ==> dmesg | more
   
   ------------------------------------------------------

   ¤U¦C¬O§Úªº¿é¥Xªº¤@³¡¤À:

   ______________________________________________________________________
   scsi0 : PPA driver version 0.26 using 4-bit mode on port 0x3bc.
   scsi : 1 host.
     Vendor: IOMEGA    Model: ZIP 100           Rev: D.08
     Type:   Direct-Access                      ANSI SCSI revision: 02
   Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
   SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
     sda: Write Protect is off
     sda: sda1 sda2
   ______________________________________________________________________


   °²¦p§A¬Ý¨ìªºªF¦è¹³:

   ______________________________________________________________________
       scsi : 0 hosts.
       scsi : detected total.
   ______________________________________________________________________   
        

   ªí¥Ü§A¦³ SCSI ªº¤ä´©¡A¦ý¨S¦³µo²{ ZIP ¾÷¡C


3.1. ¤À³Î(Partitioning) ZIP ºÏ¤ù

   ­n¤À³Î ZIP ºÏ¤ù¡A°õ¦æ fdisk

   ==> fdisk /dev/sda

   ¤U­±¦C¥X§Ú³]©wªº¤À³Îªí(Partition table):

   ______________________________________________________________________
   Disk /dev/sda: 64 heads, 32 sectors, 96 cylinders
   Units = cylinders of 2048 * 512 bytes
  
      Device  Boot   Begin    Start      End   Blocks   Id  System
    /dev/sda1            1        1       81    82928   83  Linux native
    /dev/sda2           82       82       96    15360   82  Linux swap
   ______________________________________________________________________


   ¦]¬°§Ú·Q­n¯à°÷¨Ï¥Î³o­Ó(ZIP ºÏ¤ù)¦b¥ô¦ó¾÷¾¹¤W¡A§Ú¨M©w­n¦³¤@­Ó Swap ¤À°Ï
   (Partition)¡C


3.2. ®æ¦¡¤Æ(Formatting)©M±¾¸ü(Mounting) ZIP ºÏ¤ù

    ¦b°õ¦æ fidsk ¤§«á¡A®æ¦¡¤Æ·sªº¤À°Ï(Partition): 
    
     ==> mke2fs -c /dev/sda1

    ³Ì«á§A±N»Ý­n±¾¸ü¤W ZIP ºÏ¤ù:

      ==> mount /dev/sda1 /iomega -t ext2


    ---------------------------------------------------
    Ķµù:

        §A¤]»Ý­n®æ¦¡¤Æ Swap ¤À°Ï:

         ==> mkswap -c /dev/sda2

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


3.3. «Ø¥ß¶}¾÷ºÏ¤ù(Boot disk)

   ¦]¬° ppa (¦Lªí¾÷°ð)ª©¥»ªº ZIP ÅX°Êµ{¦¡¤£¬O¯u¥¿ªº SCSI device(¸Ë¸m)¡A§Y¥¦
   ¤£¬O¥i¶}¾÷ªº¸Ë¸m¡C  ©Ò¥H»Ý­n¤@­Ó®Ö¤ß(kernel)§t¦³ ppa ¤ä´©¦Ó¤£¬O¼Ò²Õ¤Æªº
   ¶}¾÷ºÏ¤ù¡C


3.3.1.  ³]©w©M»s§@®Ö¤ß(Kernel)

   ­º¥ý§A»Ý­n³]©w(Configure)©M»s§@(Make)¤@­Ó®Ö¤ß(kernel)¡A¨ä¤¤­n¦³±Ò°Ê ppa
   ¤ä´©ªº³]©w¦Ó¤£¥u¬O³]©w¦¨¥i¸ü¤J¦¡ªº¼Ò²Õ¡C

   ¬°¤F­n¦³ ppa ªº¿ï¾Ü¡A¿ï¾Ü SCSI support:
 
   --------------------------------------------------
    SCSI support (CONFIG_SCSI) Y/m/n/?
   --------------------------------------------------

   ¥t¥~¡ASCSI disk support:

   --------------------------------------------------
    SCSI disk support (CONFIG_BLK_DEV_SD) Y/m/n/?
   --------------------------------------------------

   ³Ì«á¡A¦b SCSI low-level drivers ¤§¤U¬O ppa support:

   ----------------------------------------------------------------------
    IOMEGA Parallel Port ZIP drive SCSI support (CONFIG_SCSI_PPA) Y/m/n/?
   ----------------------------------------------------------------------

     
   ¦A¤@¦¸´£¿ô¡A½T©w¤£­n¥]§t ppa ¦¨¬°¼Ò²Õ(module)¦Ó¬O­n¦b®Ö¤ß(kernel)¤¤¡C
   ¥t¥~¡A¦]¥¼¨Ï¥Î parport kernel patch (¨£ 4.1)¡A ppa ÅX°Êµ{¦¡¤£¤¹³\ ZIP 
   ¾÷¤Wªº³Q°Ê¦¡°ðµ¹¦Lªí¾÷¨Ï¥Î¡A§A¥i¯à¥²¶·¦b parallel printer support ¤W
   ¿ï¾Ü no:

   --------------------------------------------------------
   Parallel printer support (CONFIG_PRINTER) N/y/m/?
   --------------------------------------------------------

   ------------------------------------------------------------------
   NOTE: Ãö©ó ppa ÅX°Êµ{¦¡¶i¤@¨Bªº¸ê®Æ¡A½Ð°Ñ¦Ò ZIP-Drive mini-HOWTO¡C
   ------------------------------------------------------------------
     

   ¤@¥¹³]©w¦n®Ö¤ß(kernel)¡A»s§@(make)®Ö¤ß:

   ==> make dep; make clean; make zImage

   ·sªº®Ö¤ß(kernel)À³¸Ó¥X²{¦b arch/i386/boot/zImage¡C


3.3.2.1.  ¦w¸Ë LILO

   ¹ï©ó¨º¨Ç¥²¶·©Î¬O¤£ºÞ¦p¦ó´N¬O­n¦³¼Æ­Ó®Ö¤ß((kernel)¦b¦P¤@±iºÏ¤ù¤Wªº¤H¡A
   ©Î¶È¬O­n¯à°÷¶Ç°Ñ¼Æ(¨Ò¦p³æ¤@¨Ï¥ÎªÌ¼Ò¦¡)¡A§Ú¦¬¨ì email Ãö©ó¦p¦ó¦bºÏ¤ù¤W
   ¦w¸Ë LILO¡C  


3.3.2.1.1.  «Ø¥ß ext2 Àɮרt²Î

   ¦bºÏ¤ù¤W«Ø¥ß ext2 Àɮרt²Î¡A¥u­n°µ©M ZIP ºÏ¤ù¬Û¦Pªº©R¥O:

   ==> mke2fs -t /dev/fd0


3.3.2.1.2.  «þ¨©°ò¥»ªºÀÉ®×

   ¦A¨Ó¬O½T©w¦³¤@­Ó¥Ø¿ý(directory)¥i°µ±¾¸üÂI(mount point)¡A©M±¾¸ü³nºÐ
   (§Ú¨Ï¥Î /mnt/floppy):  

   ==> mount /dev/fd0 /mnt/floppy -t ext2

   ¬°¤F­n¥i¶¶§Q¶}¾÷¡A§A»Ý­n¥Î§A²{¦b¦w¸Ë¦nªº Linux ¤¤ LILO ¨Ï¥Îªº¬Û¦PÀɮסC
   
   ------------------------------------------------------------------
   NOTE: ³o¨ÇÀɮ׬O±q§Úªº¾÷¾¹¤¤¥X²{ªº¦ì¸m¡A¥i¯à¤£¬O¨C­Ó¤Hªº³£¬Û¦P¡C
   ------------------------------------------------------------------

   ==> cp /boot/boot.b /mnt/floppy

   ==> cp /boot/map /mnt/floppy

   ==> cp /usr/src/linux/arch/i386/boot/zImage /mnt/floppy/vmlinuzDESK
       

   ²{¦b¬°¤F«Ø¥ß LILO ªº config ÀɮסA§Ú§Ñ¤F­n¦³ liloconfig ³o­Óµ{¦¡ (·PÁÂ
   Javier Rodriguez ´£¨Ñ³o¸ê®Æ)¡C ­º¥ýµ¹¦b ZIP ºÏ¤ù¤Wªº¨º¨Ç®Ö¤ß«Ø¥ß LILO 
   ªº config ÀÉ®× (/mnt/floppy/lilo.conf)¡C ¤U­±¬O§Ú¨Ï¥Îªº¡A¯àÅý§Ú¦P®É¦³¤£
   ¦Pªº®Ö¤ß¥i´ú¸Õ:
   ______________________________________________________________________
   boot=/dev/fd0
   map=/mnt/floppy/map
   install=/mnt/floppy/boot.b
   prompt
   compact
   timeout=50
   image=/mnt/floppy/vmlinuzLAP
      label=Laptop
      root=/dev/sda1
      read-only
   image=/mnt/floppy/vmlinuzDESK
      label=Desktop   
      root=/dev/sda1
      read-only
   image=/mnt/floppy/vmlinuzDESK
      label=rescue
      root=/dev/hdc1
      read-only   
   ______________________________________________________________________
       

   §Ú¦³¨â­Ó®Ö¤ß¡A¤@­Ó¬Oµ¹»Ý­n¦b®Ö¤ß¤¤¦³¼Æ¾Ç¼ÒÀÀµ{¦¡ªºµ§°O«¬ 486¡A¥t¤@¬O
   µ¹§Ú®à¤W«¬¹q¸£¥Î¡C  ¨ä¤¤ rescue ¬O¬°¤FÅý§Ú¥iºò«æ¶}¾÷¨ìµwºÐ¤W¡C

   ³Ì«á¡A¦b³nºÐ¤´µM±¾¸ü®É¡A°õ¦æ LILO ¥h¦w¸Ë¨ì³nºÐ¤W:

    ==> lilo -C /mnt/floppy/lilo.conf

   ¤@¥¹ LILO ³Q¦w¸Ë¦n¦bºÏ¤ù¤W¡A¸õ¹L¤U­±¨â­Ó¨BÆJ¡A°£«D§A³ßÅw¦A°µ¤@¹M¡C 


3.3.2.2.  ³æ¿W®Ö¤ßªº¦w¸Ë

   ---------------------------------------------------------------
   NOTE:³o¤£¾A©ó LILO ªº¦w¸Ë¡C
   ---------------------------------------------------------------  

   «þ¨©·s³yªº®Ö¤ß(kernel)¨ì³nºÐ¤W:

   ==> cp arch/i386/boot/zImage /dev/fd0

   ©Î

   ==> cat arch/i386/boot/zImage > /dev/fd0
  
   ¬Oªº¡AÁöµM¦³³\¦h¤èªk¥i¥H«þ¨©®Ö¤ß¨ìºÏºÐ¤ù¤W¡A¦ý³Ì«áªº¤èªk¬O¦³¤@¨Ç¯«¯¦¡A
   ¤]¬O§Úªº³Ì³ßÅwªº¡C  ¸ÕµÛ¤£­n§Ñ°O '>'¡A°£«D§A³ßÅw¬Ý¤G¤¸ÀɮסC :)


3.3.2.2.1.  ³]©w³nºÐªº®Ú¥Ø¿ý(root)©M swap

   ---------------------------------------------------------------
   NOTE:³o¤£¾A¦X©ó LILO ªº¦w¸Ë¡C
   ---------------------------------------------------------------
  
   ¤@¥¹®Ö¤ß¦b³nºÐ¤W¡A§A»Ý­n³]©w®Ú¥Ø¿ý³]³Æ(root device)¨ì ZIPºÏ¤ù¤W:

   ==> rdev /dev/fd0 /dev/sda1

   §Ú¤£½T©w¤U¤@­Ó¿ï¶µ¬O§_¥²­n¡A¦ý§Ú¤£ºÞ¦p¦óÁÙ¬O°µ¤F:
  
   ==> rdev -s /dev/fd0 /dev/sda2

   ------------------------------------------------------------------
   Ķµù:
       ®Ú¾Ú§@ªÌªº ZIP ºÏ¤ù¤À³Îªk¡A/dev/sda1 ¬O Linux ªº¤À°Ï¡A/dev/sda2
    ¬O swap ¤À°Ï¡A­Y§Aªº¤èªk¤£¦P®É¡A«h¥²¶·§ïÅÜ sda «áªº¼Æ¦r¬°¥¿½Tªº¤À
    °Ï¸¹½X(Partition number)¡C
   -------------------------------------------------------------------


4.  Red Hat 4.2 ªº¦w¸Ë

   ¥ô¦ó¸ò¹q¸£¦³ÃöªºªF¦è¡A¤T­Ó¤ëªº¥i³Q»{¬°¬O¹L®É¥B»Ý­n§ó·s¡C  ¦]¬°§ÚµLªk
   Á`¬O¦³®É¶¡ÀHµÛ·sª©ªº±À¥X¦Ó§ó·s¥»¤å¥ó¡A§Ú·|ºÉ§Ú³Ì¤jªº§V¤O¸ÕµÛ°µ¨ì¦Ü¤Ö
   ¨C¤Gª©§ó§ï¤@¦¸¡C  ¦Ü©ó¨ä¥Lªºµo¦æª©(Distribution)¡A°£«D§@ªÌ­ÌÄ@·N°e§ó
   ·sªº¨Ó¡A¥¦­Ì±Nºû«ù¸ò²{¦bªº¤º®e¤@¼Ë¡C

  
4.1.  ­Ó¤Hªº³]³Æ

  
   ¦b¦w¸Ë®É¡A§Ú¾Ö¦³¥B¨Ï¥Î

   . Kernel 2.0.30

   . Imoega ppa disk drive (¦Lªí¾÷°ðª©ªº ZIP ¾÷)

   . Red Hat 4.2


4.2.  ®M¥ó((Package)ªº¦w¸Ë

   ·í§Ú²Ä¤@¦¸¸Õ¹Ï¦w¸Ë Red Hat ¨ì¤@¤ù ZIP ºÏ¤ù®É¡A§Úı±oª½±µ¨Ï¥Î Red Hat
   ªº¦w¸Ë(±Ò°Ê)ºÏ¤ù(boot disk)·|¤ñ¸û®e©ö¡C  µM«á§Ú°µ¤F¡C  §Ú°µ¨ì«D±`±µªñ¨ì 
   «Ø¥ß¤@­Ó¶}¾÷ºÏ¤ù¡A¬Æ¦Ü¸g¥Ñ email ±q Red Hat ¸Ì³\¦hªº¤H¨º±o¨ìÀ°§U¡C  ¦ý
   ³Ì«á¦b§Úµo²{ rpm ¤¤¦³ '--root' ªº¿ï¶µ®É¡A§Ú¶}©l©ñ±ó³o¾ã­Ó­p¹º¡C 


4.2.1.  ­n¦w¸Ë¨º¨Ç®M§@(Package)

   ¦b¾\Ū¦b¤@­Ó§Ú¦b Red Hat ªº³Æ¥÷¯¸(Mirror)¤W§ä¨ìªº¤@­ÓÀɮ׮ɡA§Úµo²{¨º¨Ç
   ¬O­n¦w¸Ëªº®M¥ó¡C  ¨º­ÓÀÉ®×¥i¥H¦b¥ô¦ó³Æ¥÷¯¸(Mirror)¤Wªº

       redhat/redhat-4.2/i386/RedHat/base/comps

   ¤º§ä¨ì¡C


   ¦b³o¦w¸Ë¤¤¡A§Ú·Q­n¥]§tºô¸ôªº¤ä´©¡C  ¦ý¦]¬° Red Hat ªº Xµøµ¡ºô¸ô³]©w¤è
   ¦¡¡A§Ú±N¥²¶·¤â¤u½Õ¾ã¡A©Î¬O¬Û·í¤â°Ê¦a¸ÕµÛ¥h³]©w¦b /etc/sysconfig/ ¤ºªº
   ºô¸ô³]¸m¤u§@½Z¥ó(Network setup script)¡C(°Ñ·Ó 4.3.3 ¸`)


   ¦Ü¤Ö¦b¨S¦³¥Î¯S®í­×§ïªº®Ö¤ßª©¥»(Kernel version)¤U¡A¦b ZIP ¾÷¤¤½sĶ¥ô¦ó
   µ{¦¡¬O¬Û·íºCªº¡A©Ò¥H§Ú¨M©w¤£¦w¸Ë¥ô¦óªºµo®i³nÅé®M¥ó(Development package)¡C
   °ò©óªÅ¶¡ªº¦Ò¶q¡A§Ú¤]¿ï¾Ü¤£¦w¸Ë Xµøµ¡¨t²Î¡C  µy«á¡A§Ú·|¸Õ¹Ï¥h±¾¤WµwºÐ¨Ã«Ø
   ¥ß¤@­Ó»P /usr ªº²Å¸¹³s±µ(Symlink, Symbolic link)¡A¬Ý¬Ý§Ú¬O§_¥iÅý Xµøµ¡¹B
   §@¡C
   
   ¤U­±¥H¦w¸Ëªº¶¶§Ç¦C¥X§Ú¦w¸Ëªº®M¥ó¦W³æ¡C  ¨º¨Ç¦³¥´¬P¸¹ªºªí¥Ü±q Red Hat
   ªº°É»~(Errata)¤¤¦³§ó·s¡C  ¦b¬A©·¤¤«h¬O§ó·sªº®M¥ó¸¹½X¡C
   
   ¨Ò¦p¡ANetKit-B-0.09-6 ³Q§ó·s¨ì NetKit-B-0.09-8¡A©Ò¥H¤º®e±N¬O:

        *91) NetKit-B-0.09-6 (-8)

   ______________________________________________________________________

        (¦¹ªí¬O°õ¦æ©R¥O  rpm --root /iomega -qa ©Ò²£¥Í)

        1) setup-1.7-2                   2) pamconfig-0.51-2
        3) filesystem-1.3-1              4) MAKEDEV-2.2-9   
        5) adduser-1.7-1                 6) libc-5.3.12-18  
        7) SysVinit-2.64-8               8) ash-0.2-8   
        9) at-2.9b-2                    10) libtermcap-2.0.8-4
       11) bash-1.14.7-1                12) bc-1.03-6
       13) bdflush-1.5-5                14) cpio-2.4.2-4
       15) cracklib-dicts-2.5-1         16) tmpwatch-1.2-1  
       17) crontabs-1.5-1              *18) db-1.85-10 (-11)
       19) dev-2.5.1-1                  20) diffutils-2.7-5
       21) etcskel-1.3-1                22) file-3.22-5
       23) fileutils-3.16-1             24) findutils-4.1-11
       25) grep-2.0-5                   26) groff-1.10-8
      *27) ld.so-1.7.14-4 (-5)          28) getty_ps-2.0.7h-4
       29) gzip-1.2.4-7                 30) mingetty-0.9.4-3
      *31) initscripts-2.92-1 (93-1)    32) ed-0.2-5
       33) info-3.9-1                   34) ncurses-1.9.9e-4
       35) libg++-2.7.1.4-5            *36) pwdb-0.54-3 (-4)
       37) rootfiles-1.5-1             *38) pam-0.57-2 (-4) 
       39) redhat-release-4.2-1         40) less-321-3  
       41) mount-2.5l-2                 42) zlib-1.0.4-1
       43) rpm-2.3.11-1                 44) e2fsprogs-1.10-0
       45) sysklogd-1.3-15              46) tar-1.11.8-11
       47) passwd-0.50-7                48) gawk-3.0.2-1
       49) gdbm-1.7.3-8                 50) gpm-1.10-8
       51) hdparm-3.1-2                 52) kbd-0.91-9
       53) slang-0.99.37-2              54) newt-0.8-1 
       55) kbdconfig-1.4-1              56) ncompress-4.2.4-7
      *57) sh-utils-1.16-4 (-5)         58) procinfo-0.9-1
      *59) logrotate-2.3-3 (4-1)        60) lilo-0.19-1
       61) losetup-2.5l-2               62) linuxthreads-0.5-1
      *63) mkinitrd-1.6-1 (7-1)         64) mailcap-1.0-3
      *65) man-1.4h-5 (j-1)             66) mt-st-0.4-2
       67) modules-2.0.0-5              68) mailx-5.5.kw-6  
       69) net-tools-1.32.alpha-2       70) procmail-3.10-10
       71) procps-1.01-11               72) psmisc-11-4 
       73) quota-1.55-4                 74) readline-2.0-10
       75) sed-2.05-6                   76) setconsole-1.0-1
       77) sendmail-8.8.5-4             78) shadow-utils-960530-6
       79) stat-1.5-5                   80) tcsh-6.06-10
       81) termcap-9.12.6-5             82) textutils-1.22-1
       83) time-1.7-1                   84) timeconfig-1.8-1
       85) util-linux-2.5-38            86) vim-4.5-2  
       87) vixie-cron-3.0.1-14          88) which-1.0-5
       89) zoneinfo-96i-4               90) tcp_wrappers-7.5-1
      *91) NetKit-B-0.09-6 (-8)        *92) lpr-0.18-1 (19-1)
      *93) bind-4.9.5p1-2 (9.6-1)      *94) bind-utils-4.9.5p1-2 (9.6-1)
      *95) wu-ftpd-2.4.2b12-6 (b15-1)   96) anonftp-2.3-3
       97) zip-2.1-1                    98) unzip-5.12-5
       99) statserial-1.1-7            100) minicom-1.75-2  
      101) lrzsz-0.12.14-1             102) dip-3.3.7o-9
      103) ppp-2.2.0f-3                104) portmap-4.0-3
      105) perl-5.003-8               *106) traceroute-1.0.4.4bsd-2 (1.4a5-1)
     *107) elm-2.4.25-7 (-8)           108) lynx-2.6-2
      109) ncftp-2.3.0-5               110) pine-3.95-2
      111) rdate-0.960923-1            112) apache-1.1.3-3
     *113) nfs-server-2.2beta16-7     *114) nfs-server-clients-2.2beta16-7
           (2.2beta16-8)                    (2.2beta16-8)   
   ______________________________________________________________________
   
   ¦Ó¥B¦b¦w¸Ë¤W­±ªº¥þ³¡«á¡A§Ú¤´µM³Ñ¤U 32MB¡C

4.2.1.1. §ó·s; °É»~

   ¥¿¦p³\¦hªº Red Hat ¨Ï¥ÎªÌª¾¹D¡A³¡¤Àªº®M¥ó¥i¯à³Qµo²{¦³¤@¨Ç¦w¥þº|¬}¡A©Î
   ¥ô¦ó¨ä¥L·|¤Þ°_ª§½×µo¥Íªº°ÝÃD¡C  °ò©ó³o­Ó²z¥Ñ¡ARed Hatµ¹³o¨Ç®M¥óµo¦æ§ó
   ·s¡C  §Ú¤w¸g§ó·s¨º¨Ç§Ú¦w¸Ë¥B¦³§ó·sªº®M¥ó¡A¨Ã¥B¦b¤W­zªº¦W³æ¤¤¼Ð¤W¬P¸¹¡C
   ½Ð°Ñ¦ÒÃö©ó§ó·s®M¥óªºRed Hatºô­¶:

     http://www.redhat.com/support/docs/rhl/rh42-errata-general.html
     

   ---------------------------------------------------------------------
   NOTE:

        ¦b§A¥i¥H§ó·s¨º¨Ç®M¥ó«e¡A§A±N¥²¶·¦p 3.3.1.1 ¤¤´y­z¤@¼Ë°õ¦æ 
        ldconfig ¡C
   ----------------------------------------------------------------------  
 
4.2.2. ¦p¦ó¦b¨Ï¥Î rpm ¦Ó¤£¥Î glint ¤U¦w¸Ë


   ¦b rpm ¤¤¡A¨Ï¥Î --root ¿ï¶µ¥h¯S©w±¾¸ü¥Ø¿ý¬°¦w¸Ë¸mªº®Ú¥Ø¿ý¡C  ¦]¬°¦w¸Ë«e
   (Preinstall)©M¦w¸Ë«á(Postinstall)ªº°õ¦æ½Z(Script)°ò©ó¤£¦Pªº®Ú¥Ø¿ý¦ÓµLªk
   ¥¿½T¦a³Q°õ¦æ¡A§Ú¤wµo²{¦³³\¦h®M¥óµLªk¦w¸Ë¡C  ©Ò¥H¨Ï¥Î --noscripts ¿ï¶µ:

   ==> rpm --root /iomega -i --noscripts PACKAGE.i386.rpm

   §ÚªÖ©w³\¦h¤H·|ª`·N¨ì¡A§A·|±o¨ì¤@­Ó¿ù»~°T®§¹³:
   ______________________________________________________________________
       failed to open /iomega/var/lib/rpm/packages.rpm

       error: cannot open /iomega/var/lib/rpm/packages.rpm
   ______________________________________________________________________
                
   ©Ò¥H¡A¥u­n«Ø¥ß var/lib/rpm ªº¥Ø¿ý:

   ==> mkdir /iomega/var; mkdir /iomega/var/lib; mkdir /iomega/var/lib/rpm


4.2.3. ¨º­Ó¥ý¨Ó¡A pamconfig ©Î pam ?

   °²¦p¥ô¦ó¤H¸Õ¹Ï¦w¸Ë pamconfig ¡A¥¦±N·|©ê«èÃö©ó pam ªº¿ù»~ªþÄÝ©Ê(Depen-
   dency)¡Q·í§A¦A¸ÕµÛ¦w¸Ë pam ©ê«èÃö©ó pamconfig ªº¿ù»~ªþÄÝ©Ê!  ³o¹³Âû¥Í
   ³J¡N³J¥ÍÂû°ÝÃD¤@¼Ë§xÂZ§Ú¤@°}¤l¡A¦ý­n·PÁ --nodeps ³o­ÓºX¼m¡A§Ú­Ì¥i¥H±j
   ­¢ pamconfig ³Q¦w¸Ë; °£¤F pamconfig ¥~¡Apam ¥t¥~¦³§ó¦hªº¿ù»~ªþÄÝ©Ê¡C

   ==> rpm --root /iomega -i --nodeps --noscripts pamconfig-0.51-2


4.3.  ®M¥ó¦w¸Ë«áªº°ÝÃD

   ¤@¥¹©Ò¦³ªºªF¦è³£¦w¸Ë¦n«á¡A¤£©¯ªº¬O¡A³oºÏ¤ù¨Ã¤£¬O¥\¯à§¹¾ãªº¡A°²¦p¥i¥H³o
   »ò»¡ªº¸Ü¡C  §Úªº·N«ä¬O¡A°²¦p§A²{¦b¸ÕµÛ±q³nºÏ¶}¾÷ªº¸Ü¡A§A±N·|¨S¦³¦h¤Ö¶i
   ®i¡C  ¤@¥¹ init ¸ÕµÛ¶}©l¡A§A±N·|±o¨ì¨â­Ó¥i·Rªº¿ù»~; ¨â­Ó°õ¦æ½Z³Q¹B¦æ¥B
   ·|©ê«è§ä¤£¨ì¤w¸g¦w¸Ëªº¬Y¨ÇÀɮסC


4.3.1.  §ä¤£¨ì /etc/ld.so.cache ©M libc.so.5 ªº°ÝÃD

   °²¦p§A¸ÕµÛ¶}¾÷¡A§A·|±o¨ì¨â­Ó¿ù»~¡A²Ä¤@­Ó¬O /etc/ld.so.cache ÀÉ®×¥¢ÂÜ¡A
   ²Ä¤G­Ó¬O©ê«è§ä¤£¨ì libc.so.5 ¡C

4.3.1.1.  /etc/ld.so.cache

   ¦p³\¦hŪªÌ©Ò´£¨ì¡A§Ú¥H«eªº¤èªk¨Ã¤£¬O¦p©Ò»¡ªº·|°Ê¡C  ¬°¤F«Ø¥ß³o­ÓÀɮסA
   ·í ZIP ºÏ¤ùÁÙ±¾¸ü®É¡A§A±N¥²¶·°õ¦æ ldconfig:

   ==> chroot /iomega; /sbin/ldconfig

   ·PÁ Javier Rodriguez ªº¸Ñµª¡C

4.3.1.2.  libc.so.5

   ¬°¤F¸Ñ¨M§ä¤£¨ì lib ªº°ÝÃD¡A§A±N¥²¶·«Ø¥ß¤@­Ó¦w¸Ë°õ¦æ½ZÀ³¸Ó°µªº²Å¸¹Ápµ²
   (Symlink):

   ==> cd /iomega/lib; ln -s libc.so.5.3.12 libc.so.5

   ·PÁ Darcy Boese ªº¸Ñµª¡C

4.3.2.  ³]©w root ªº±K½X

   ¥¿¦p¦b 4.3.1.1 ¤¤°õ¦æ ldconfig ¤@¼Ë¡A§A¥i¯à¤]­n¬°·s¨t²Î§ïÅÜ©Î«Ø¥ß 
   root ªº±K½X:

   ==> chroot /iomega; passwd root

4.3.4.  ¦w¸Ëµ{¦¡©Ò«Ø¥ßªºªF¦è

   ------------------------------------------------------------------
   NOTE:
         ³o¬O¤@­Ó«D±`²³æªº³]©w¡A¤@­Ó§Ú©|¥¼¯à°÷´ú¸Õ¬O§_·|¤u§@ªº¡C ²z
         ½×¤WÀ³¸Ó·|¡A¦ý½Ð¤£­n°e§Ú¤£·|°Êªº©ê«è¡C
   ------------------------------------------------------------------

   ·í§Ú½¾\§Úªº Red Hat 4.2 ¥úºÐ¤ù®É¡A§Ú¬Ý¨ì¤@¨Ç¬Û·í¦³½ìªºªF¦è; ¦w¸Ëµ{
   ¦¡ªº­ì©lµ{¦¡½X¡C §Úµo²{¥¦¦b /misc/src/install ©M¤@­Ó¦³¥Îªº net.c ¡C   
   ¦b¸Ì­±¡A§Úµo²{¦w¸Ëµ{¦¡°õ¦æ®É¡A«Ø¥ßªº¨º¨ÇÀɮסC ¤j³¡¤À¥u¬O²£¥Íºô¸ô¤ä
   ´©(¬°¤°»ò¥s net.c)¡A§Y¨Ï§A¨S¦³ºô¸ô¥d¡A§A¤´µM¥i¥Î localhost ·í°µºô¸ô
   (¥[¤W Apache ·|©ê«èµLªk¨M©w¥D¾÷¦WºÙ(hostname))¡C ³o¨ÇÀÉ®×¥]§t:

             /etc/hosts
             /etc/HOSTNAME
             /etc/resolv.conf
             /etc/sysconfig/network
             /etc/sysconfig/network-scripts/ifcfg-eth0
             (or any other network device you may have.)
             (©Î§A¥i¯à¦³ªº¨ä¥Lºô¸ô¸Ë¸m¡C)


4.3.4.  ºô¸ôªº³]©w               

   ¥»¤å¤¤¡A§Ú»Ý­n¦³µ¹§Úªº 3COM 3c595 §Ö³t¤A¤Óºô¸ô¥dªººô¸ô¤ä´©¡C  (³o¥d
   ¦b«e´X­Ó¤ë¤¤³Q¥Î¦b¥t¤@³¡¾÷¾¹¤W¡C)

   ­º¥ý¡A§Ú»Ý­n¤@­Ó¦W¦r¡A¥B¦]§Ú¶]¤@­Ó¦Û¤vªº Name Server (³o¤S¬O¥t¤@­Ó
   ªø¬G¨Æ)¡A§Ú©w¤F³o­Ó¦W¦r: dash-dot.wig.org (§Ú´N¬O³ßÅw¥¦ªºÁn½Õ¡C) ¦³
   ¦WºÙ¥B¨S IP ¤]¬O¦³ÂIµL·N¸qªº¡A©Ò¥H§Ú¥Î¤F¤@­Ó«Dºô»Úºô¸ô«O¯d¥i¥Î
   192.168.10.0 ªººô§}¡A§Úªº Name Server ¤]¥Î³o­Ó¡C  §Y¨Ï¥D¾÷¦WºÙ³q±`
   ¦s¦b /etc/HOSTNAME ¤¤¡ARed Hat ·|¦b /etc/sysconfig/network ¤¤Àˬd³o­Ó
   ¦WºÙ; ©Ò¥HÅý§Ú­Ì±q¨º¶}©l¡C  §Úªº /etc/sysconfig/network ªº¼Ë¥»:

   ______________________________________________________________________
      NETWORKING=yes
      HOSTNAME=dash-dot
      DOMAINNAME=wig.org
      GATEWAY=
      GATEWAYDEV=eth0
      NS1=192.168.10.7
    ______________________________________________________________________

   ¦A¨Ó¡A°ò¥»¤W«þ¨©¦P¼Ëªº¸ê®Æ¨ì /etc/HOSTNAME¡A/etc/resolv.conf¡A©M
   /etc/hosts¸Ì:

   /etc/HOSTNAME:

   ______________________________________________________________________
       dash-dot.wig.org
   ______________________________________________________________________
       

   /etc/resolv.conf:

   ______________________________________________________________________
      search wig.org
      nameserver ns.wig.org
   ______________________________________________________________________
       

   /etc/hosts:
       
   ______________________________________________________________________
      127.0.0.1 localhost
      192.168.10.99 dash-dot.wig.org dash-dot
      192.168.10.7  ns.wig.org ns
   ______________________________________________________________________

   
   Red Hat ¦b /etc/sysconfig/network-scripts ªº°õ¦æ½Z¤¤³]©w©Ò¦³ªººô¸ô¸Ë¸m¡C
   ¥ô¦óºô¸ôªº³]©w³q±`­º¥ý¸g¥Ñ¦w¸Ëµ{¦¡«Ø¥ß¡A©Ò¥H§Ú¥²¶·¤â°Ê«Ø¥ß³o¨Ç³]©wÀÉ¡C
   ¥¦­Ì¥þ¬O¥Ñ ifcfg-xxx ¶}ÀY¡A¨ä¤¤ xxx ¬O ifconfig ±Ò°Êªººô¸ô¤¶­±; ¤ñ¦p¬O
   ppp0¡Aeth0 µ¥µ¥¡C  ¦b³o­Ó¨Ò¤l¤¤¡A§Ú¥²¶·«Ø¥ß¤@­Ó¥s ifcfg-eth0 ªºÀɮסA¤º
   ®e¥]¬A:
   ______________________________________________________________________
       DEVICE=eth0
       ONBOOT=yes
       BOOTPROTO=none
       BROADCAST=192.168.10.255
       NETWORK=192.168.10.0
       NETMASK=255.255.255.0
       IPADDR=192.168.10.99
   ______________________________________________________________________

   ³Ì«á¡A²{¦b¬°¤FÅý³o­Ó·|°Ê¡A·íÁÙ¦b /etc/sysconfig/network-scripts ªº¥Ø
   ¿ý¤¤®É¡A°õ¦æ:

   ==> ./ifup ifcfg-eth0 boot

   °²¦p¤¶­±³Q³]¦¨¦b¶}¾÷('boot')®É±Ò°Ê¡A³o±N·|±Ò°Ê³]¥ßºô¸ô¤¶­±ªº°õ¦æ½Z¡C

   §ó¶i¤@¨Bªº¸ê°T¡A½Ð°Ñ¦Ò NET-3-HOWTO ªº¤å¥ó¡C


5.  Slackware 2.2 ªº¦w¸Ë

   _____________________________________________________________________
   NOTE: 
             ³o³¡¤À¨Ã¥¼§ó·s¡C
   ______________________________________________________________________

 
5.1.  »Ý¨D

  · . ZIP ºÏ¤ù©M¾÷¤l («Ü©úÅã)
       
  · . ¦³ ZIP ¤ä´©ªº®Ö¤ß(Kernel)
         
  · . ZIP HOWTO (±À¯ò)
           
  · . ®æ¦¡¤Æªº 1.44" HD ºÐ¤ù

  · . ¤@¨ì¨â­Ó¤p®Éªº®É¶¡

5.2.  ¦w¸Ë

   ¦nªº¡A²{¦b¶}©l¦³½ìªº³¡¤À: §ä¥X¨º¨ÇÀɮ׻ݭn¦b¨t²ÎºÏ¤ù¤W¡A©M§A·Q­n(©M¯à
   ¶ë¶i)¨º¨Ç®M¥ó¦b§Aªº ZIP ¾÷¸Ì¡C


   §Ú¨M©w³Ì²³æªº¶}©l¤èªk¬Oª½±µ¦w¸Ë Slackware ¨ì ZIP ¾÷¤¤¡C  §Ú¨M©w³o¼Ëªº
   ¤èªk¥D­n¬O¦]¬° Slackware ¬O¤@­Ó¤ñ Red Hat ¤pªºµo¦æª©¡A¥B¥¦¥i¯à¤ñ¸û®e©ö
   °£¥h§Ú¤£·Q­nªº¡C  ¨º­Ó©MµL½×¦p¦ó§Ú¬O¥Î Slackware ªºµo¦æª©¨Ï¥¦¦¨¤F¤@­Ó
   ©úÅ㪺¿ï¾Ü¡C

   ¦w¸Ë Slackware ¨ì ZIP ºÏ¤ù¤¤¬O²³æªº¡A·í root °õ¦æ³]©wµ{¦¡¡A©M¿ï¾Ü 
   /iomega ¬°¦w¸Ëªº¤À°Ï¡A³]©w Slackware ¨Ó·½ªº¤À°Ï (¥úºÐ¡AµwºÐµ¥µ¥)¡A
   ¿ï¾Ü install ©MÀHµÛÅã¥Ü¦æ°Ê¡C


5.3.  ¦w¸Ë¨º¨ÇªF¦è

   ³ÌÃøªº³¡¤À¬O¨M©w¨º¨Ç­n¥[¤J¡A¨º¨Ç¤£­n¡C©úÅã¦a¡A§A±N»Ý­n 'A' ¨t¦C(¤j¬ù
   8MB)¡A¨ä¥L´NÀH«K§A¤F¡C


   §Ú³Ì«á¯à§â Slackware ª©ÁY¤p¨ì¥O¤H´L·qªº 70MB ¦w¸Ë¡A¨ä¤¤¥]§t¤F gcc/g++¡A
   perl¡AX11R6(¤£¬O¥þ³¡!)¡Asendmail¡A½u¤W¤å¥ó(¤Ö¥h¥þ³¡ development man
   pages¡A¦ý¥]§t©Ò¦³ªº HOWTO)¡A©M¤@¨Ç¦nªFªF¡A¦P®É³Ñ¤U¤j¬ù 10MB µ¹¨Ï¥ÎªÌ
   ÀɮץΡC 


6.  ³]¥ß /etc/fstab 

   (¦@³q©ó Red Hat ©M Slackware µo¦æª©)

   ¦b­«¶}¾÷«e¡A³Ì«á¤@¥ó»Ý­n°µªº¬O¦b±N·|¦¨¬°®Ú¤À°Ï(root partition)¤W³]¥ß
   fstab ÀɮסC  ¤U­±¬O§A¦b /iomega/etc/fstab ¤¤³Ì¤Öªº»Ý¨D:

   ______________________________________________________________________
      /dev/sda1      /         ext2        defaults   1   1
      /dev/sda2      none      swap        sw
      none           /proc     proc        defaults   1   1
   ______________________________________________________________________


   ¦sÀÉ¡A¥Î·s°µªº¶}¾÷ºÏ¤ù­«¶}¾÷©M¶}©l¨É¨ü!

   (¯S§O·PÁ Mike ´£¿ô§Ú³o«D±`­«­n¥B¥²­nªº¨BÆJ¡C --- John)


7.  Debian ªº¦w¸Ë

    ______________________________________________________________________
    NOTE: 
          ¥»¸`ªº§@ªÌ¦b June 11, 1997 §â³o³¡¤À±Hµ¹§Ú¡C
    ______________________________________________________________________


7.1.  »Ý¨D

   . ¦Lªí¾÷°ðªº ZIP ¾÷©M ZIP ºÏ¤ù
   
   . ¨â¤ù 1.44MB ªºªÅ¥ÕºÏ¤ù
         
   . ¤@®M§¹¾ãªº Debian ¦w¸ËºÏ¤ù (°²¦p§A¤£°O±o¦p¦ó»s°µ³o¨ÇºÏ¤ùªº¸Ü¡A½Æ²ß 
      Debian ªº¦w¸Ë»¡©ú¤å¥ó¡C) 
   . ´X­Ó¤p®Éªº®É¶¡


7.2.  ·§½×

   ¦b»P dpkg ³Õ°«¤F¼Æ¤p®É«á¡A§Ú¨M©w­Y­×§ï Debian ªº "Rescue" ºÏ¤ù¯à°÷¿ë»{
   ppa ZIP ¾÷¥i¯à¤ñ¸û²³æ¡C  ³o¸gÃÒ©ú¬O«D±`®e©öªº¡C  §A¥i¥H¥Î³o­×§ï«áªººÏ
   ¤ù¥h¶i¦æ¥¿±`ªº Debian base system (°ò¥»¨t²Î)¦w¸Ë¡C  ¤@¥¹§¹¦¨¤F°ò¥»¨t²Î
   ªº¦w¸Ë¡A§A¥i¥H¨Ï¥Î¶}¾÷ºÏ¤ù(Boot disk)¥h±Ò°Ê·sªº°ò¥»¨t²Î©M¥Î dselect §¹
   ¦¨¦w¸Ëµ{§Ç¡C  ¬°¤F­n¥Î³o­Ó§Þ³N¡A§A¥²¶·­n³y¨â­Ó®Ö¤ß(Kernel) -- ¤@­Ó¦³
   ppa ©M ªì©l RAM disk ¤ä´©¡A¥t¤@­Ó¨S¦³ RAM disk ¤ä´©¡C

   °²¦p§AÄ@·Nªº¸Ü¡A¥i¸õ¹L²Ä¤G¸`¤¤©Ò¦³ªº¨BÆJ¡A¦ÓÅý Debian ªº¦w¸Ëµ{§Ç­t³d¬°
   §A®æ¦¡¤Æ ZIP ºÏ¤ù¡C


7.3.  «Ø³y­×§ïªº Rescue disk

   Debian Rescue disk ¬O¤@ºØ SYSLINUX ¦¡ªº¶}¾÷ºÏ¤ù¡A¨ä¨Ï¥Î DOS ®æ¦¡¤ÆªººÏ
   ¤ù©M¤@­Ó¯S®íªº¶}¾÷µ{¦¡¸ü¤J¾¹(Boot loader)¥hÁקK¸ü¤J MSDOS¡C ³o¨ÇºÏ¤ù«D
   ±`®e©ö­×§ï¥h¶}µo²Å¦X¦Û¤v»Ý¨Dªº¶}¾÷³]©w¡C  Debian ªº'boot-floppies'®M¥ó
   ¥]§t¦³¤@²Õ°õ¦æ½Z¥h¦Û°Ê°õ¦æ«Ø³y¶}¾÷ºÏ¤ùªºµ{§Ç¡C  µM¦Ó¡A¥¦¬O¦p¦¹¥~ªº®e©ö
   ¡A§Úµo²{¥Î¤â°Êªº¤è¦¡¤ñ¸û²³æ¡C  ³oÁöµM¦³ÂI°¾Â÷¤F Debian ªººë¯«¡A¦ý§Ú§¹
   ¦¨¤F :) ¡C  Rescue ºÏ¤ù¤¤ªº 'readme.txt' Àɮ׸̦³Â²²¤ªº»¡©ú¡C


7.3.1.  ¨Ï¥Î dd (©Î¬O DOS ¤¤ªº RAWRITE) «Ø³y·sªº Rescue disk

   °²¦p§A¤£°O±o¦p¦ó°µªº¸Ü¡A½Æ²ß Debian ªº¦w¸Ë¤å¥ó¡C


7.3.2.  ³y¤@­Ó¦³ ZIP ppa ¤ä´©ªº®Ö¤ß(Kernel)

   (¦p 3.3.1 ªº¨BÆJ)³y¤@­Ó¦³ ZIP ppa ¤ä´©ªº®Ö¤ß(Kernel)¡A¦ý¤]­n³W¹º RAM
   disk ©M initial RAM disk support(ªì©l RAM disk ¤ä´©)¡C  §A¤]»Ý­n³W¹º
   msdos, fat, minix, ext2fs, ©M procfs Àɮרt²Î¡C


   ¦P®É³]¥ß¥ô¦ó§A·Q­n¦b ZIP ºÐ¤ù¤W³Ì²×¦w¸Ëªº¼Ò²Õ¡C  
  ²
   ¤@¥¹®Ö¤ß(Kernel)³W¹º¦n«á¡A¥Î:

   ==> make dep; make clean

   ==> make bzImage

   «Ø³y¼Ò²Õ¥Î:

   ==> make modules

   §A·|¦b«á¨Ó¦w¸Ë³o¨Ç(¼Ò²Õ)¡C
   ______________________________________________________________________
   NOTE: 
         ½T©w§A­n¥Î  'make bzImage'¦Ó¤£¬O 'make zImage'¡C
   ______________________________________________________________________


7.3.3.  ±¾¤W·sªº Rescue disk


   ==> fdmount fd0

   ©Î
       
   ==> mount /dev/fd0 /mnt
                       
   ©Î  

   ==> whatever :)  (ÀH«K§A)
    

7.3.4.  «þ¨©®Ö¤ß(Kernel image)

   «þ¨©®Ö¤ß(Kernel image)(¦b i386 ªº§@·~¥­¥x¤W¡A¥¦¦ì©ó arch/i386/boot/bzImage)
   ¨ì³nºÐªº 'linux'¤W¡C
  

7.3.5.  ½s¿è 'rdev.sh' °õ¦æ½Z(Script)

   ¥Î§A³Ì³ßÅwªº½s¿è¾¹¶}±Ò¦ì©ó Rescue disk ¤Wªº 'rdev.sh' °õ¦æ½Z(Script)¡C
   ­×§ï³Ì«á¤@¦æ:

   ¥Ñ   --:

         'rdev /mnt/linux /dev/ram0'

   Åܦ¨ --:

         'rdev /mnt/linux /dev/sda1'


   §A¤]»Ý­n§ïÅÜ©Ò¦³ªº /mnt/linux ¦¨¥¿½Tªº¸ô®|(Path)¡C  ¦]§Ú±¾¸ü§Úªº³nºÐ
   ¦b /fd0 ¡A§Ú¥²¶·§ïÅÜ /mnt/linux ¦¨ /fd0/linux ¡C


7.3.6.  °õ¦æ­×§ï«áªº 'rdev.sh' °õ¦æ½Z(Script)

   ==> ./rdev.sh
   

7.4.  ¦w¸Ë°ò¥»¨t²Î¨ì ZIP ¾÷

   ¥Î­×§ïªº Rescue disk ¶}¾÷¡C  °²¦p¤@¤Á¥¿±`¡A§A±N·|±o¨ì¼ô±xªº Debian ªº
   ¿ï³æ¦¡ªº¦w¸Ë¹Lµ{¡A°£¤F¥¦²{¦b»{±o§Aªº ppa ZIP ¾÷¡C  ¹³¦w¸Ë¨t²Î¨ì¥¿±`µw
   ºÐ¤@¼Ë¶i¦æ¡A¦ý±¾¸ü /dev/sda1 ¦¨®Ú¥Ø¿ý¸Ë¸m(root)©M±Ò©l /dev/sda2 ¦¨ 
   swap ¡C

   ¦³¤@­Ó»P¼Ð·Ç¦w¸Ë¸m¹Lµ{¤£¦Pªº¦a¤è -- ¤£­n¦w¸Ë©Î³W¤Æ¥ô¥i¸ü¤J¦¡ªº¼Ò²Õ
   (Loadable Module)¡C §A±N·|¦bµy«á¦w¸Ë§A¦b¨BÆJ 7.3.2 ¤¤«Ø³yªº¼Ò²Õ(Module)¡C


7.5.  «Ø³y¶}¾÷ºÏ¤ù(Boot disk)

   §A¥i¥H¦p¨BÆJ 3.3.1 ¨ì 3.3.2 ¤@¼Ë«Ø³y¶}¾÷ºÏ¤ù¡A©Î§A­nªº¸Ü¡A´N¨Ï¥Î Debian 
   ¦w¸Ë¹Lµ{ªº "Create Boot Disk"(«Ø³y¶}¾÷ºÏ¤ù) ªº¿ï¶µ¡C  §Ú³ßÅw²Ä¤G­Ó¤èªk¡A
   ¦]¬°§Ú¥i¥H±o¨ì¥t¤@¤ù SYSLINUX ¶}¾÷ºÏ¤ù¡A³o¥iÅý§Ú½s¿è¤@­Ó¥i¥Hªí¹F¦Û©wªº¶}
   ¾÷ºÏ¤ù©Ê½èªº°Ý­Ô°T®§©M¿é¤JÃB¥~ªº®Ö¤ß°Ñ¼Æ(Kernel argument)¡C  §A¬Æ¦Ü¥i¥H
   ¥[¤J¥i¸g¥Ñ¥\¯àÁä(Function key)¨ú±oªº»¡©úÀÉ®×(Help file)¡C  §Aµy«á¤´µM¥i
   ¥H­««Ø®Ö¤ß(Kernel)©M¤â¤u­×§ï³o¶}¾÷ºÏ¤ù¥h°£ RAM disk ¤ä´©¡C  §Aªº¿ï¾Ü¡C


7.6. ­«·s±Ò°Ê¨t²Î

   ´¡¤J§Aªº¶}¾÷ºÏ¤ù¨Ã¦b¦w¸Ë¿ï³æ¸Ì¿ï¾Ü 'Reboot'(­«¶}¾÷) ªº¿ï¶µ¡C


7.7. ³W¹º°ò¥»¨­¨t²Î©M§¹¦¨¦w¸Ë¸mµ{§Ç

   ·í¨t²Î­«·s¶}¾÷«á¡A§A±N·|¦³¤@­Ó¦b ppa ZIP ¾÷¤W½wºC¦ý§¹¥þ¥i¤u§@ªº Debian
   °ò¥»¦w¸Ë¡C  ³o®É¦p¥¿±`¦w¸Ë¤@¼Ë¶i¦æ¡C  §Ú¦w¸Ë¤F©Ò¦³ªº´¶³qªº Unix ¤u¨ã¡A
   ªþ±aµÛ¤å¥ó¶°¡Amake¡Agcc¡A¨ç¦¡®w©M¦UºØ¦³¥ÎªºÀɮ׳B²z¤u¨ã¡C  ³Ì«áªºµ²ªG¬O
   ¤@­Ó«D±`±j¤jªººò«æ¶}¾÷¨t²Î¡A¥iÅý§Ú¥Î¨Ó¦bºò«æ®É¸Ñ±Ï¥ô¦ó§Ú³¡ªù¸Ìªº¨t²Î¡C

   ______________________________________________________________________
   NOTE: 
        §A¦Ü¤Ö±N»Ý­n¦w¸Ë 'make'¥h§¹¥þ¤U¤@¨BÆJ¡C
   ______________________________________________________________________


7.8.  ¦w¸Ë¦b¨BÆJ 7.3.2 ¤¤«Ø³yªº¼Ò²Õ(Module)

   °²¦p¦³¦b«e¤@¨BÆJ¦w¸Ë make ¡A§AÀ³¸Ó¥i¥H±¾¤W¥]§t¦³§A«Ø³y®Ö¤ß(Kernel)ªºµwºÐ
   ¤À°Ï¡Acd (§ïÅÜ)¨ì¥¿½Tªº¥Ø¿ý©M°õ¦æ 'make modules_install' ¡C  ¤U­±¬O§Úªº
   °µªk:

   ==> mount /dev/hda2 /mnt

   ==> cd /mnt/usr/src/linux

   ==> make modules_install

   ______________________________________________________________________
   NOTE:  ¦p¨BÆJ 5 ©Ò»¡¡A§A±N¤£»Ý­n­×§ï /etc/fstab ÀɮסC  Debian ªº¦w¸Ë
           ¹Lµ{¤w¸g³B²z¤F¨º³¡¤À¡C
   ______________________________________________________________________



8.  «á¨¥

   «u¡N³Ü!  ¦b²Ö¿n 31¤ù ZIP ºÐ¤ù©M¤@¥] ZIP unleashed ¹q¦À¤§«á¡A§Ú¤U¤@­Ó
   ¹êÅç¬O¸ÕµÛÅý§Úªºµ§°O«¬¹q¸£ªº pcmcia ¥i¤u§@¡C