[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian and QEMU virtio-net-device



OK, the problem here is I'm not able to mount the disk.  Nothing I do
causes it to show up in /dev.  I'm using

qemu-system-arm -M vexpress-a9 \
		-cpu cortex-a9 \
		-m 1024M \
		-kernel /export/armmp/vmlinuz \
		-initrd /export/armmp/initrd.gz \
		-append "root=mmcblk0p1 console=ttyAMA0,115200" \
		-dtb /export/armmp/vexpress-v2p-ca9.dtb \
		-sd /export/armhf.qcow2 \
		-monitor stdio


I've also tried

-drive if=none,file=armhf.qcow2,format=qcow2,id=hd \
-device virtio-blk-device,drive=hd \

As well as

-drive if=none,file=armhf.qcow2,format=raw,id=hd \
-device virtio-blk-device,drive=hd \

-drive if=none,file=armhf.qcow2,driver=qcow2,id=hd \
-device virtio-blk-device,drive=hd \

and

-drive if=sd,format=qcow2,file=/export/armhf.qcow2,id=hd \
-drive if=sd,format=raw,file=/export/armhf.qcow2,id=hd \
-drive if=sd,driver=qcow2,file=/export/armhf.qcow2,id=hd \
-drive if=sd,file=/export/armhf.qcow2,id=hd \

The virtual disk is formatted with the Debian default (p1 /boot, p2
root, p5 /swap). The mount works in wheezy using the -sd parameter above
and shows up as /dev/mmcblk0, but no luck in jessie.

Everything I've found on the internet indicates the -sd parameter should
be all I need, but it doesn't work.  Any ideas here?

I really wish I understood more about how Debian and qemu work together!

Thanks,
Jerry


Reply to: