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.
I have been trying to get a Gentoo Linux/Windows 98 dual boot system up and running for a few days now... My main difficulties have come from partitioning my hardrive correctly, however now I think that I'm ok as far as that goes...
If this helps however...
/dev/hda1 * Win95 FAT32 (LBA)
/dev/hda2 Linux
/dev/hda3 Linux
/dev/hda4 Win95 Ext'd (LBA)
/dev/hda5 Linux Swap
First I installed windows 98 on the first primary partition, afterwards I installed Gentoo Linux using hda2 as /boot, hda3 as /, and hda5 as my swap partition.
My problem arises as I boot my system, I have installed grub on my system and run
the command root (hd0,1) to specify my boot partition, and setup (hd0) to install
grub on my MBR. (Windows was sucessfully installed and booted before I replaced
the MBR, so I know the hardrive is fine.)
So I boot my computer after installing Linux and GRUB, what do I see?
While the system is attempting to find a boot device it returns the message
'GRUB Hard Disk Error'
My question is of course, what the problem may be. I wouldn't think that the problem would lie in fault of my grub.conf, which seems fine, because GRUB is
never loaded in the first place. But here it is for reference:
default 0
timeout 20
splashimage=... who cares
title=Gentoo Linux
root (hd0,1)
kernel (hd0,1)/boot/bzImage root=/dev/hda3
I have seen that some suggested to make the hardrive information in the BIOS of
my motherboard static, I did so and no difference.
What would cause a hard disk error in grub?
Thank you for your time!
(2) a minor matter, you have set root command (to boot folder) as an absolute pathway which is fine.
then you don't need the (hd0,1) on the kernel line as you can specify a relative / pathway.
How about that? Since you can boot yours, do you have a link to that kernel file in /boot folder by any chance to vmlinuz. My guess is that you have done a re-compile and may not have linked to vmlinuz then again I am often wrong.
I used a bzImage instead of vmlinux. I think the only difference is the compression method they use(not sure about that) kernel-2.6.4 is my bzImage just named differently. I am not really sure if I answered your question.
Thanks for the help guys, however I posted the original question last Christmas... Once again though I thank you, and hope that I can use this discussion for future reference if I encounter the problem again. How I solved it was the cheap way... I installed LILO instead of GRUB. When I compiled the kernel, I compiled it as a 'bzImage' I really am not familiar with the difference between bzImage and vmlinux. From what shanenin said, it has something to do with how they are compressed, does this make a difference? Why does compression matter? I wouldn't think you would get too much of a performance difference as far as compression goes... Anyhow I do have an intermittent problem with LILO now, I don't know if you've heard of something similar... Every 3-4 boots or so, when I boot Linux, I receive a message right when LILO tries to boot the kernel. LILO is telling me that the kernel is corrupted in some way and the machine halts. It's not too big of a deal though because I rarely reboot my computer. But it is an annoyance, have you ever heard of such a problem? aus9 and shanenin, Thanks for your time!
PS
Also, since I compiled the kernel as 'bzImage' do you still think that using vmlinux would make a difference, or even be valid?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.