Bug#586449: unbootable system after grub-pc upgrade

Chris Knadle Chris.Knadle at coredump.us
Sat Jun 19 23:00:53 UTC 2010


On Saturday,19 June 2010 18:22:53 André Nunes wrote:
...
> When I enter grub-install /dev/sda
>
> /usr/sbin/grub-probe: error: no such disk.
> Auto-detection of a filesystem module failed.
> Please specify the module with the option `--modules' explicitly.
>
> When I enter grub-install --modules=ext3
>
> /usr/sbin/grub-probe: error: no such disk.
> /usr/sbin/grub-probe: error: no such disk.
> /usr/sbin/grub-probe: error: no such disk.
> You attempted a cross-disk install, but the filesystem containing
> /boot/grub does not support UUIDs.

Hmm.  Are you trying to install grub onto a hard disk which is /not/ the 
current root filesystem?  The /proc/mounts you sent seems to indicate that:

> *********************** BEGIN /proc/mounts
> /dev/scd0 /cdrom iso9660 ro 0 0
> /dev/tagesuhu/root / ext2 rw,errors=continue 0 0
> *********************** END /proc/mounts

As far as I know, when you install grub onto a filesystem other than / (such 
as if you're trying to install grub onto a hard disk from within a rescue CD 
environment) you need to add the --root-directory=<mount point> parameter, 
such as:

   grub-install --root-directory=/mnt/cf /dev/hdc

The above is what I've used to install grub legacy onto a compact flash card.

  -- Chris

--

Chris Knadle
Chris.Knadle at coredump.us





More information about the Pkg-grub-devel mailing list