LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-18-2007, 10:38 AM   #1
noonmid27
Member
 
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, 11:14 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

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

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


Reply



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 01:15 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04: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 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 AM.

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