Bug#341381: Bug #341381: grub: Grub shell cannot find hard disk

Sven Joachim sven_joachim at web.de
Sun Dec 4 08:52:14 UTC 2005


Sven Joachim wrote:

> After updating Grub to version 0.97-1, "grub-install /dev/hda" failed
> with the error message
> 
> The file /boot/grub/stage1 not read correctly.
> 
> The following log is left in /tmp:
> 
> 
>     GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
> 
>        [ Minimal BASH-like line editing is supported.   For
>          the   first   word,  TAB  lists  possible  command
>          completions.  Anywhere else TAB lists the possible
>          completions of a device/filename. ]
> grub> dump (hd0,2)/grub/stage1 /tmp/grublr2v3E
> 
> Error 21: Selected disk does not exist
> grub> quit
> 
> 
> Running grub manually gives the same "Error 21" when typing "root (hd0,2)",
> for instance.
> [..]
> Kernel: Linux 2.4.32
> [...]

FWIW, this proplem seems only to be triggered under a 2.4 kernel.
I could reproduce it in a virtual machine under Qemu with the Debian-shipped
kernel 2.4.27; but when I now booted into a self-compiled kernel 2.6.14,
"grub-install" worked fine.








More information about the Pkg-grub-devel mailing list