Re: kvm-arm: qemu always starts with drive in read-only mode
On Wed, Aug 19, 2015 at 07:44:34PM +0200, Guido Haase wrote:
> After I started the system by command
>
> qemu-system-arm -enable-kvm -smp 1 -m 256 -M vexpress-a15 -cpu host
> -kernel /home/guido/kvm-arm/jessie/vexpress-zImage -dtb
> /home/guido/kvm-arm/jessie/vexpress-v2p-ca15-tc1.dtb -append
> "root=/dev/vda console=ttyAMA0 rootwait" -drive
> if=none,file=/home/guido/kvm-arm/jessie/jessie-arm.img,id=factory
> -device virtio-blk-device,drive=factory -net
> nic,macaddr=02:fd:01:de:ad:34 -net tap -monitor null -serial stdio
> -nographic
> the VM starts and I'm aible to login. Sadly, device jessie-arm.img i.e.
> /dev/vda is allways mounted read-only. After loging into the VM I can
> mount it read/write. But this no solution. I want the machine booting
> with the device in read/write mode, because already during the boot
> process some deamons try to write to it.
You can change the -append line to "root=/dev/vda console=ttyAMA0 rootwait rw"
I'm exactly sure why that doesn't happen by default.
Riku
Reply to: