LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   reinstall lilo (https://www.linuxquestions.org/questions/slackware-installation-40/reinstall-lilo-177691/)

nixel 05-04-2004 07:30 AM

reinstall lilo
 
well. i screwed up the re-installation of slackware 9.1 and i need to reinstall lilo. but when i load the cd and go to "configure" the damn thing just wont go! any suggestions?

edit: i didnt create a bootdisk/rescue disk...whatever its called =\

Aussie 05-04-2004 07:48 AM

The Slackware CD can be used as a rescue disk, just type "linux root=/dev/your-root-partition" at the boot prompt (where you would type bare.i if you were installing), and when you say "reinstall lilo" do you mean reinstall the lilo package or reinstall lilo to the MBR?

kilgoretrout 05-04-2004 07:49 AM

If you have a knoppix cd, you can boot into knoppix from the cd and run lilo from a chroot enviroment by opening a console and running:

$ su
<hit "Enter" key>
# umount /mnt/hdxx
# mount /dev/hdxx /mnt/hdxx
# chroot /mnt/hdxx
# lilo -v

where "xx" corresponds to the location of your slack root partition.

nixel 05-04-2004 07:49 AM

thanks for the reply. what does "linux root=/dev/your-root-partition" do? just want to know what im doing while im doing it. and when i say reinstall lilo i mean reinstall it to the MBR.

kilgoretrout: i dont have knoppix, but thanks anyways:).

Aussie 05-04-2004 08:08 AM

It boots your slackware install, replace /dev/your-root-partition with the location of your root partition, for mine it would be /dev/hde2, the second partition on my first sata drive.
Primary Master = /dev/hda
Primary Slave = /dev/hdb
Secondary Master = /dev/hdc
Secondary Slave = /dev/hdd
To reinstall lilo to the MBR just login as root, open your lilo.conf in mcedit with "mcedit /etc/lilo.conf", check to see that it's all correct, save with <F2> and then run lilo, you can use the -t option to test first without writing to the MBR, "lilo -t".

nixel 05-04-2004 09:01 AM

thanks aussie got it. :D

Aussie 05-04-2004 05:20 PM

Glad I could help :-)


All times are GMT -5. The time now is 12:44 PM.