LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   How to run linux embedded image by qemu kvm and how to mount it (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/how-to-run-linux-embedded-image-by-qemu-kvm-and-how-to-mount-it-4175474877/)

golden_boy615 08-27-2013 08:06 AM

How to run linux embedded image by qemu kvm and how to mount it
 
I would like to run linux embedded image by qemu kvm .
I used dd to get an image of my linaro ubuntu of my cubieboard which works fine but I want to run it with qemu or kvm inside my PC to make some changes and do some tests.
another question is how can I mount this image to a directory of my PC to access its files and make some changes?

jefro 08-28-2013 09:49 PM

For qemu you just issue qemu -hda filename or some such command. Maybe -hd0

http://qemu.weilnetz.de/qemu-doc.htm...005finvocation

I tend to use some gui.

The file you have is a raw file hopefully of some entire drive. It is quite readable by qemu.

It may be possible that you can simply mount the image by a loop or fuse or other way.

You would have to get close to the original system such as arm or what not. It may not work if the virtual system is too far off.


All times are GMT -5. The time now is 02:57 AM.