Comment 1 for bug 335174

Revision history for this message
Mark Bergsma (mark-wikimedia) wrote :

The issue appears not to be fully addressed by the committed fix; an Ubuntu install still fails if the boot device is not within the first 7 disks:

# chroot /target grub-install --no-floppy "(hd24)"
Searching for GRUB installation directory ... found: /boot/grub
The file /boot/grub/stage1 not read correctly.

A strace seems to indicate that the "dump" command fails. Some debugging:

grub> dump (hd7)/boot/grub/stage1 /tmp/grubtest
dump (hd7)/boot/grub/stage1 /tmp/grubtest
Error 17: Cannot mount selected partition

grub> dump (hd8)/boot/grub/stage1 /tmp/grubtest
dump (hd8)/boot/grub/stage1 /tmp/grubtest
Error 12: Invalid device requested