hdc
gia na jekinaei san hda
To Lilo sas epitrepei na kanete map to image toy pyrhna apo ena disko kai na dwsete entolh sto BIOS na to anakta apo diaforetiko disko. Gia paradeigma, einai koinotopo gia mena na egkatasthsw to Linux se ena disko ston opoio syndeomai sto hdc
(master diskos toy deuteroy controller) kai na to ekkinhsw san standalong susthma ston primary IDE controller enos alloy ypologisth. Antegraca thn disketa egkatastashs
se ena mikroskopiko partition, wste na mporw na ektelw to chroot se mia virtual konsola gia na egkatasthsw to hdc
enw xrhsimopoiw to susthma gia kati allo.
To arxeio lilo.conf poy xrhsimopoiw gia na egkatasthsw to Lilo moiazei me:
# This file must be used from a system running from /dev/hdc boot = /dev/hdc # overwrite MBR of hdc disk = /dev/hdc # tell how hdc will look like: bios = 0x80 # the bios will see it as first drive delay = 0 vga = 0 image = /boot/vmlinux # root partition is /dev/hdc1 root = /dev/hda1 # hdc1 at boot will be hda1 label = Linux read-only
Ayto to arxeio ru8mishs prepei na diabastei apo ena Lilo poy brisketai sto /dev/hdc1. Oi apeikoniseis toy Lilo poy grafthkan sto boot sector
(/dev/hdc
) prepei na sebastei ta antigrafa toy vmlinux
kai toy
/boot/boot.b
ta opoia 8a einai dia8esima kata th diarkeia ekkinhshs, p.x.,
ta antigrafa sto hdc
.
Onomazw Ayto to arxeio ru8mishs /mnt/etc/lilo.conf.hdc
kai
egka8istw to Lilo kalwntas to ``cd /mnt; chroot . sbin/lilo -C
/etc/lilo.conf.hdc
'' ka8ws to /dev/hdc1
exei ginei mount katw apo to
/mnt
.