Click to See Complete Forum and Search --> : add lilo from cdrom/ramdisk


tecknophreak
01-22-2002, 06:09 PM
ok, last post about all of this, promise.

ok, so i've got my bootable cdrom, it boots up the ramdisk, i partition, format, transfer files over to a new harddrive...now how can i run lilo so that it places lilo on the harddrive's mbr? yeah, then it's all done.

slapNUT
01-22-2002, 07:43 PM
You should do a chroot. If for example the Linux partition is mounted at /mnt/hda2 then
chroot /mnt/hda2
/sbin/lilo
That should do it. If you're not sure where linux is mounted just mount should show you all the mounted devices and partitions.

tecknophreak
01-22-2002, 10:03 PM
riiiiight... :D

saw that along the way, but i forgot about it. thanks! my project(sub) is finally complete! or it will be tomorrow when i get back into work.