Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-18-2007, 11:38 AM   #1
Registered: Sep 2006
Posts: 79

Rep: Reputation: 15
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.
Old 02-18-2007, 12:14 PM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,110

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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)
Old 02-18-2007, 01:43 PM   #3
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 05:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 07:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration