Bootloader install fails in VMware Fusion

Bug #1434753 reported by Robert Barabas
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
High
Unassigned
Declined for Vivid by Brian Murray

Bug Description

The bootloader attempted to install itself onto /dev/sda5 and failed. Settings were the default for partitioning except for LVM which was explicitly selected. The hardware in question is a VMware VM. I have not seen this error when I installed Ubuntu with the "main" 15.04 installer.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ubiquity 2.21.13
ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CasperVersion: 1.351
Date: Fri Mar 20 20:45:54 2015
InstallCmdLine: file=/cdrom/preseed/ubuntu-mate.seed boot=casper only-ubiquity initrd=/casper/initrd.lz quiet splash --
LiveMediaBuild: Ubuntu-MATE 15.04 "Vivid Vervet" - Alpha amd64 (20150225)
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Robert Barabas (robert-barabas) wrote :
Revision history for this message
Robert Barabas (robert-barabas) wrote :

I am going to attempt another install and review the default layout.

Revision history for this message
Robert Barabas (robert-barabas) wrote :

A screen shot of the error

Revision history for this message
Robert Barabas (robert-barabas) wrote :

Screenshot of the layout and available options

Revision history for this message
Robert Barabas (robert-barabas) wrote :

Screenshot of (failed) attempt to pick /dev/sda

Revision history for this message
Robert Barabas (robert-barabas) wrote :

Same problem without LVM

summary: - Bootloader install failed with LVM in VMware Fusion
+ Bootloader install fails in VMware Fusion
summary: - Bootloader install fails in VMware Fusion
+ Bootloader install fails in VMware Fusion in Ubuntu Mate
Revision history for this message
Robert Barabas (robert-barabas) wrote : Re: Bootloader install fails in VMware Fusion in Ubuntu Mate

The kernel in the "main" Ubuntu installer is newer, 3.19.0-9. Grub is there 2.02-beta2-21. I'll try the daily build to see if this is resolved in there.

Revision history for this message
Robert Barabas (robert-barabas) wrote :

The problem still exists in the recent daily build (http://cdimage.ubuntu.com/ubuntu-mate/daily-live/20150320/).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Barabas (robert-barabas) wrote :

I stumbled upon the same error in the main installer (vervet-desktop-amd64.iso from 2015-03-20), also.

Disk was erased and partitions recreated. LVM was selected for partitioning. All available updates were applied.

Attached screenshot.

summary: - Bootloader install fails in VMware Fusion in Ubuntu Mate
+ Bootloader install fails in VMware Fusion
Revision history for this message
Robert Barabas (robert-barabas) wrote :

Just reproduced it again with the vanilla installer. Looks like the vanilla installer is affected also.

Revision history for this message
Robert Barabas (robert-barabas) wrote :

Same with vanilla 03-21 build.

Revision history for this message
dc (darkcharl) wrote :

grub-mkdevicemap --no-floppy -m - output

Revision history for this message
dc (darkcharl) wrote :

cat /proc/mounts output

Revision history for this message
dc (darkcharl) wrote :

udevadm info -q property -n /dev/sda output

Revision history for this message
dc (darkcharl) wrote :

root@ubuntu-mate:/usr/lib/ubiquity# python -c 'from ubiquity import misc; print misc.is_removable("/dev/sda")'
None

Revision history for this message
dc (darkcharl) wrote :

Mar 21 15:04:59 ubuntu-mate ubiquity: Setting up grub-pc (2.02~beta2-21) ...
Mar 21 15:04:59 ubuntu-mate ubiquity:
Mar 21 15:04:59 ubuntu-mate ubiquity: Creating config file /etc/default/grub with new
version
Mar 21 15:05:00 ubuntu-mate ubiquity: Setting up grub-gfxpayload-lists (0.6) ...
Mar 21 15:05:00 ubuntu-mate ubiquity: Error:
Mar 21 15:05:00 ubuntu-mate ubiquity: /dev/sda5: unrecognised disk label
Mar 21 15:05:00 ubuntu-mate ubiquity: grub-probe: error:
Mar 21 15:05:00 ubuntu-mate ubiquity:
Mar 21 15:05:00 ubuntu-mate ubiquity: unknown filesystem
Mar 21 15:05:00 ubuntu-mate ubiquity: .
Mar 21 15:05:00 ubuntu-mate grub-installer: info: Installing grub on '/dev/sda5'
Mar 21 15:05:00 ubuntu-mate grub-installer: info: grub-install does not support --no-f
loppy
Mar 21 15:05:00 ubuntu-mate grub-installer: info: Running chroot /target grub-install
 --force "/dev/sda5"
Mar 21 15:05:00 ubuntu-mate grub-installer: Installing for i386-pc platform.
Mar 21 15:05:00 ubuntu-mate grub-installer: grub-install: error:
Mar 21 15:05:00 ubuntu-mate grub-installer:
Mar 21 15:05:00 ubuntu-mate grub-installer: unable to identify a filesystem in hostdis
k//dev/sda; safety check can't be performed
Mar 21 15:05:00 ubuntu-mate grub-installer: .
Mar 21 15:05:00 ubuntu-mate grub-installer: error: Running 'grub-install --force "/de
v/sda5"' failed.

Revision history for this message
dc (darkcharl) wrote :

root@ubuntu-mate:~# ls -la /dev/mapper/
total 0
drwxr-xr-x 2 root root 100 Mar 21 11:02 .
drwxr-xr-x 20 root root 4440 Mar 21 11:02 ..
crw------- 1 root root 10, 236 Mar 21 11:00 control
lrwxrwxrwx 1 root root 7 Mar 21 11:16 ubuntu--mate--vg-root -> ../dm-0
lrwxrwxrwx 1 root root 7 Mar 21 11:02 ubuntu--mate--vg-swap_1 -> ../dm-1

root@ubuntu-mate:~# dmsetup ls --tree
ubuntu--mate--vg-swap_1 (252:1)
 └─ (8:5)
ubuntu--mate--vg-root (252:0)
 └─ (8:5)

Changed in grub-installer (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Please:
  1. Report to <https://www.debian.org/Bugs/>.
  2. Paste the new report URL here.
  3. Set this bug status back to "confirmed".

Thank you.

Changed in grub-installer (Ubuntu):
status: Confirmed → Incomplete
tags: added: asked-to-upstream
Revision history for this message
Robert Barabas (robert-barabas) wrote :

Looks like the bug is triggered by selecting LVM.

Also, there appears to be a potential issue with cleanup. After I cleared the disks manually, removed the complete LVM structure removal and repartitioned the disk via fdisk I was able to perform a complete install without selecting LVM again with both the vanilla and the Mate Ubuntu installer.

Revision history for this message
dc (darkcharl) wrote :

System log from a sporadic successful run with lvm selected

Revision history for this message
Brian Murray (brian-murray) wrote :

I don't think there is any need to forward this to upstream yet.

affects: grub-installer (Ubuntu) → ubiquity (Ubuntu)
Changed in ubiquity (Ubuntu):
importance: Critical → High
tags: added: rls-v-incoming
no longer affects: grub-installer
Changed in ubiquity (Ubuntu):
status: Incomplete → Triaged
tags: removed: asked-to-upstream
tags: added: rls-w-incoming
removed: rls-v-incoming
tags: added: rls-w-notfixing
removed: rls-w-incoming
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in ubiquity (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.