LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-30-2005, 10:30 AM   #1
liknocks
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Problem after installation of Red Hat EL4


I just installed Red Hat EL4 on an ASUS P2B-F mobo with 2 Hitachi 400GB hard drives on the same IDE channel. On the first re-boot after the installation, when the BIOS tries to find a boot sector, the word GRUB appears on the screen and then everything stops. Only a ctrl-alt-del works and the same thing happens over again. I've re-formatted and re-installed several times with the same results. I've even downloaded Hitachi's HD util which erases the HD boot sector, re-installed and got the same result.
Any ideas?
Thanks in advance.
 
Old 08-30-2005, 12:32 PM   #2
logicalfuzz
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291

Rep: Reputation: 48
Maybe your 1st stage of grub bootloader is not installed properly. if you still have RHEL4 installed and get the 'grub>' prompt, then bot rescue mode from1st cd and enter chroot environment by typing
Code:
chroot /mnt/sysimage
Now type
Code:
grub-install /dev/hdx
where 'x' can be the drive you want to install the 1st stage (normally for single boot people choose the Master HD and for multiboot they prefer slave HD,). you can find that out by using
Code:
 fdisk -l 
(AFAIK hda/hdc are master & hdb/hdd are slave)
if everything goes fine you should get a graphical grub boot screen when you bootup next time
 
Old 08-30-2005, 12:57 PM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
What you are experiencing should be trivial to fix, but you need to understand grub a little better to do it.

Have a look at the grub manual: http://www.gnu.org/software/grub/manual/grub.html

Pay close attention to chapter 3 “Installation”, which contains subsections 3.3 “Installing GRUB using grub-install” and 3.2 “Installing GRUB natively”. My preference is the native installation, because you get so much more diagnostic information if things are not working out.

If something doesn’t make sense or you run into a problem, then ask for help. It is really worth your time to learn about grub, because it will haunt you again-and-again until you understand it.

Be aware that grub naming of drives and partitions is a little odd, in that everything starts at zero instead of one. For example, hda1 is usually (hd0,0).

Also, look at subsection 3.1 “Creating a GRUB boot floppy”, which can also be used to create a “Grub Boot Flash Drive”. If you had a grub boot floppy, it would take you maybe 2 minutes to fix your problem.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat EL4 vs. SuSE ES 9 dumbsheep Linux - Software 3 07-13-2005 06:51 AM
Installation problem with Red Hat sakirh Linux - Software 1 08-17-2004 04:14 AM
Red Hat Installation Problem flegias Red Hat 2 05-17-2004 08:10 AM
red hat 9 installation problem mdemers883 Red Hat 2 09-15-2003 01:26 PM
Red Hat 7.3 installation problem Zeth Linux - Newbie 4 10-15-2002 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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