Incorrect default GRUB installation target when /boot is on LVM

Bug #916077 reported by spufidoo
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Medium
Unassigned

Bug Description

/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.9.5
ProcVersionSignature: Ubuntu 3.2.0-2.5-generic 3.2.0-rc3
Uname: Linux 3.2.0-2-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
CasperVersion: 1.292
Date: Fri Jan 13 15:41:42 2012
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
ProcEnviron:
 LANGUAGE=en_GB.UTF-8
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
spufidoo (spufidoo) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : Traceback

Exception during installation:
Jan 13 15:41:39 ubuntu plugininstall.py: Traceback (most recent call last):
Jan 13 15:41:39 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1653, in <module>
Jan 13 15:41:39 ubuntu plugininstall.py: install.run()
Jan 13 15:41:39 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 55, in wrapper
Jan 13 15:41:39 ubuntu plugininstall.py: func(self)
Jan 13 15:41:39 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 199, in run
Jan 13 15:41:39 ubuntu plugininstall.py: self.configure_bootloader()
Jan 13 15:41:39 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 964, in configure_bootloader
Jan 13 15:41:39 ubuntu plugininstall.py: "GrubInstaller failed with code %d" % ret)
Jan 13 15:41:39 ubuntu plugininstall.py: InstallStepError: GrubInstaller failed with code 1
Jan 13 15:41:39 ubuntu plugininstall.py:

tags: added: installer-crash
Revision history for this message
Brian Murray (brian-murray) wrote : Re: grub-install - /usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).

Jan 13 15:39:46 ubuntu grub-installer: info: Installing grub on '/dev/mapper/vgrp000-boot64'
Jan 13 15:39:46 ubuntu grub-installer: info: grub-install supports --no-floppy
Jan 13 15:39:46 ubuntu grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/mapper/vgrp000-boot64"
Jan 13 15:39:48 ubuntu grub-installer: /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition-less disk or to a partition. This is a BAD idea..
Jan 13 15:39:48 ubuntu grub-installer: /usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Jan 13 15:39:48 ubuntu grub-installer: error: Running 'grub-install --no-floppy --force "/dev/mapper/vgrp000-boot64"' failed.

affects: ubiquity (Ubuntu) → grub-installer (Ubuntu)
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
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/916077

tags: added: iso-testing
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Marked bug 986797 as a duplicate of this. Setting status to Triaged and and importance to High. Also bringing this to the attention of the release team as it would appear to affect dist upgrades.

Changed in grub-installer (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

Bug 986797 is unrelated to this bug. This appears to have something to do with LVM, and is probably ubiquity's fault for failing to select an appropriate default GRUB installation target in that case; but since LVM isn't yet supported in ubiquity as such, this isn't a high priority.

Changed in grub-installer (Ubuntu):
status: Triaged → Confirmed
importance: High → Undecided
status: Confirmed → Triaged
importance: Undecided → Medium
affects: grub-installer (Ubuntu) → ubiquity (Ubuntu)
summary: - grub-install - /usr/sbin/grub-probe: error: cannot find a device for
- /boot/grub (is /dev mounted?).
+ Incorrect default GRUB installation target when /boot is on LVM
Revision history for this message
Alfe (alfeberlin) wrote :

I ran into that one as well when installing Ubuntu 12.04. I tried using a BTRFS as file system for the root mountpoint (/). I solved my trouble by using EXT4 again.

Seems like grub cannot handle BTRFS yet :-/

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.

Other bug subscribers

Remote bug watches

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