Comment 25 for bug 1415918

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

grub-installer is verified OK on trusty-proposed; tags changed.

The install on a multipath device correctly uses the 'p' partition separator, and chooses the mpath disk, rather than any underlying disk (which actually show up before in the introduced prep_bootdev -l command).

 ~ # /usr/lib/grub-installer/prep-bootdev -l
 /dev/sda1
 /dev/mapper/mpath10p1
 /dev/sdz1

 ~ # grep grub-install.*success /var/log/syslog
 Jul 27 16:07:28 grub-installer: info: grub-install ran successfully

 ~ # grep grub-install /var/log/syslog
 Jul 27 15:46:27 anna[3639]: DEBUG: retrieving grub-installer 1.78ubuntu20.2
 Jul 27 15:46:29 anna[3639]: 2015-07-27 15:46:29 URL:http://ports.ubuntu.com/ubuntu-ports//pool/main/g/grub-installer/grub-installer_1.78ubuntu20.2_ppc64el.udeb [198958/198958] -> "/var/cache/anna/grub-installer_1.78ubuntu20.2_ppc64el.udeb" [1]
 Jul 27 16:07:16 main-menu[2024]: INFO: Menu item 'grub-installer' selected
 Jul 27 16:07:16 grub-installer: info: architecture: ppc64el/chrp_ibm
 Jul 27 16:07:16 grub-installer: info: Mounting /proc into /target
 Jul 27 16:07:20 grub-installer: info: Identified partition label for /dev/mapper/mpath0p2: unknown
 Jul 27 16:07:21 grub-installer: info: Wiping PReP partition /dev/mapper/mpath0p1
 Jul 27 16:07:27 grub-installer: info: Installing grub on '/dev/mapper/mpath0p1'
 Jul 27 16:07:27 grub-installer: info: grub-install does not support --no-floppy
 Jul 27 16:07:27 grub-installer: info: Wiping PReP partition /dev/mapper/mpath0p1
 Jul 27 16:07:27 grub-installer: info: Running chroot /target grub-install --force "/dev/mapper/mpath0p1"
 Jul 27 16:07:27 grub-installer: Installing for powerpc-ieee1275 platform.
 Jul 27 16:07:28 grub-installer: Installation finished. No error reported.
 Jul 27 16:07:28 grub-installer: info: grub-install ran successfully