LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 08-27-2013, 09:06 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 444

Rep: Reputation: 17
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?
 
Old 08-28-2013, 10:49 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 12,341

Rep: Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 08:41 AM
kvm-qemu-img: qcow2 disk image format changes to raw format in RHEL-KVM 5.6 rajivdp Linux - Virtualization and Cloud 2 09-19-2011 12:23 PM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 03:05 PM
can embedded linux be run on qemu ? abhishek564 Linux - Mobile 6 12-27-2010 04:14 AM
can embedded linux be run on qemu ? abhishek564 Linux - Embedded & Single-board computer 1 12-17-2010 05:53 AM


All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration