qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Run qemu with /dev/sda ?


From: Ran Shalit
Subject: [Qemu-discuss] Run qemu with /dev/sda ?
Date: Mon, 18 Apr 2016 22:17:56 +0300

Hello,

I probably have some misunderstanding with running qemu.
I see in the following link:
http://www.osadl.org/Use-BuildRoot-to-create-a-Linux-image-fo.buildroot-qemu.0.html
that qemu should be run as following:

KERNEL="bzImage"
DISK="rootfs.i686.ext2"

qemu-system-i386 -kernel $LOCATION/$KERNEL \
-hda $LOCATION/$DISK \
-boot c \
-m 128 \
-append "root=/dev/sda rw" \
-localtime \
-no-reboot \
-name rtlinux \
-net nic -net user \
-redir tcp:2222::22 \
-redir tcp:3333::3333

But how can it be that qemu use the same disk as the host ?
Isn't it dangerous ?

Regards,
Ran



reply via email to

[Prev in Thread] Current Thread [Next in Thread]