Once you are able to run QEMU in your environment, you can use the
runqemu-extract-sdk
script, which is located
in the scripts
directory along with
runqemu
script.
The runqemu-extract-sdk
takes a root
file system tarball and extracts it into a location that you
specify.
Then, when you run runqemu
, you can specify
the location that has the file system to pass it to QEMU.
Here is an example that takes a file system and extracts it to
a directory named test-nfs
:
runqemu-extract-sdk ./tmp/deploy/images/qemux86/core-image-sato-qemux86.tar.bz2 test-nfs
Once you have extracted the file system, you can run
runqemu
normally with the additional
location of the file system.
You can then also make changes to the files within
./test-nfs
and see those changes appear in the
image in real time.
Here is an example using the qemux86
image:
runqemu qemux86 ./test-nfs