Chainload boot of Ubuntu installed on 32GB SD card from legacy Grub boot on USB

Posted by Gary Darsey on Ask Ubuntu See other posts from Ask Ubuntu or by Gary Darsey
Published on 2012-11-03T02:53:11Z Indexed on 2012/11/03 5:26 UTC
Read the original article Hit count: 426

Filed under:
|

I have Ubuntu installed on a 32 GB SD card (in the Storage Expansion slot on an Acer Aspire One) with Grub2 installed in the same partition. I boot into legacy Grub on a USB drive and would like to boot by chainloading Grub2 from Grub (kernel/initrd or symlink booting would also be fine), but I haven't figured out how to do this from legacy Grub CLI. Output from blkid for this partition is /dev/mmcblk0p1: LABEL="Ubuntu" UUID="7ceb9fa7-238c-4c5d-bb8e-2c655652ddec" TYPE='ext4" / fdisk -lu information Boot indicator ID 83.

Related entries in grub.cfg:

search --no-floppy --fs-uuid --set-root 7ceb9fa7-238c-4c5d-bb8e-2c655652ddec

linux /boot/vmlinuz-3.5.0-17-generic root=UUID=7ceb9fa7-238c-4c5d-bb8e-2c655652ddec...

initrd /boot/initrd.img-3.5.0-17-generic


I can't seem to replicate this in legacy Grub. Is there any way get Grub2 to chainload? How do I set root with UUID in legacy Grub?

I prefer to boot from USB. Would Grub2 on USB (copying the grub.cfg generated during installation) be an option?

© Ask Ubuntu or respective owner

Related posts about grub2

Related posts about usb-drive