LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-04-2006, 02:20 PM   #1
A.Elkaysh
LQ Newbie
 
Registered: Mar 2006
Location: Inside the great Pyramid...
Distribution: RedHat 9
Posts: 12

Rep: Reputation: 0
Linux Boot Loader Configuration Problem !!!


Dear All,
I have a small problem and hope someone will help me.
I installed XP after I installed RedHat 9 and that damaged the old Boot Loader, I run the RedHat installation CD and it detects my previous installation and asks me for Boot Configuration and I agree , I choose no packages to upgrade and after that the installer tell me that no linux kernel packages were installed and it doesn't configure the Boot Loader at all, what should I do ?
Thanks for any help.
Regards,
Ahmed.
 
Old 09-04-2006, 02:31 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
go into rescue mode using your cd and reinstall grub using the command grub-install /dev/hda -> your hdd name
 
Old 09-04-2006, 04:26 PM   #3
A.Elkaysh
LQ Newbie
 
Registered: Mar 2006
Location: Inside the great Pyramid...
Distribution: RedHat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Unhappy

I tried it but it gives me the following error,
sbin/grub/ : not found.
I tried to change the path to the place where the hdb is mounted [/mnt/sysimage/] but in vain.
Any help ???
Regards,
Ahmed.
 
Old 09-04-2006, 05:06 PM   #4
galego
LQ Newbie
 
Registered: Aug 2006
Posts: 21

Rep: Reputation: 15
can you boot into XP? if yes, go to device manager->computer management look and see if you have two separate partitions. should have a primary and a separate partition where windows live. windows will not recognize RH and will tell you it is an unknown file. just making sure the two have a separate home. also yu should have unallocated space between the two.
if you cant enter RH through system rescue with cd, then i would suggest you download a live cd like ubuntu and try to use it to mount where RH is and take a look at what grub looks like. if it is still there and intact then you may need to either re-install RH or install ubuntu and once installed go to RH re-instate RH's Grub and then delete ubuntu.

you should always install linux last, or the oldest os first, or the OS whose bootloader you want last.
 
Old 09-05-2006, 12:28 AM   #5
A.Elkaysh
LQ Newbie
 
Registered: Mar 2006
Location: Inside the great Pyramid...
Distribution: RedHat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Smile

Thanks for your help but I solved the problem ...
I did the following:-
1-Logged on to RedHat Rescue system.
2-typed "chroot /mnt/sysimage/ /bin/bash".
3-typed "grub-install z" where z is my hard disk drive,it is hdb so the final string would be "grub-install /dev/hdb".

Thank Godness,Every thing is ok now !!!

Thanks for your help
Regards,
Ahmed.
 
  


Reply

Tags
boot, loader


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openbsd boot loader configuration Ephracis *BSD 2 08-25-2006 06:29 PM
Boot Loader Configuration cbriscoejr Red Hat 2 10-25-2004 10:35 PM
Boot loader configuration lambchop Linux - Newbie 2 05-08-2004 04:09 PM
boot loader configuration pirozzi Linux - Software 1 12-11-2003 10:46 PM
boot loader configuration JbCrash Linux - Software 1 10-16-2003 11:59 PM


All times are GMT -5. The time now is 05:20 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration