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

Bug #883012 reported by Nole Buddy on 2011-10-28
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
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.

Nole Buddy (narlydude2) wrote :
Nole Buddy (narlydude2) wrote :

And here is the [partman] file

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

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)
Launchpad Janitor (janitor) wrote :

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

Changed in grub-installer (Ubuntu):
status: New → Confirmed
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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments