qemu: generating ext3 images including activities

Daniel Drake dsd at laptop.org
Tue Aug 26 22:40:09 EDT 2008


On Tue, Aug 26, 2008 at 9:01 PM, Erik Garrison <erik at laptop.org> wrote:
> Currently I am stuck because I do not know how to write grub to an image
> file.  Here is what happens when I try to write the bootloader [3] on a
> loopback (produced via losetup /dev/loop0 os.img).
>
> Any ideas?  Someone out there constructed the qemu-bootable ext3 image
> in the past.  Would you please step forward and advise?

Pretty sure I did this before without the image mounted. Unmount the
loop device and destroy the loop mapping, then in grub do:

device (hd0) disk.img
root (hd0,0)
setup (hd0)



More information about the Devel mailing list