qemu: generating ext3 images including activities
Erik Garrison
erik at laptop.org
Tue Aug 26 23:05:16 EDT 2008
On Tue, Aug 26, 2008 at 09:40:09PM -0500, Daniel Drake wrote:
> 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)
Yeah! Simple.
Now I at least get grub, but I'm dropped into its shell without the
menu. Any ideas?
Erik
More information about the Devel
mailing list