grub error 22 when trying to boot to hde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Grub was working without any bother when I had Gentoo Linux installed on the
very same machine.
The computer has 2 * standard IDE plus 2 * Highpoint IDE controller. I have
CDROM on hda and mirrored hard disks on hde and hdg (the Highpoint). Disks have
just 3 primary partitions each: /boot, swap, /.
/boot/grub/
(fd0) /dev/fd0
(hd0) /dev/hde
(hd1) /dev/hdg
This is what I do with grub to make a boot floppy on a floppy that has an empty
ext2 fs on it:-
grub> root (
Possible disks are: fd0 hd0 hd1
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0xfd
grub> kernel /vmlinuz-
[Linux-bzImage, setup=0x1c00, size=0x124b0e]
grub> initrd /initrd.
Error 16: Inconsistent filesystem structure {I didn't always get this message
and sometimes still don't}
grub> setup (fd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/
Running "embed /grub/e2fs_stage1_5 (fd0)"... failed (this is not fatal) Running
"embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "install
/grub/stage1 d (fd0) /grub/stage2 p /grub/menu.lst "...
succeeded
Done.
grub>
This works fine and the computer boots up from floppy.
If I do exactly the same except:-
grub>setup (hd0)
grub says that it has installed the bootloader successfully just as above, but
when I try to boot without the floppy I get:-
GRUB Loading stage1.5.
GRUB loading, please wait...
Error 22
I have tried changing the device.map so that (hd4) is /dev/hde and guess some
different (hdx) to try to get it to work, but without success.
Changed in grub: | |
assignee: | tfheen → nobody |
If you type grub hpt370 in google you should find an explanation and a workaround. lists.gnu. org/archive/ html/bug- grub/2004- 07/msg00113. html
Here's the link : http://