Bug#341381: grub: Grub shell cannot find hard disk
Sven Joachim
sven_joachim at web.de
Wed Nov 30 10:36:59 UTC 2005
Package: grub
Version: 0.97-1
Severity: important
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. I am not certain how severe this problem is; since I had
used Grub before and the stage* files have been correctly copied to the
directory /boot/grub by grub-install, it did not break anything for me.
But it could be a _big_ problem if Grub is not yet installed on the hard
disk. :-(
The file /boot/grub/device.map looks as follows:
(fd0) /dev/fd0
(hd0) /dev/hda
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (3, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages grub depends on:
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii libncurses5 5.5-1 Shared libraries for terminal hand
grub recommends no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list