[ale] QEMU Grub boot problem

James Baker jimbakerforlinux at comcast.net
Mon Aug 29 19:10:17 EDT 2011


On 08/29/2011 03:00 PM, David Hillman wrote:
> I am trying to test out a custom firmware that is supposed to be 
> loaded to a router board.  The test is done using QEMU.  I...
>
>    1. build the kernel and initrd using the tools from the board
>       manufacturer.
>    2. used qemu-img to create a raw disk image
>    3. mkfs.ext2 to format the image
>    4. mounted the image to my Ubuntu filesystem as a loop device
>    5. used debootstrap to build a minimal filesystem, plus added tools
>       required for the board to run
>    6. copied over the kernel and initrd to /boot on the mounted filesystem
>    7. chrooted into the system to setup grub menu.1st, etc
>    8. exited out of and booted the router system using QEMU
>
> No matter what I do, Grub gives up and throws an error about not being 
> able to read the filesystem.  I know the ext2 driver is in the initrd.
> Manually setting up the partition info and telling Grub to boot from 
> the prompt gives the same error.
>
> Is there something else I should be looking for?  My understanding of 
> the Linux boot process might be fuzzy here, plus I am not that 
> familiar with Grub.
> It's what was recommended to test inside QEMU.
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
The file name should be menu.lst NOT menu.1st.
HTH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110829/151fdfc2/attachment.html 


More information about the Ale mailing list