LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   qemu boot of live USB image hands loading initrd.img (https://www.linuxquestions.org/questions/linux-software-2/qemu-boot-of-live-usb-image-hands-loading-initrd-img-626668/)

poblano 03-08-2008 04:50 PM

qemu boot of live USB image hangs loading initrd.img
 
I've just installed qemu-0.9.0-5 and the kqemu accelerator on my BLAG 70001 (derived from Fedora 7) desktop. When I attempt to bring up a live USB image of either BLAG, Damn Small Linux or Puppy Linux, it never seems to get past the "Loading initrd.img..." message. I invoke the image as follows:

Code:

qemu -m 512 -hda /dev/sde1
Booting the USB stick natively works fine. Should I be using a different set of options, or might something else be wrong? Thanks in advance.

poblano 03-09-2008 09:45 AM

Resolution
 
Problem was resolved by creating a qcow2 image and then booting from that:

Code:

pablo@brixton=> mkdir qemu
pablo@brixton=> cd qemu
pablo@brixton=> qemu-img create -f qcow2 c.img 3G
Formating 'c.img', fmt=qcow2, size=3145728 kB
pablo@brixton=> ll
total 24
-rw-r--r-- 1 pablo pablo 24576 2008-03-09 10:27 c.img
pablo@brixton=> qemu -cdrom /tmp/dsl-4.2.5.iso -hda c.img -m 256 -boot d



All times are GMT -5. The time now is 09:29 AM.