ISST-LTE: Ubuntu15.04: Boot loader installation is failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Fix Released
|
Critical
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
Undecided
|
Mathieu Trudel-Lapierre |
Bug Description
== Comment: #0 - Sowmya G. Parvathi <email address hidden> - 2015-01-23 04:26:08 ==
I am trying to install ubuntu 15.04 in one of the lpar, most of the file sets will be installed but boot loader installation is failing with below error:
????
? ?
? No boot loader installed ?
? No boot loader has been installed, either because you chose not to or ?
? because your specific architecture doesn't support a boot loader yet. ?
? ?
? You will need to boot manually with the /boot/vmlinux kernel on ?
? partition /dev/sda2 and root=/dev/sda2 quiet passed as a kernel ?
? argument. ?
? ?
? <Continue> ?
? ?
????
And I have choosen single path disks for installation.
Please let me know for more information.
Contact: <email address hidden>
== Comment: #4 - Sowmya G. Parvathi <email address hidden> - 2015-01-23 12:01:12 ==
For disk selection, i choose "Use Entire Disk" option:
?????
? ?
? The installer can guide you through partitioning a disk (using ?
? different standard schemes) or, if you prefer, you can do it ?
? manually. With guided partitioning you will still have a chance later ?
? to review and customise the results. ?
? ?
? If you choose guided partitioning for an entire disk, you will next ?
? be asked which disk should be used. ?
? ?
? Partitioning method: ?
? ?
? Guided - resize SCSI3 (0,1,4), partition #1 (sdj) and use freed s ?
? Guided - resize SCSI3 (0,1,5), partition #1 (sdk) and use freed s ? ?
? Guided - use entire disk ?
? Guided - use the largest continuous free space ? ?
? Guided - use entire disk and set up LVM ?
? ?
? <Go Back> ?
? ?
?????
Next, i choose a disk from the list and proceed with installation.
I also observed, when boot loader installation was not successful, i tried the same again from the Main menu and installation was successful.
The scenario u mentioned might be true: the installer may just think that no bootloader has been selected. So it could be a problem with the installer dialogs, that you were not prompted for this but should have been.
== Comment: #5 - David Heller <email address hidden> - 2015-01-23 14:42:18 ==
Hmm. It could be confused about which disk to install the boatloader to... or perhaps it installed the OS to a disk other than sda and for some reason, only knows to install the bootloader to sda... or some variation of that theme. I.e. it's confused by multiple disks in the system.
Is it possible to install to a system with only one disk online, as a sanity check?
In either case I think you will have to provide some log information to be sure. At the point it fails, can you please "execute a shell" from within the installer, and search the latter part of /var/log/syslog for pertinent errors; or attach the file here
== Comment: #6 - Sowmya G. Parvathi <email address hidden> - 2015-01-28 06:26:37 ==
I tried installation on two lpars.
1. On one lpar with multiple disks, boot loader installation is failing.
logs: /var/log/syslog
Jan 28 09:48:44 grub-installer: info: Identified partition label for /dev/sda2: gpt
Jan 28 09:48:44 kernel: [ 4184.838418] sdd: sdd1 sdd2 sdd3
Jan 28 09:48:44 kernel: [ 4184.847047] sde: sde1 sde2 sde3
Jan 28 09:48:44 kernel: [ 4184.858556] sdf: sdf1 sdf2 sdf3
Jan 28 09:48:44 kernel: [ 4184.867589] sdg: sdg1 sdg2 sdg3
Jan 28 09:48:44 kernel: [ 4184.876261] sdh: sdh1 sdh2 sdh3
Jan 28 09:48:44 kernel: [ 4184.884164] sdi: sdi1 sdi2 sdi3
Jan 28 09:48:44 kernel: [ 4184.892658] sdj: sdj1 sdj2 sdj3
Jan 28 09:48:45 kernel: [ 4185.148993] sdd: sdd1 sdd2 sdd3
Jan 28 09:48:45 kernel: [ 4185.217318] sde: sde1 sde2 sde3
Jan 28 09:48:45 kernel: [ 4185.489753] sdh: sdh1 sdh2 sdh3
Jan 28 09:48:45 grub-installer: info: Wiping PReP partition
Jan 28 09:48:45 grub-installer: dd: invalid number ''
Jan 28 09:48:45 main-menu[352]: (process:9397): File descriptor 3 (pipe:[2083]) leaked on lvdisplay invocation. Parent PID 10145: /bin/sh
Jan 28 09:48:45 main-menu[352]: (process:9397): File descriptor 4 (/dev/hvc0) leaked on lvdisplay invocation. Parent PID 10145: /bin/sh
Jan 28 09:48:45 main-menu[352]: (process:9397): File descriptor 5 (/dev/hvc0) leaked on lvdisplay invocation. Parent PID 10145: /bin/sh
Jan 28 09:48:45 main-menu[352]: (process:9397): File descriptor 6 (/dev/hvc0) leaked on lvdisplay invocation. Parent PID 10145: /bin/sh
Jan 28 09:48:45 main-menu[352]: (process:9397): Volume group "sda" not found
Jan 28 09:48:45 main-menu[352]: (process:9397): Skipping volume group sda
Jan 28 09:48:45 main-menu[352]: (process:9397): blockdev: can't open '': No such file or directory
Jan 28 09:48:45 main-menu[352]: WARNING **: Configuring 'grub-installer' failed with error code 1
Jan 28 09:48:45 main-menu[352]: WARNING **: Menu item 'grub-installer' failed.
Jan 28 09:49:26 main-menu[352]: INFO: Modifying debconf priority limit from 'high' to 'medium'
Jan 28 09:49:26 debconf: Setting debconf/priority to medium
Jan 28 09:50:07 main-menu[352]: INFO: Menu item 'di-utils-shell' selected
2. On lpar with one disk, installation is successful, but in installer "Main Menu" i still get option, "Continue without bootloader":
????
? ?
? No boot loader installed ?
? No boot loader has been installed, either because you chose not to or ?
? because your specific architecture doesn't support a boot loader yet. ?
? ?
? You will need to boot manually with the /boot/vmlinux kernel on ?
? partition /dev/sda2 and root=/dev/sda2 quiet passed as a kernel ?
? argument. ?
? ?
? <Continue> ?
? ?
????
== Comment: #8 - David Heller <email address hidden> - 2015-01-28 20:10:43 ==
I don't see any major errors in syslog before it failed. There are a few "couldn't mount" errors early on but I'm guessing that's part of the disk detection. What looks odd though, is that grub seems to be looking at /dev/sda2:
Jan 28 09:48:44 grub-installer: info: Identified partition label for /dev/sda2: gpt
Jan 28 09:48:45 grub-installer: info: Wiping PReP partition
Jan 28 09:48:45 grub-installer: dd: invalid number ''
And it probably should be looking at /dev/sda1 instead:
root@pole2lp2:~# parted -l
Model: IBM 2810XIV (scsi)
Disk /dev/sda: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8389kB 7340kB prep
2 8389kB 32.9GB 32.9GB ext4
3 32.9GB 34.4GB 1460MB linux-swap(v1)
In fact, it's actually /dev/sdf that has the root partition here:
root@pole2lp2:~# mount | grep sd
/dev/sdf2 on / type ext4 (rw,errors=
But this drive is partitioned the same way: the prep partition is the 1st partition:
Model: IBM 2810XIV (scsi)
Disk /dev/sdf: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8389kB 7340kB prep
2 8389kB 32.9GB 32.9GB ext4
3 32.9GB 34.4GB 1460MB linux-swap(v1)
So, it kind of looks like it's having trouble finding the correct partition to install to.
affects: | ubuntu → grub-installer (Ubuntu) |
Changed in grub-installer (Ubuntu): | |
status: | New → Confirmed |
Changed in grub-installer (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
tags: |
added: targetmilestone-inin1504 removed: targetmilestone-inin--- |
Changed in grub-installer (Ubuntu Trusty): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
status: | New → In Progress |
Default Comment by Bridge