------- Comment From [email protected] 2016-03-04 16:29 EDT-------
Here's the validation on the real hardware this time.

~ # mdadm --detail --verbose /dev/md0 | grep -o '/dev/.*'
/dev/md0:
/dev/nvme0n1p2
/dev/nvme1n1p2

~ # mdadm --detail --verbose /dev/md0 | sed -n 's:.*\(/dev/.*\)[0-9]\+$:\1:p'
/dev/nvme0n1p
/dev/nvme1n1p

Mar  4 20:56:10 main-menu[301]: INFO: Menu item 'grub-installer' selected
Mar  4 20:56:10 grub-installer: info: architecture: ppc64el/chrp_ibm
Mar  4 20:56:11 grub-installer: info: Identified partition label for /dev/md0: 
loop
Mar  4 20:56:11 grub-installer: info: Wiping PReP partition /dev/nvme0n1p1
Mar  4 20:56:11 grub-installer: info: Wiping PReP partition /dev/nvme1n1p1
Mar  4 20:56:12 grub-installer: info: Installing grub on '/dev/nvme1n1p1'
Mar  4 20:56:12 grub-installer: info: grub-install does not support --no-floppy
Mar  4 20:56:12 grub-installer: info: Running chroot /target grub-install  
--force "/dev/nvme0n1p1"
Mar  4 20:56:12 grub-installer: Installing for powerpc-ieee1275 platform.
Mar  4 20:56:12 grub-installer: Installation finished. No error reported.
Mar  4 20:56:12 grub-installer: info: grub-install ran successfully
Mar  4 20:56:12 grub-installer: info: grub-install does not support --no-floppy
Mar  4 20:56:12 grub-installer: info: Running chroot /target grub-install  
--force "/dev/nvme1n1p1"
Mar  4 20:56:12 grub-installer: Installing for powerpc-ieee1275 platform.
Mar  4 20:56:13 grub-installer: Installation finished. No error reported.
Mar  4 20:56:13 grub-installer: info: grub-install ran successfully

if echo $disc_offered | grep -q '/dev/md[0-9]\+'; then
if mdadm --detail --verbose $disc_offered \
| sed -n 's:.*\(/dev/.*\)[0-9]\+$:\1:p' \
| grep "${prep_p%[0-9]*}"; then
wipe_bootdevs="$wipe_bootdevs $prep_p"
fi
fi

** Tags removed: bugnameltc-137572 patch severity-high

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1550448

Title:
  [PowerVM] Ubuntu 16.04 does not install bootloader on multiple PReP
  partitions in Software RAID1 configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1550448/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to