Next Previous Contents

5. Xrhsimopoiwntas to Lilo otan to BIOS den mporei na dei to Root partition

Exw dyo diskoys IDE, kai enan disko SCSI. To BIOS den mporei na dei to SCSI disko moy. O Linux Loader, to Lilo, xrhsimopoiei klhseis toy BIOS kai mporei na dei diskoys poy mono to BIOS mporei na dei. To koyto AMI BIOS moy 8a jekinhsei mono apo to "A:" h to "C:". To root susthma arxeiwn moy einai ena partition sto SCSI disko.

H lush egkeitai sthn apo8hkeysh toy pyrhna, toy arxeioy apeikonishs (map file), kai toy chain loader se ena Linux partition sto prwto IDE. Shmeiwste oti den einai aparaithto na kratate to pyrhna sas sto root parition sas.

To deutero parition toy prwtoy IDE diskoy moy (/dev/hda2, to Linux parition poy xrhsimeye gia thn ekkinhsh toy systhmatos) einai mounted sto /u2. Parakatw akoloy8ei to arxeio /etc/lilo.conf poy xrhsimopoiw.

#  Install LILO on the Master Boot Record
#  on the first IDE.
#
boot = /dev/hda
#  /sbin/lilo (the installer) copies the LILO boot record
#  from the following file to the MBR location.
install = /u2/etc/lilo/boot.b
#
#  I wrote a verbose boot menu.  LILO finds it here.
message = /u2/etc/lilo/message
#  The installer will build the following file. It tells
#  the boot-loader where the blocks of the kernels are.
map = /u2/etc/lilo/map
compact
prompt
#  Wait 10 seconds, then boot the 1.2.1 kernel by default.
timeout = 100
#  The kernel is stored where BIOS can see it by doing this:
#      cp -p /usr/src/linux/arch/i386/boot/zImage /u2/z1.2.1
image = /u2/z1.2.1
        label = 1.2.1
#  LILO tells the kernel to mount the first SCSI partition
#  as root.  BIOS does not have to be able to see it.
        root = /dev/sda1
#  This partition will be checked and remounted by /etc/rc.d/rc.S
        read-only
#  I kept an old Slackware kernel lying around in case I built a
#  kernel that doesn't work.  I actually needed this once.
image = /u2/z1.0.9
        label = 1.0.9
        root = /dev/sda1
        read-only
#  My DR-DOS 6 partition.
other = /dev/hda1
        loader=/u2/etc/lilo/chain.b
        label = dos
        alias = m


Next Previous Contents