On Wednesday 12 September 2001 20:10, Oscar wrote: > El Mi� 12 Sep 2001 19:58, escribiste: > > Hi, > > > > Yesterday I lost my lilo boot sector, so I had to re-install LM8.0. It > > installed 6 more menus in it's boot setup. I don't know how to take them > > out. I read the lilo manual and there's nothing in there to tell you how > > to take them out. Does anyone here know, and if so, I'd appreciate it if > > you would share that knowledge with me. Thanks. > > > > Guy > > Edit /etc/lilo.conf as root and remove the sections you don't want. > > Example of section: > > image=/boot/vmlinuz > label=failsafe > root=/dev/hda1 > (...) > > Another example: > other=/dev/hda3 > label=windows > table=/dev/hda > > Remove the sections you don't want, save lilo.conf, run lilo and reboot to > see the chages. > (of course, be carefully when removing sections ;-) > Salu2 > �scar. What he said.... PLUS Losing a boot sector is not a reason to reinstall. Take the install CD and boot, hitting F1 at the splash screen and typing "rescue" (without the quotes). If you know what your partition that mounts as / is, then it is easy. If not, you get a list of the partitions with fdisk -l /dev/hda and then do a trail and error until you find it with the instructions below and reboots if it fails. (The developers put an autolocator in 8.1 so you don't have to try that any more--nice guys that they are, especially gc) The # is the system prompt--the rest you type. # mount /dev/hda6 /mnt # chroot /mnt # lilo That will rebuild your boot sector. If hda6 isnt the one to mount as / then you get an error message response to the chroot command. Civileme
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
