[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#498568: Debian cannot be installed on bootable SD cards



On Saturday 13 September 2008, Harald Welte wrote:
> > > 2. use a grub-install or similar program that can discover the bios
> > > drive number to /dev/mmcblk* device name mapping
>
> grub itself (the actual bootloader) has no problem.
> grub2 supports /dev/mmcblk* out of the box
>
> However, the old grub1 needs a one-line fix to the grub-install
> shellscript.  I have sent a trivial patch to the grub developers, but
> they rejected it since grub1 is no longer maintained.

For Debian the patch you linked to is not actually needed.
Debian's grub1 uses the grub-install from grub2 and thus supports mmcblk 
devices.

I have successfully installed grub to /dev/mmcblk0 after adding support 
for it in grub-installer. I tried testing it by chainloading grub on the 
SD card from the regular grub on my hard disk, but unfortunately the BIOS 
was not to be fooled (Error 21: Selected disk does not exist).

So the reboot is untested, but I'd expect it to work on systems that do 
support booting from SD card.

Of course that still leaves support for other bootloaders (lilo, other 
architectures).

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: