LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lilo help (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-help-530154/)

noonmid27 02-18-2007 10:38 AM

Lilo help
 
Hi guys

A few days ago i added the suse 10.2 kernel to lilo.conf. after i did that i tried to boot into slackware 11, during the boot process i got a message saying kernel panic. I then tried to launch suse 10.2 and i was unable to get X. What i tried to do was use knoppix to reconfigure the lilo.conf, the problem i am having is im not able to write to slackware lilo.conf from knoppix. how can i write to lilo.conf from knoppix, i found the problem i just need to know how to edit the file now.

tredegar 02-18-2007 11:14 AM

Quote:

problem i am having is im not able to write to slackware lilo.conf from knoppix
Has knoppix mounted your slack partition as "read-only"?

If so, then either remount it as R/W, or just save a copy of the corrected lilo.conf on your knoppix desktop.

Then to install lilo:
/sbin/lilo -C /path/to/knoppix/Desktop/lilo.conf -b /dev/hda

The "-C" option specifies where to find the lilo.conf file if it is not in the default place (/etc/lilo.conf)
The "-b" option specifies where lilo will be installed ("/dev/hda" will put it on the MBR of your first disk)

saikee 02-18-2007 12:43 PM

You can get root privilege in Knoppix Live CD terminal by typing "su" as the password will be waived.

Therefore just a matter of mounting the relevant partition, do the editing and restore Lilo.

tredegar has already given you the lead. If you want an alternative view take a look at Task B3 in the last link in my signature.


All times are GMT -5. The time now is 10:49 PM.