LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-21-2005, 08:46 AM   #1
SonicGT
Member
 
Registered: Oct 2004
Posts: 38

Rep: Reputation: 15
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix.


Well, I decided to change from Grub to Lilo. However, that might of not been such a good idea, for I couldn't find a good model for my lilo.conf and thus screwed it up. Now I can't get to Debian because of it. However, I have a Knoppix Live Cd handy and am trying to use it to remodify lilo.conf to get it right. How would I go on doing this, and would be a right lilo.conf for Debian if hda1 is / and hda3 is /home?
 
Old 08-21-2005, 11:30 AM   #2
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
Be sure to have "boot=/dev/hda" in the main config of lilo.conf, it should already be like that if you've installed lilo.
A typical lilo boot stanza would look like this (without the comments of the default file):
Code:
image=/path/to/kernel
	label=Linux
	root=/dev/hda1
	initrd=/path/to/initrd/if/applicable
	read-only
Info on using knopppix for rescue:
clicky clicky

HTH

Last edited by rbochan; 08-21-2005 at 11:34 AM.
 
Old 08-21-2005, 01:15 PM   #3
SonicGT
Member
 
Registered: Oct 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Yay, I was able to get back to Debian! It seems that the problem was me forgetting about my initrd. Thanks.
 
  


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 to LILO from Grub t-peters1975 Slackware 6 08-23-2004 01:05 PM
Switching to GRUB from LILO tjtoed Linux - Software 4 11-01-2003 11:57 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM
Switching from LILO to GRUB magnusprime Mandriva 2 09-10-2003 05:09 AM
I Messed Up My LiLo.Conf DOS Partition Entry...Help? fortezza Linux - General 5 05-11-2003 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:37 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