Ubuntu14.04 .3 RAID installation fails on firestone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-prep (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Vivid |
Won't Fix
|
High
|
Unassigned | ||
Wily |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Users installing on ppc64el with RAID enabled, doing manual or guided partitioning are unable to complete the installation because the multiple passes of partitioning required to apply the initial partitions on disk (PReP partitions and all) and the next set of partitions on RAID or LVM cause the initial PReP flags to be lost.
[Test case]
1) Start installation on a ppc64el system with two or more disks.
2) Use manual partitioning to add a PReP partition on one of the disks. It should have a size of 8MB, at the beginning of the disk. It can be followed by free space or a single partition to be used as space for RAID.
3) Create a RAID volume, using RAID1 (2 partitions, 0 spaces), add the RAID partition previously created and the free space from another disk.
4) End partitioning, confirming everything.
The installation should complete successfully.
[Regression potential]
This is limited to the handling of PReP partitions, so only applies to ppc64el systems. Possible regressions may be failure to allow a valid setup of partitions while preparing the install on ppc64el, or failure of the installation on an invalid (but not immediately detected) partition setup, at the point where grub-installer will try to install the bootloader on the system.
---
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.
kexec -e
== Comment: # - Venkat R. B <email address hidden> - 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 <email address hidden> - 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.
Related branches
affects: | ubuntu → debian-installer (Ubuntu) |
tags: | added: trusty |
Changed in debian-installer (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
tags: |
added: targetmilestone-inin14043 removed: targetmilestone-inin--- |
Changed in debian-installer (Ubuntu): | |
status: | New → In Progress |
Changed in partman-md (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in debian-installer (Ubuntu): | |
status: | In Progress → Invalid |
assignee: | Mathieu Trudel-Lapierre (mathieu-tl) → nobody |
Changed in grub-installer (Ubuntu): | |
status: | New → Triaged |
Changed in partman-md (Ubuntu): | |
status: | In Progress → Triaged |
Changed in partman-prep (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in grub-installer (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in grub-installer (Ubuntu): | |
importance: | High → Medium |
importance: | Medium → Low |
Changed in partman-md (Ubuntu): | |
importance: | High → Medium |
description: | updated |
Changed in partman-prep (Ubuntu Trusty): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
status: | New → In Progress |
Changed in partman-prep (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in partman-prep (Ubuntu Vivid): | |
importance: | Undecided → High |
Changed in partman-prep (Ubuntu Wily): | |
importance: | Undecided → High |
no longer affects: | debian-installer (Ubuntu) |
no longer affects: | debian-installer (Ubuntu Trusty) |
no longer affects: | debian-installer (Ubuntu Vivid) |
no longer affects: | debian-installer (Ubuntu Wily) |
Changed in grub-installer (Ubuntu Vivid): | |
importance: | Undecided → Medium |
status: | New → Won't Fix |
Changed in partman-md (Ubuntu Vivid): | |
importance: | Undecided → Medium |
status: | New → Won't Fix |
Changed in partman-prep (Ubuntu Vivid): | |
status: | New → Won't Fix |
Changed in grub-installer (Ubuntu Trusty): | |
importance: | Undecided → Low |
Changed in grub-installer (Ubuntu Vivid): | |
importance: | Medium → Low |
Changed in grub-installer (Ubuntu Wily): | |
importance: | Undecided → Low |
Changed in partman-md (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in partman-md (Ubuntu Wily): | |
importance: | Undecided → Medium |
Changed in partman-prep (Ubuntu Wily): | |
status: | New → Fix Released |
Changed in partman-md (Ubuntu Wily): | |
status: | New → Won't Fix |
Changed in grub-installer (Ubuntu Wily): | |
status: | New → Won't Fix |
no longer affects: | partman-md (Ubuntu) |
no longer affects: | partman-md (Ubuntu Trusty) |
no longer affects: | grub-installer (Ubuntu) |
no longer affects: | grub-installer (Ubuntu Trusty) |
no longer affects: | grub-installer (Ubuntu Wily) |
no longer affects: | grub-installer (Ubuntu Vivid) |
no longer affects: | partman-md (Ubuntu Wily) |
no longer affects: | partman-md (Ubuntu Vivid) |
Default Comment by Bridge