[Bug 1479213] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Wed Aug 26 14:40:22 UTC 2015
------- Comment From mauricfo at br.ibm.com 2015-08-26 14:34 EDT-------
Canonical,
The problem here is the grub-installer script expects SCSI disks w/ only one letter (/dev/sda), but this scenario has two (/dev/sdaf).
This misclassifies the disk, and the script fails.
Script grub-install, line 327 [1]:
/dev/[hmsv]d[a-z0-9]|...)
It works with this change, at install time:
~ # sed '327 s,|,*|,' -i /usr/bin/grub-installer
So that line is now:
/dev/[hmsv]d[a-z0-9]*|...)
[1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/grub-
installer/wily/view/head:/grub-installer#L327
Debugging tip
-------------------
I debugged it by reading the bash traces with this change:
-#set -x
+set +x; exec 2>/g-i.stderr
and noticed this:
+ prefix=/dev/sdaf
+ echo /dev/sdaf2
+ sed s:\(.*\)/.*:\1/disc:
+ disc_offered_devfs=/dev/disc
+ mapdevfs /dev/disc
+ disc_offered=
Verification
---------------
Differences in syslog:
Before:
<...> grub-installer: info: architecture: ppc64el/chrp_ibm
<...> grub-installer: info: Mounting /proc into /target
<...> in-target: <...>
<...> main-menu[295]: WARNING **: Configuring 'grub-installer' failed with error code 1
<...> main-menu[295]: WARNING **: Menu item 'grub-installer' failed.
After:
<...> grub-installer: info: architecture: ppc64el/chrp_ibm
<...> grub-installer: info: Mounting /proc into /target
<...> in-target: <...>
<...> grub-installer: info: Identified partition label for /dev/sdaf2: gpt
<...>
<...> grub-installer: info: grub-install ran successfully
------- Comment From mauricfo at br.ibm.com 2015-08-26 14:38 EDT-------
Typo here (set -x/+x)
+set +x; exec 2>/g-i.stderr
+set -x; exec 2>/g-i.stderr
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1479213
Title:
ISST-SAN: fsp-chip: Alpine: LE-UBUNTU 15.10: LPAR chip01 unable to
install base OS due to inability to install the GRUB boot loader on
hard disk
Status in grub-installer package in Ubuntu:
New
Bug description:
== Comment: #0 - RODOLFO LOPEZ <lopezro at us.ibm.com> - 2015-07-27 12:55:29 ==
---Problem Description---
PROBLEM DESCRIPTION
------------------------------------
I start the installation of the base operating system in UBUNTU 15.10
and at the end of the install I get the below pop-up message:
lqqqqqqqu [!!] Install the GRUB boot loader on a hard disk tqqqqqqqqk
x x
x Installation step failed x
x An installation step failed. You can try to run the failing item x
x again from the menu, or skip it and choose something else. The x
x failing step is: Install the GRUB boot loader on a hard disk x
x x
x <Continue> x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
<Tab> moves; <Space> selects; <Enter> activates buttons
Contact Information = Pablo Marquez, pablom at us.ibm.com
---uname output---
do not have that information available for the moment.
Machine Type = 8408-E8E
---boot type---
Network boot
---bootloader---
grub
---Kernel cmdline used to launch install---
SMS
---Bootloader protocol---
tftp
---Install repository type---
install image is in kte.isst.aus.stglabs.ibm.com
---Point of failure---
Other failure during installation (stage 1)
== Comment: #2 - SANDHYA VENUGOPALA <vsandhya at in.ibm.com> - 2015-07-29
01:39:49 ==
We require patches to partman-multipath, parman-base and grub-
installer packages for Ubuntu 15.10 version to address this
installation problem.
These packages have already been updated to Ubuntu Trusty and Ubuntu Vivid.
LP bug - https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1430074
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1479213/+subscriptions
More information about the foundations-bugs
mailing list