# # Original File # ------------- # http://Linux-Boot.net/Chroot/chroot.lilo.txt # # # ... Lilo-Mini-Howto/lilo-mini-howto/x167.html # # 20-Jan-02 amo Date-of-Birth # 15-Aug-04 amo Moved to Linux-Boot.net/Chroot/chroot.lilo.txt # # # Installing hdc to Boot as hda and Using bios # --------------------------------------------- # mount /dev/hdc /mnt # cd /mnt; chroot . sbin/lilo -C /etc/lilo.conf.hdc # # # # # # if / and /boot is on different partitions # # # mount /dev/hda1 /mnt # mount /dev/hda2 /mnt/boot # chroot /mnt /sbin/lilo # # # # # # if you need to specify -t ext2 # # # mount -t ext2 /dev/hda1 /mnt # chroot /mnt # /sbin/lilo # # - or - # chroot /mnt /sbin/lilo # # # # # # boot a install cdrom # # # cd / # ls -la /mnt/sysimage # chroot /mnt/sysimage # .... # /sbin/lilo -c /etc/lilo.conf # # # End of File