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
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 grub/stage1 /tmp/grubtest
dump (hd7)/boot/
Error 17: Cannot mount selected partition
grub> dump (hd8)/boot/ grub/stage1 /tmp/grubtest grub/stage1 /tmp/grubtest
dump (hd8)/boot/
Error 12: Invalid device requested