LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-19-2006, 04:41 PM   #1
zdenisl
Member
 
Registered: Nov 2005
Distribution: CentOS-4
Posts: 41

Rep: Reputation: 15
Grub Loading stage2.... (hang)


I just installed CentOS 4 and when the install is complete and reboots it hands on "GRUB Loading stage2..."

I booted in rescue mode and started grup via /sbin/grub.
At the grub prompt I entered:

root (hd0,1) but that reported an error.

This is not a dual boot machine. CentOS only.

I have 2 200GB IDE HDD's with the following config (if it matters) /dev/hda and /dev/hdb

All file systems are software raid1 mirrored.

/ /dev/md0 10GB
/boot /dev/md1 1GB

LVM
rootvg - 25GB - /dev/md2
swap - 1GB swaplv01
/tmp - 3GB tmplv01
/usr - 15GB usrlv01
/var - 3GB varlv01

homevg - 150GB - /dev/md3
/home - 140GB homelv01


This computer was previously running FC5.

HW - AMD Sempron 3200, Maxtor (qty2) 200GB IDE HDD's, TUL Mboard.

Thank you.
 
Old 10-19-2006, 06:50 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
whats the error that you get when you type in root(hd0,1)?
try
grub-install /dev/hda instead.
 
Old 10-19-2006, 07:19 PM   #3
zdenisl
Member
 
Registered: Nov 2005
Distribution: CentOS-4
Posts: 41

Original Poster
Rep: Reputation: 15
Error from root (hd0,1) is:
syntax error near unexpected token 'hd0,1'

Tried grub-install /dev/hda and that failed with:

/dev/md1 does not have any corresponding BIOS drive.

I did a google search and tried:
grub-install --recheck /dev/hda

Error:
Probing devices to guess BIOS drives. This may take a long time.
/dev/md1 does not have any corresponding BIOS drive.

Last edited by zdenisl; 10-19-2006 at 07:21 PM.
 
Old 10-20-2006, 03:57 AM   #4
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
hda should refer to your hardisk name, in your case it should be /dev/md. show an exact about of fdisk -l. if you are not sure of the hdd where you want to install it.
 
Old 06-04-2007, 04:18 PM   #5
crashrice
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
I am getting the same problem with my machine. I have a raid controller. the system gets stuck loading stage 2.

I tried the grub --install /dev/sda with no luck. i get Error 12: invalid device requested. i get this for all devices listed in fdisk -l

/sbin/grub-install /dev/sda reutrns Not found or not a block device. same for all devices in fdisk

Last edited by crashrice; 06-04-2007 at 04:25 PM.
 
Old 06-04-2007, 04:34 PM   #6
crashrice
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
ok i ran

/sbin/grub-install /dev/sda1

it ran with no errors

fd0
sda
sdb

were the boot devices returned. still gets stuck
 
Old 10-13-2007, 01:59 AM   #7
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Go to http://www.linuxquestions.org/questi...nstall-456105/ The BIOS and the Motherboard Chipsets need to be compatible.
 
Old 02-23-2011, 02:49 AM   #8
perakasunil
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Rep: Reputation: 0
Cool Grub Loader

While making partitions make /boot partition and select "Force to be a primary partition" ... and ... select "The boot loader will be installed on /dev/hda".
 
Old 02-23-2011, 03:24 AM   #9
EDDY1
Senior Member
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: Debian506, Ubuntu10.10, winsxp, wins7, Debian 6.0
Posts: 2,979

Rep: Reputation: 244Reputation: 244Reputation: 244
I'm not sure if you realize it ,but this post is 4 almost 5 years old
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck on grub (loading stage2) Crazy_lenny Linux - Hardware 3 06-23-2006 12:13 PM
Fedora Core 5 hanging on "GRUB Loading Stage2.." Geoff A Linux - Laptop and Netbook 5 05-15-2006 04:59 PM
GRUB Loading stage2.read error?? angstsix Linux - General 2 12-12-2005 10:00 AM
FC4: "GRUB Loading Stage2... read error" at startup Kropotkin Fedora 2 12-01-2005 05:29 PM
GRUB Loading stage2 Error, hard-disk broken ??? jdevitt Fedora 5 09-15-2005 08:54 AM


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

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
Open Source Consulting | Domain Registration