grub-install fails on SD/MMC (/dev/mmcblk*)

Bug #263654 reported by Harald Welte
6
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: grub

When grub-install is invoked to install the grub bootloader onto a SD/MMC
card, it fails because the grub-install script does not include regular
expressions for linux SD/MMC devices called /dev/mmcblkN

The 'boot from SD card' feature is already present in some currently shipping
hardware like some ASUS eeePC models. Industry rumours say that multiple BIOS
vendors are adding support for this. Also, apparently Windows 7 is supposed
to support this feature, so this is really about to become a standard feature.

It would be great to have boot-from-SD support in Debian before those devices
become more popular :)

The following patch (against grub svn) adresses this issue:

Revision history for this message
Harald Welte (haraldwelte) wrote :
Revision history for this message
Harald Welte (haraldwelte) wrote :

Sorry, I wanted to say it would be great to have boot-from-SD support in _Ubuntu_ before those devices become more popular ;)

Please also note: grub-installer has a similar problem, too. I will try to file a separate bug for that, including a proposed patch.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(Note that the EeePC's SD card reader is connected via USB which might explains how people have been booting it from SD cards)

Revision history for this message
thor2002ro (thor2002ro) wrote :

anyone knows a workaround how to make grub see the /dev/mmcblkN so i can boot from it ..... grub being on the hdd/ssd

Revision history for this message
Philippe Coval (rzr) wrote :

> anyone knows a workaround

dd < /dev/mmcblkX > /dev/sdY
then install grub on it
dd < /dev/sdY > /dev/mmcblkX

then grub will appear (but not sure it will boot the system)

--
http://rzr.online.fr/q/grub

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.