Linux - SoftwareThis 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
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
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:
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.
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 ?
or
- 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.