Default grub boot device needs to not be /dev/mmcblk0

Bug #883012 reported by Nole Buddy
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubiquity defaults to installing grub to /dev/mmcblk0 if it exists. This often causes installation failures. It should use /dev/sda whether or not there is a /dev/mmcblk0.

Revision history for this message
Nole Buddy (narlydude2) wrote :
Revision history for this message
Nole Buddy (narlydude2) wrote :

And here is the [partman] file

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

Exception during installation:
Oct 28 09:17:55 ubuntu plugininstall.py: Traceback (most recent call last):
Oct 28 09:17:55 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1547, in <module>
Oct 28 09:17:55 ubuntu plugininstall.py: install.run()
Oct 28 09:17:55 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 56, in wrapper
Oct 28 09:17:55 ubuntu plugininstall.py: func(self)
Oct 28 09:17:55 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 197, in run
Oct 28 09:17:55 ubuntu plugininstall.py: self.configure_bootloader()
Oct 28 09:17:55 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 853, in configure_bootloader
Oct 28 09:17:55 ubuntu plugininstall.py: "GrubInstaller failed with code %d" % ret)
Oct 28 09:17:55 ubuntu plugininstall.py: InstallStepError: GrubInstaller failed with code 1
Oct 28 09:17:55 ubuntu plugininstall.py:

tags: added: ubiquity-2.6.10
tags: added: natty
tags: added: installer-crash
Revision history for this message
Brian Murray (brian-murray) wrote : Re: cannot create boot

Oct 28 09:15:31 ubuntu grub-installer: info: Installing grub on '/dev/mmcblk0'
Oct 28 09:15:31 ubuntu grub-installer: info: grub-install supports --no-floppy
Oct 28 09:15:31 ubuntu grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/mmcblk0"
Oct 28 09:15:34 ubuntu grub-installer: /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
Oct 28 09:15:34 ubuntu grub-installer: /usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install.
Oct 28 09:15:34 ubuntu grub-installer: error: Running 'grub-install --no-floppy --force "/dev/mmcblk0"' failed.
Oct 28 09:15:45 ubuntu ubiquity[3570]: Reverting lockdown the desktop environment.Oct 28 09:15:31 ubuntu grub-installer: info: Installing grub on '/dev/mmcblk0'

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
Phillip Susi (psusi) wrote :

The error is because you have an unused flash memory and the installer defaults to installing grub there if present. Install grub to /dev/sda instead.

affects: grub-installer (Ubuntu) → ubiquity (Ubuntu)
summary: - cannot create boot
+ Default grub boot device needs to not be /dev/mmcblk0
description: updated
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.