Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-17-2008, 06:52 AM   #1
LQ Newbie
Registered: Dec 2008
Location: Luxembourg
Distribution: Debian
Posts: 25

Rep: Reputation: 0
Question 'GRUB hard disk error' : config or BIOS problem ?


I installed Linux (precisely Damn Small Linux) on a Card Flash disk with GRUB boot loader.
However when it boots id display:
'GRUB Hard Disk Error'

Is this problem related to a bad GRUB config or BIOS problem ?
Should I try different GRUB setup or use another boot loader ?

Good point is I was able to install a Puppy distro but not with GRUB (I think it was with syslinux) so could GRUB be BIOS dependent.

(note : the PC is a thin client with a rather old BIOS (dated 2001) and I had problems eg. to boot with a live USK key as BIOS only support USB-FDD , which I never success to build on an USB key).

Old 12-17-2008, 09:09 AM   #2
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,660

Rep: Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526Reputation: 2526
The general way that the Stage 1 handles errors is to print an error string and then halt. Pressing <CTRL>-<ALT>-<DEL> will reboot.

Hard Disk Error
The stage2 or stage1.5 is being read from a hard disk, and the attempt to determine the size and geometry of the hard disk failed

From links I've read about this problem, it is generally BIOS related, update BIOS generally takes care of problem.
Old 12-17-2008, 03:01 PM   #3
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
I agree with yancek, in my experience it is usually a BIOS issue if you get that "hard disk error" from Grub. But there are some people who have been able to work around it though by installing Grub to the MBR of the drive while omitting the stage1.5 file that is normally embedded in the sectors immediately after the MBR; instead Grub's stage1 file in the MBR points directly to the sector location of Grub's stage2 file instead of using the stage1.5 file to search for the stage2 file. You could try and see if that fixes your problem, by doing the following as root:
grub> root (hdX,Y)
grub> install /boot/grub/stage1 (hdX) /boot/grub/stage2 p /boot/grub/menu.lst
grub> quit
So replace (hdX,Y) with the Linux partition that has Grub's boot files, and also change (hdX) to whichever drive you want to install Grub to. The above commands install Grub to the MBR of drive (hdX) without including the stage1.5 file. Let me know if that helps.
Old 12-19-2008, 03:15 AM   #4
LQ Newbie
Registered: Dec 2008
Location: Luxembourg
Distribution: Debian
Posts: 25

Original Poster
Rep: Reputation: 0
With LILO it works (which surprise me) as I re-installed the distro and choosing LILO in place of GRUB.

Now, I should try again to re-install with GRUB to check if I can re-product the original problem 'GRUB Hard Disk Error'.

If so, I can see few possibilities:

- GRUB is less 'clever' than LILO with the BIOS ?
- the distro is Damn Small Linux installation: Maybe it is somewhere incorrect with the GRUB steps ?
In this case I should modify its setup root(x,y) as described previously in this thread.



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
GRUB hard disk error NinjaGeek Linux - Software 2 04-11-2007 10:57 AM
BIOS and GRUB can't detect hard disk DC_Tsunami Linux - General 1 12-07-2005 03:16 AM
GRUB hard disk error 0perat0r Linux - Newbie 3 02-24-2005 12:17 AM
grub hard disk error gtanghookup Linux - Software 7 04-24-2004 12:33 AM
GRUB Hard Disk Error joe_wilkins2001 Linux - General 1 01-25-2004 02:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration