LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 12-16-2003, 12:30 AM   #1
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Rep: Reputation: 15
GRUB/LILO not installing...


I read thru some posts about people who had problems booting into RH9... I'm runnin a dual boot RH9 and XP on my inspirion 5100 laptop... had to reinstall windows afterwards, and now GRUB wont load. I've booted into the RH9 disc 1, ran a update, decided to reinstall the boot loader. i tried to reinstall GRUB, didnt work, got a "no kernel installed"... redid that but for LILO, same problem. ran rescue mode, did a chroot /mnt/sysimage... exit, exit, reboot... still no bootloader. i need help here - i dont want to have to reinstall RH9 all over again... if i have to, i will - there's nothing i have saved, program/file wise, that i need to worry about just yet... just dont want to have to go thru the hassle of reinstalling. can anybody help me out here?

thanks in advance

 
Old 12-16-2003, 10:22 AM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,528

Rep: Reputation: 177Reputation: 177
I am not sure what your problem is. One thing I would check is your partition configuration. Do you have separate partitions for / and boot? If so, then one possibility is that the / partition is OK but the boot partition is clobbered.

Another possibility is that /etc/fstab contains an error.

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

Steve Stites
 
Old 12-16-2003, 05:48 PM   #3
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
i know i have a partition for / and /boot... i just reinstalled linux... and Lilo still won't load. i can't get into linux. whenever i restart, i keep going back into windows.
 
Old 12-16-2003, 06:11 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,528

Rep: Reputation: 177Reputation: 177
"whenever i restart, i keep going back into windows."

When you installed Windows XP it wrote a boot record on the MBR. Since then have you written a grub MBR with the grub-install command or a lilo MBR with the lilo command?

Here is a HOWTO on installing lilo:
http://tldp.org/HOWTO/LILO.html

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

Steve Stites
 
Old 12-16-2003, 10:42 PM   #5
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15

yeah i have... i reinstalled twice... and the first time, i installed it to the MBR... second time, the first sector of the partition... and neither worked. i still can't get in linux.
 
Old 12-16-2003, 10:46 PM   #6
teejz
LQ Newbie
 
Registered: Dec 2003
Location: Makati City
Distribution: Slackware Linux 9.1 - NetBSD 1.6.1
Posts: 2

Rep: Reputation: 0
I had a problem too...
 
Old 12-16-2003, 10:47 PM   #7
uranologist
Member
 
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15
what did you do to create lilo.conf?
 
Old 12-17-2003, 08:16 AM   #8
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Hi...

If you installed GRUB as your main boot loader, then you would have a lilo.conf sample file in your /etc directory...that is

/etc/lilo.conf.anaconda

If you want to replace GRUB with LILO, or LILO with GRUB, you may find my replies in the below-mentioned post useful

http://www.linuxquestions.org/questi...grub+with+lilo

To install GRUB, boot into rescue mode, chroot /mnt/sysimage and then run the command

/sbin/grub-install /dev/hda

(assuming, linux is installed on hard disk number 1)

The above post will let u switch from one bootloader to another.

Regards,

amit
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
LILO and GRUB Mic Q Suse/Novell 2 11-07-2004 08:33 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration