Grub2 boot from .img
I'm trying to add ChromeOS-Flow to my multiboot grub2 USB stick. The site:
gives a .img file and it tells you to use USB-ImageWriter to write it to a USB stick. I'd rather do some loopback trickery, however. Can anyone help me with this?
I've delved into GRUB and GRUB2 extensively, and I can tell you that grub2 and IMG files do not work well together.
The problem is that you have to load the img into RAM, and then at the right moment pass control of the boot process to the kernel, however grub2 has timing issues.
What I would personally reccomend is that if you have enough space, just extract the img file onto a USB stick. It will create 2 partitions, a C-STATE and C-ROOT. In C-ROOT/boot you will find the file extlinux.conf. It will have this entry:
change (hdX,Y) to the partition of C-ROOT
change 4c921566-bae8-49fb-b6fa-92e675353dd6 to the UUID of your partition (C-ROOT, find it through gparted or some other tool)
This might interest you: http://www.lucas-nussbaum.net/blog/?p=485
Good luck, ask away if you need to, I'll help as much as I can.
Might have to use grub4dos if it even could work.
See pendrivelinux.com for more ideas.
|All times are GMT -5. The time now is 08:23 PM.|