I'm sorry for replying to my own post, but I have found a solution in a
way I did not expect to work, (or indeed understand why it does).
First i'd like to point out that I wrote two lines wrong in my previous
mail. These lines:
> root (hdc,0)
> setup (hdc)
were actually:
root (hd2,0)
setup (hd2)
Now, the solution. Running:
setup --force-lba (hd2,0)
Worked.
I do not understand why, as every documentation I have read states that
the compact flash should be dealt with in CHS mode. The BIOS is set to
use CHS, Linux uses raw CHS values, and so I would assume that is how
grub should treat it!
If anyone can enlighten me on this, it'd be much appreciated.
Cheers,
MAL
MAL wrote:
I have a system with three hard disks, (hda, hdb and hdd), and a 128MB
compact flash disk, (hdc), with C/H/S 978/8/32, (detected as that by
both the BIOS and the kernel).
Using linux kernel 2.4.22, booting from hdd, I created a type 0x83
partition on the compact flash, using the full size of the disk. I then
formatted it with ext2, copied a minimal linux system to it, chrooted to
the partition, and ran grub.
I issed the commands:
root (hdc,0)
setup (hdc)
Which executed ok, (grub.conf and the relevant stages are in /boot/grub).
However when I boot the compact flash by selecting hdd2 in the BIOS,
(being the third disk), I simply get 'GRUB GRUB' printed to the screen,
and no more.
I tried booting the hard disk with the kernel parameter 'hdc=flash',
then chrooting to the flash and installing grub, but this doesn't help.
I have had grub running fine on this same compact flash in this same
motherboard, with a different linux kernel/system utils/grub version,
(0.92 I think), before.
Can anyone point out what's going wrong?
Cheers,
MAL
___
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub