Activity log for bug #1237519

Date Who What changed Old value New value Message
2013-10-09 16:59:48 Brandon Hansen bug added bug
2013-10-09 16:59:48 Brandon Hansen attachment added syslog up to point of Grub installation failure https://bugs.launchpad.net/bugs/1237519/+attachment/3869379/+files/syslog
2013-10-09 19:31:36 Gary Ekker bug added subscriber Gary Ekker
2013-10-09 19:33:02 Gary Ekker bug added subscriber David Duffey
2013-10-09 19:36:41 Gary Ekker bug added subscriber Colin Watson
2013-10-09 19:54:25 David Duffey bug added subscriber Kent Baxley
2013-10-09 19:54:40 David Duffey bug added subscriber Narinder Gupta
2013-10-09 19:54:50 David Duffey bug added subscriber Leonardo Borda
2013-10-09 22:42:30 Joshua Aune bug added subscriber Joshua Aune
2013-10-10 14:09:45 Colin Watson grub2 (Ubuntu): importance Undecided High
2013-10-10 14:09:45 Colin Watson grub2 (Ubuntu): status New Incomplete
2013-10-10 14:09:45 Colin Watson grub2 (Ubuntu): assignee Colin Watson (cjwatson)
2013-10-10 23:26:22 Igor Sharovar attachment added grub-installer https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3873274/+files/grub-installer
2013-10-18 05:09:06 Narinder Gupta attachment added grub-installer https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3881310/+files/grub-installer
2013-10-18 19:26:08 David Duffey bug added subscriber Brian Fromme
2013-10-23 18:42:06 Kent Baxley attachment added logs.tar.gz https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3888966/+files/logs.tar.gz
2013-10-23 19:32:09 Kent Baxley attachment added grub.cfg https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3889003/+files/grub.cfg
2013-10-23 21:04:26 David Duffey bug added subscriber Jose Plans
2013-10-24 16:14:00 Narinder Gupta attachment added attaching the syslog from both the installs https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3889869/+files/syslog_fioa
2013-10-24 16:14:28 Narinder Gupta attachment added syslog_sda https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3889870/+files/syslog_sda
2013-10-24 20:06:23 Kent Baxley attachment added efibootmgr.txt https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3890232/+files/efibootmgr.txt
2013-10-28 20:16:13 Kent Baxley attachment added logs-1404.tar.gz https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3894033/+files/logs-1404.tar.gz
2013-11-05 16:13:56 Colin Watson bug task added grub-installer (Ubuntu)
2013-11-05 16:20:43 Colin Watson grub-installer (Ubuntu): status New Triaged
2013-11-05 16:20:47 Colin Watson grub2 (Ubuntu): status Incomplete Triaged
2013-11-05 16:20:49 Colin Watson grub-installer (Ubuntu): assignee Colin Watson (cjwatson)
2013-11-05 16:20:50 Colin Watson grub-installer (Ubuntu): importance Undecided High
2013-11-05 16:36:43 Launchpad Janitor branch linked lp:~ubuntu-core-dev/ubuntu/trusty/grub2/trusty
2013-11-06 17:59:03 Mark Russell bug added subscriber Mark Russell
2013-11-11 21:08:41 Kent Baxley attachment added syslog-patched-grub https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3905757/+files/syslog-patched-grub
2013-11-12 16:50:05 Launchpad Janitor branch linked lp:~ubuntu-core-dev/grub-installer/ubuntu
2013-11-12 17:05:55 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/grub2
2013-11-12 17:08:18 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/grub-installer
2013-11-12 17:23:20 Launchpad Janitor grub-installer (Ubuntu): status Triaged Fix Released
2013-11-12 17:48:12 Colin Watson nominated for series Ubuntu Precise
2013-11-12 17:48:12 Colin Watson bug task added grub2 (Ubuntu Precise)
2013-11-12 17:48:12 Colin Watson bug task added grub-installer (Ubuntu Precise)
2013-11-13 01:43:09 Launchpad Janitor grub2 (Ubuntu): status Triaged Fix Released
2013-11-14 16:20:46 Launchpad Janitor branch linked lp:debian/grub2
2013-11-19 17:37:04 Kent Baxley attachment added syslog-11-19-2013 https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3912747/+files/syslog-11-19-2013
2013-11-19 17:37:31 Kent Baxley attachment added partman-11-19-2013 https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1237519/+attachment/3912748/+files/partman-11-19-2013
2013-12-05 12:17:52 Colin Watson grub2 (Ubuntu): status Fix Released Triaged
2013-12-05 12:17:57 Colin Watson grub2 (Ubuntu): status Triaged In Progress
2013-12-05 15:20:04 Colin Watson description Running the Ubuntu Server installer in UEFI mode fails to install the Grub bootloader. Attached is the syslog output that shows grub-installer failed with error code 1. I have seen this on Ubuntu 12.04, 12.10, and 13.04. I believe the problem is that Grub is looking for device paths that match something like '/dev/sdX' or '/dev/hdX' but the device I am installing to does not follow that convention. The reason I believe it is looking for specific devices paths is if, during installation after my device has been partitioned, I escape into the shell (using alt+f2) and create a hard link from my device name and its partitions, to a device name that matches 'sdX', then Grub begins to install. For example, if my device name is /dev/fioa and has partitions /dev/fioa1, /dev/fioa2, and /dev/fioa3, I map those partitions to something like /dev/sdc, /dev/sdc1, /dev/sdc2, and /dev/sdc3 and continue with the installation onto /dev/sdc. By doing this, Grub will begin to install on the device. Possibly useful background information: - The operating system and all files install just fine without problem, it is the last step of installing the bootloader that fails. - In order to have the device recognized during installation, I either need to run 'insmod' from a terminal or we have to manually modify initrd to include our .ko file because it is not a standard disk driver. Using either method does not affect the outcome of Grub2 failing to install. - Even though grub begins to install after creating the hard links mentioned above, it does not finish successfully due to the linked paths (e.g. /dev/sdc) not being in the device map. That is a separate issue, but may be expected behavior and would likely need a separate ticket if it needed to be reported at all. SRU justification: [Impact] Installation impossible on FusionIO disks; furthermore the method used to identify partitions in GRUB relies on an obsolete ioctl which doesn't properly handle large disks. [Test Case] We have a remotely-accessible server on which we can do straight-through installation tests on the hardware in question. [Regression Potential] The device handling changes are boring and straightforward. The work to avoid the obsolete ioctl should be regression-tested on some other hardware (it doesn't matter too much which) to make sure it still works there; although I've already done this on my laptop. Original report follows: Running the Ubuntu Server installer in UEFI mode fails to install the Grub bootloader. Attached is the syslog output that shows grub-installer failed with error code 1. I have seen this on Ubuntu 12.04, 12.10, and 13.04. I believe the problem is that Grub is looking for device paths that match something like '/dev/sdX' or '/dev/hdX' but the device I am installing to does not follow that convention. The reason I believe it is looking for specific devices paths is if, during installation after my device has been partitioned, I escape into the shell (using alt+f2) and create a hard link from my device name and its partitions, to a device name that matches 'sdX', then Grub begins to install. For example, if my device name is /dev/fioa and has partitions /dev/fioa1, /dev/fioa2, and /dev/fioa3, I map those partitions to something like /dev/sdc, /dev/sdc1, /dev/sdc2, and /dev/sdc3 and continue with the installation onto /dev/sdc. By doing this, Grub will begin to install on the device. Possibly useful background information: - The operating system and all files install just fine without problem, it is the last step of installing the bootloader that fails. - In order to have the device recognized during installation, I either need to run 'insmod' from a terminal or we have to manually modify initrd to include our .ko file because it is not a standard disk driver. Using either method does not affect the outcome of Grub2 failing to install. - Even though grub begins to install after creating the hard links mentioned above, it does not finish successfully due to the linked paths (e.g. /dev/sdc) not being in the device map. That is a separate issue, but may be expected behavior and would likely need a separate ticket if it needed to be reported at all.
2013-12-05 15:52:31 Colin Watson grub2 (Ubuntu Precise): status New In Progress
2013-12-05 15:52:33 Colin Watson grub2 (Ubuntu Precise): importance Undecided High
2013-12-05 15:52:35 Colin Watson grub2 (Ubuntu Precise): assignee Colin Watson (cjwatson)
2013-12-05 15:52:36 Colin Watson grub2 (Ubuntu Precise): milestone ubuntu-12.04.4
2013-12-05 15:52:42 Colin Watson grub-installer (Ubuntu Precise): status New Triaged
2013-12-05 15:52:44 Colin Watson grub-installer (Ubuntu Precise): importance Undecided High
2013-12-05 15:52:46 Colin Watson grub-installer (Ubuntu Precise): assignee Colin Watson (cjwatson)
2013-12-05 15:52:48 Colin Watson grub-installer (Ubuntu Precise): milestone ubuntu-12.04.4
2013-12-05 16:24:10 Launchpad Janitor branch linked lp:~ubuntu-core-dev/ubuntu/precise/grub2/precise
2013-12-05 17:14:06 Launchpad Janitor branch linked lp:~ubuntu-core-dev/grub-installer/precise-proposed
2013-12-05 17:25:59 Colin Watson grub-installer (Ubuntu Precise): status Triaged In Progress
2013-12-06 09:49:11 Adam Conrad grub2 (Ubuntu Precise): status In Progress Fix Committed
2013-12-06 09:49:13 Adam Conrad bug added subscriber Ubuntu Stable Release Updates Team
2013-12-06 09:49:15 Adam Conrad bug added subscriber SRU Verification
2013-12-06 09:49:17 Adam Conrad tags verification-needed
2013-12-06 09:50:16 Adam Conrad grub-installer (Ubuntu Precise): status In Progress Fix Committed
2013-12-06 10:11:39 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/grub2
2013-12-06 10:12:07 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/grub-installer
2013-12-09 19:25:09 Brandon Hansen tags verification-needed verification-done
2013-12-13 18:48:48 Launchpad Janitor grub2 (Ubuntu): status In Progress Fix Released
2013-12-17 09:45:00 Launchpad Janitor branch linked lp:debian/experimental/grub2
2013-12-23 12:56:14 Colin Watson removed subscriber Ubuntu Stable Release Updates Team
2013-12-23 12:56:24 Launchpad Janitor grub2 (Ubuntu Precise): status Fix Committed Fix Released
2013-12-23 13:01:15 Launchpad Janitor grub-installer (Ubuntu Precise): status Fix Committed Fix Released
2013-12-23 13:25:14 Launchpad Janitor branch linked lp:ubuntu/precise-updates/grub2
2014-01-15 04:42:15 Launchpad Janitor branch linked lp:debian/jessie/grub2