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 =\ |
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?
|
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. |
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:). |
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". |
thanks aussie got it. :D
|
Glad I could help :-)
|
All times are GMT -5. The time now is 12:44 PM. |