LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   can't install lilo at all! (https://www.linuxquestions.org/questions/slackware-installation-40/cant-install-lilo-at-all-447493/)

edesmarais 05-22-2006 06:42 PM

can't install lilo at all!
 
I get through every part of the slackware 10.2 install EXCEPT for the installation of LILO. I have tried choosing various kernels from the CD (base/baseACPI/default) and nothing works. I have tried to install LILO on the MBR and the superblock separately. Neither option works. I just get an error saying that LILO could not be installed. This obviously leaves me with a non-bootable system. I don't know how to get to the lilo.conf file from the installation. I am a newbie. I apologize. Somebody please help. I will give whatever information is necessary.

Thanks!
Evan

slackhack 05-22-2006 06:52 PM

not necessarily non-bootable. you could (and should) try booting from the install CD, with the bare.i kernel at the command prompt: boot: bare.i root=/dev/hdx where hdx is the filesystem you have your root partition. when you're booted, you can make a simple /etc/lilo.conf and try installing lilo again, or running it from the pkgtool script, etc.

Bruce Hill 05-22-2006 07:05 PM

One minor bit of correction to slackhack's post. The command should be:
Code:

bare.i root=/dev/hdax noinitrd ro
where hda is the drive and x is the / (root) partition. And if you don't issue the "noinitrd ro" with it, well, you'll see. ;)

Then you can login as root and issue "pico /etc/lilo.conf" and fix it, then issue "lilo" and try rebooting without the CD.

If that doesn't fix it, post where your / (root) partition is located and what you have in /etc/lilo.conf for us to help.

edesmarais 05-23-2006 05:20 PM

Thanks to both of you! I followed your instructions and then manually installed lilo and I can now boot. I really appreciate this.

Thanks again,
Evan

Bruce Hill 05-23-2006 05:23 PM

edesmarais,

Glad you're booting with LiLO. If you become a Slacker, you might want to change the Distribution in your UserCP; so folks will know what OS you're running.

slackhack 05-23-2006 05:37 PM

excellent! glad you got it, thanks to Chinaman's fix to my ADD post (gotta slow down the typing :D).


All times are GMT -5. The time now is 06:53 AM.