LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-09-2007, 12:23 PM   #1
David_Neo
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Rep: Reputation: 0
Unhappy Unable to boot Suse Linux 10.1 from LILO


I've been working with Suse 10.1 (final ver.) for about 4 months now, so I'm still a newbie. Everything has been working pretty good on my Toshiba Satellite A-100 SP 621, including XGL, however just recently, out of curiosity I decided to switch from GRUB to LILO and now I can't boot to Linux, because LILO shows only the Windows and Failsafe options. Using failsafe then, I located the /etc/lilo.conf file and been trying to add the lines to load regular Linux but even though the changes are saved, it continues to show those 2 options only. I don't know if I should be looking for some other files instead. Can't someone tell me how to fix the Lilo.conf or how to get back to GRUB from Failsafe?? Please help!!!!

Last edited by David_Neo; 04-09-2007 at 12:38 PM.
 
Old 04-09-2007, 02:05 PM   #2
silencestone
Member
 
Registered: Mar 2006
Location: USA
Distribution: [Current: Ubuntu, openSUSE, Arch] | {Past: Vector, Deli, Mint, Wolvix, OpenSUSE, Slackware, Puppy}
Posts: 71

Rep: Reputation: 15
After modifying /etc/lilo.conf, and saving that file... do you run /sbin/lilo? You have to do that after changing anything in lilo. Then reboot, and see if it boots.

You may have to "whereis lilo" if the program isn't in /sbin.

HTH
 
Old 04-09-2007, 02:07 PM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
One of the differences between Lili and Grub is you need to write the Lilo configuration changes to the MBR after editing the lilo.conf file. This is done as root with the command '/sbin/lilo' Once that is done your changes should show up.
 
Old 04-09-2007, 03:05 PM   #4
David_Neo
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Original Poster
Rep: Reputation: 0
I'll try that

Thank you for your quick reply. I'm not at home right now so I won't be able to try it for a couple of hours yet, but since I'm a newbie I gotta ask. What do I exactly need to do in /sbin/lilo ???? Sorry to bother you but I'm still learning and none of my friends use Linux.
 
Old 04-09-2007, 03:21 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
The changes you make in lilo.conf are not written to the MBR until you run /sbin/lilo. When the system boots, teh MBR is where the menu of selections is, so if you don't write the changes out, you don't see them.
 
Old 04-09-2007, 08:21 PM   #6
David_Neo
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, now I really messed up guys. I was able to fix the original issue. It turns out, I had already changed the lilo.conf file correctly but all I needed to do was apply the changes, so thanks for that advice.

So I got to regular Linux and the first thing on my mind was to get rid of LILO and get back to GRUB. So, I went and made the changes from Yast2, everything was supposed to be fine, but after I click OK to try to save the changes, the hourglass stopped at 50% and never went off. I waited for about 10min and then decided to hard reboot the system. I restarted the computer and was able to go back to Linux, and tried to make the changes again. I noticed that GRUB was already selected, so all I did was click on OK again and the same thing happened, it locked at 50%. So after a second hard reboot now the system won't go back and it says:

RAMDISK: couldn't find valid RAM disk image starting at 0
VFS: cannot open root device "806" or unknown-block (8,6)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (8,6)


I think I have an idea what it means, but now it just locks there and there's no way I can append it. Can it be fixed?? or am I screwed now??? isn't there a way to roll back or use the Suse DVD to fix it???

Last edited by David_Neo; 04-09-2007 at 08:24 PM.
 
Old 04-10-2007, 10:28 AM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
It can be fixed. What I'm not sure of, is Grub installed correctly or not. I'm sure the entries in /boot/grub/menu.lst are not correct.

If the system will not boot from the hard drive, you should still be able to boot from CD or DVD, what ever you installed from. I don't use Suse, so I'm not familiar with how to get a command prompt from the install media. If you know how to get a command prompt, boot the system, and mount your linux boot drive. Then you can edit your /boot/grub/menu.lst file. If you are not sure what to change, post what you have. We'll need to know what partition /boot is on. It can be fixed, don't panic...
 
Old 04-10-2007, 08:14 PM   #8
David_Neo
LQ Newbie
 
Registered: Apr 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Ok guys, I got it. I used the installation DVD and selected the update option, and since /home/ is on a different partition, I didn't lose any files, and my configuration and settings remained the same. It only took about 10min. I want to thank you all for all your help and guys, and if there's anything a can do for you (I'll try my best since I'm a newbie) I'll be there for you, that applies for windows issues too (which I'm pretty good at). Thank you again, and quoting my man camorri,

cheers.
 
Old 04-11-2007, 09:22 AM   #9
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You are welcome, glad to help.
 
  


Reply

Tags
lilo, liloconf



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
Suse linux 10.0 unable to boot with X-window, it resets automaticlly pp365 Linux - Hardware 1 08-25-2006 11:58 AM
unable to boot, stuck at LILO prompt hagabaka Slackware 10 05-31-2006 08:35 PM
Newbie: SUSE Linux 10 kernal update requires running lilo before boot Catheryn Smoll Linux - Kernel 1 04-26-2006 06:03 PM
Unable to open inital consol when trying to boot Arch Linux from lilo in Slack Part jimdaworm Slackware 7 03-01-2004 04:59 PM
SuSE Linux 9.0 Windows XP Won't Boot - lilo erl Linux - Newbie 3 02-06-2004 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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