bugGNU GRUB - Bugs: bug #24181, grub-install fails to recognize...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24181: grub-install fails to recognize SD/MMC cards on Linux (/dev/mmcblkN)

Submitter:  Harald Welte <laforge>
Submitted:  Mon 01 Sep 2008 03:21:10 PM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Harald Welte
Open/Closed:  Closed Release:  None
Release:  svn Reproducibility:  Every Time
Planned Release:  None

Mon 01 Sep 2008 07:17:31 PM UTC, comment #1: 

Oh as I replied to your Debian Report I didn't see that you did indeed forward this.
But well this is about grub-legacy which is not support at all now.
grub2 is teh future now and in fact it should even support these devices
taken from util/biosdisk.c

      /* If this is a MultiMediaCard (MMC).  */
      if (strncmp ("mmcblk", p, sizeof ("mmcblk") - 1) == 0)

So closing the report, feel free to reopen in case it does indeed not work with current grub2 (either upstream SVN or debian lenny should be recent enough.)

Felix Zielcke <fzielcke>
Group Member
Mon 01 Sep 2008 03:21:10 PM UTC, original submission:  

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, as well as a certain well-known manufacturer of proprietary operating systems.  This is thus bound to become a standard feature just like booting from USB has.

It would be great to have boot-from-SD support in grub and the major distributions  before those devices become more popular :)

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

Harald Welte <laforge>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #16416:  grub-install-sdmmc.patch added by laforge (711B - text/x-diff - proposed fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fzielcke (Posted a comment)
  • -email is unavailable- added by laforge (Submitted the item)
  • -email is unavailable- added by laforge
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-09-01 fzielcke Open/ClosedOpen Closed
    2008-09-01 laforge Attached File- Added grub-install-sdmmc.patch, #16416
        Carbon-Copy- Added laforge

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code