LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-29-2004, 11:56 AM   #1
enchant
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
grub and lilo question


Hi,

I was using lilo as my boot loader for dual-boot between windows xp and FC1. Then I installed grub on the MBR of my machine ( /sbin/grub-install /dev/hda). It doesn't work. So I boot into FC1 use floppy and then I noticed lilo is actually on the partition where /root sits, in my case,/dev/hda2. How did this happen ?

But I boot into FC1 anyway. Since grub is not working, I reinstalled lilo, reboot, works. Later I correct some problem with grub.conf file, installed grub again ( fatal mistake ! it turns out ). Reboot, I did see graphical grub boot screen, but when i chose to boot FC1, I got a blank screen, nothing is happenging. I tried to reboot from floppy. same thing.

My guess is somehow lilo still sits on /dev/hda1 and it is corrupted. Can someone explain to me what had happened and what are my options are ? Would reinstall FC1 help ?

Thanks in advance,

Enchant
 
Old 01-29-2004, 05:32 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,891

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
"I noticed lilo is actually on the partition where /root sits, in my case,/dev/hda2. How did this happen ?"

the boot= parameter in /etc/lilo.conf tells lilo where to install the lilo bootloader. At some point you or the FC1 installer must have issued the lilo command with boot=/dev/hda2 instead of boot=/dev/hda. Make sure that /etc/lilo.conf has boot=/dev/hda

" Would reinstall FC1 help ?"

You don't need to be that drastic to solve this problem. Setting up either lilo or grub correctly can be done without a reinstall.

You are probably closer to having a working lilo than a working grub so I think you should work on getting lilo to work. Here is a lilo HOWTO:

http://tldp.org/HOWTO/LILO.html

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 01-29-2004, 07:11 PM   #3
enchant
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I fixed the problem by editing /boot/grub/grub.conf on the grub prompt.
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
lilo and grub question... JT13 Linux - Software 1 05-31-2005 01:35 PM
lilo/grub and iso burning question rossAINTfakin Linux - Newbie 3 08-25-2004 06:27 PM
Question on lilo/grub options on mandrake deuce868 Mandriva 4 03-14-2004 12:00 AM
Mandrake boot options GRUB and LILO question LooseCanon Mandriva 2 09-21-2003 07:30 PM

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

All times are GMT -5. The time now is 12:12 PM.

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