| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-16-2003, 12:30 AM
|
#1
|
|
Member
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81
Rep:
|
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

|
|
|
|
12-16-2003, 10:22 AM
|
#2
|
|
Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268
Rep:
|
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
|
|
|
|
12-16-2003, 05:48 PM
|
#3
|
|
Member
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81
Original Poster
Rep:
|
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.
|
|
|
|
12-16-2003, 06:11 PM
|
#4
|
|
Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268
Rep:
|
"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
|
|
|
|
12-16-2003, 10:42 PM
|
#5
|
|
Member
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81
Original Poster
Rep:
|

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. 
|
|
|
|
12-16-2003, 10:46 PM
|
#6
|
|
LQ Newbie
Registered: Dec 2003
Location: Makati City
Distribution: Slackware Linux 9.1 - NetBSD 1.6.1
Posts: 2
Rep:
|
I had a problem too...
|
|
|
|
12-16-2003, 10:47 PM
|
#7
|
|
Member
Registered: Aug 2003
Location: Philly, PA
Distribution: Slackware
Posts: 81
Original Poster
Rep:
|
what did you do to create lilo.conf?
|
|
|
|
12-17-2003, 08:16 AM
|
#8
|
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:38 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|