LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-11-2012, 04:25 AM   #1
nigat
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
reinstalling lilo.conf


Hi,
I have installed slack 13.37,dual boot with windows xp 64,and i got this error message during boot:
99999999999999999999999999999999999999999999
9999999999999999999999999999999999999.....
I fix the windows with fixmbr command,but now i can only boot my linux from cd image and when i type lilo it gives me :
[root@nigat source] # lilo
Fatal: Cannot open: /etc/lilo.conf
Any ideas how can i fix this?
 
Old 11-11-2012, 04:52 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
It's been a while since I used Lilo. IIRC that error indicates that Lilo can't see the partition or the wrong partition is listed for the root or boot partitions. After booting from your cd, if it boots into your system, check /etc/lilo.conf for errors. Pay close attention to the partition names. Run lilo to update the mbr. If you are in the rescue mode, you are running in memory in the initrd environment. You will need to mount the real / partition and chroot to it so it can find the real /etc/lilo.conf file.
 
Old 11-11-2012, 08:26 AM   #3
nigat
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ok,I fix it,not sure how exactly,but i went to the source dir on the cd image and issued liloconfig command and bam..,everything was alwright
 
  


Reply


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
[SOLVED] Edit lilo.conf, run /sbin/lilo, but lilo won't take changes lukameen Slackware 2 02-10-2012 12:10 PM
reinstalling lilo htamayo Linux - Newbie 1 12-19-2006 12:21 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
reinstalling lilo deft Linux - Software 8 04-08-2004 10:03 AM
LILO reinstalling help Andrew Hruska Slackware 3 01-05-2004 08:53 PM

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

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