[Bug 1487365] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Mon Oct 19 14:42:58 UTC 2015


------- Comment From mauricfo at br.ibm.com 2015-10-19 14:37 EDT-------
Hi @mathieu-tl,

> There's also a big part in grub-installer; I'm preparing a proper fix for
> this there, pending testing to make sure the firmware understands the way
> the disks are set up in the case of RAID 1 (because we can't support other
> RAID levels).

Can you clarify how this fix to grub-installer works?

I thought the problem was exclusively w/ the partition layout (PReP
partition not part of a RAID device), and that since grub2 doesn't
support writing to a PReP partition in a RAID device, there wasn't much
to do on the grub components of the installer. (i.e., the partition
layout would get a non-RAID PReP partition and go on normally from
there.)

Thanks!

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

Status in debian-installer package in Ubuntu:
  Invalid
Status in grub-installer package in Ubuntu:
  Triaged
Status in partman-md package in Ubuntu:
  Triaged
Status in partman-prep package in Ubuntu:
  Fix Released

Bug description:
  Problem Description
  =======================
  Installation goes smoothly, until it reaches grub installation, and fails with fatal error there.
   
  Machine Type = pio-firestone 
   
  ---boot type---
  QEMU direct boot kernel/initrd
   
  ---Kernel cmdline used to launch install---
  kexec -l /root/vmlinux.venkat -i /root/initrd.gz.venkat
  kexec -e

  == Comment: # - Venkat R. B <venkatb3 at in.ibm.com> - 2015-08-14 08:08:41 ==
  I am trying to install Ubuntu14.04 on the firestone machine on a RAID1 array, configured with software raid.
  Installation goes on smoothly till its reaches grub loader and fails. Below I have pasted the error.

               ?? [!!] Install the GRUB boot loader on a hard disk ??
    ????????????                                                    ? ?????????
    ?          ?        Unable to install GRUB in /dev/md0p1        ?         ?
    ?          ? Executing 'grub-install /dev/md0p1' failed.        ?         ?
    ?          ?                                                    ?         ?
    ? Running "? This is a fatal error.                             ?         ?
    ?          ?                                                    ?         ?
    ????????????     <Go Back>                       <Continue>     ? ?????????
               ?                                                    ?
               ??????????????????????????????????????????????????????

  == Comment: # - Mauricio Faria De Oliveira <mauricfo at br.ibm.com> - 2015-08-20 09:31:11 ==
  grub-installer pieces from syslog

  Aug 19 11:07:43 grub-installer: info: Installing grub on '/dev/md0p1'
  Aug 19 11:07:43 grub-installer: info: grub-install does not support --no-floppy
  Aug 19 11:07:43 grub-installer: info: Running chroot /target grub-install  --force "/dev/md0p1"
  Aug 19 11:07:43 grub-installer: Installing for powerpc-ieee1275 platform.
  Aug 19 11:08:01 grub-installer: grub-install: error: failed to copy Grub to the PReP partition.
  Aug 19 11:08:01 grub-installer: error: Running 'grub-install  --force "/dev/md0p1"' failed.

  and the "error:" message 'failed to copy Grub to the PReP partition.'
  is not generated by the grub-installer script itself [1], so probably
  coming down from grub2.

  I'd suggest to either involve our grub2 guy (not sure if available),
  or mirroring to Canonical.


  [1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/grub-
  installer/trusty-updates/view/head:/grub-installer

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



More information about the foundations-bugs mailing list