Qemu install problem

Discussion and support for the Pi-curious.

Qemu install problem

Postby abarbarian » Sat Jun 16, 2012 1:57 pm

Hi I am a enthusiastic novice, been running Arch for a couple of years and have a Pi on order. I would like to try out archlinux-arm through qemu.

I have managed to install qemu-kvm by using the wiki. However after scouring the net I can not find out how to install archlinuxarm-29-04-2012.img on qemu.

Have tried several different ways but am still unsuccessful.

Could someone please either give me some simple steps to follow or direct me to a web link that will allow me to install archlinuxarm-29-04-2012.img in qemu.

Thanks in advance for your help.

8-)
abarbarian
 
Posts: 12
Joined: Sat Jun 16, 2012 1:44 pm

Re: Qemu install problem

Postby WarheadsSE » Sat Jun 16, 2012 6:34 pm

OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3476
Joined: Mon Oct 18, 2010 2:12 pm

Re: Qemu install problem

Postby xenoxaos » Sun Jun 17, 2012 4:13 pm

Also note that running qemu won't be quite like running on a native pi. Personally, I would just wait until you got your pi and do all the work then so you don't have to go through the hassle twice.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 299
Joined: Thu Jan 06, 2011 1:45 am

Re: Qemu install problem

Postby abarbarian » Sun Jun 17, 2012 7:41 pm

Hi thanks for the replies.

I had found that site and had already tried to make the code offered work. Unfortunately even after correcting the code I could not get it to work.
Looks to me like it is meant to run on a Windows pc unless I am missing something.
I did try with the latest ArchArm image as I could not find a link to the older image as used in the code so maybe that is a problem.
All I could get for output was,
Code: Select all
qemu-system-arm.exe: command not found


Here are the highlighted mistakes I found, maybe it will help someone else.

qemu-system-arm.exe -M versatilepb -cpu arm1136-r2 -hda archlinuxarm-29-04-2012.img -kernel zImage-devtmpfs -m 192 -append "root=/dev/sda2# -vga std -net nic -net user


qemu-system-arm.exe -M versatilepb -cpu arm1136-r2 -hda archlinuxarm-29-04-2012.img -kernel zimage-devtmpfs -m 192 -append "root=/dev/sda2" -vga std -net nic -net user


So I am still looking for a way to install archarm for Pi on a pc running Arch 64 bit. Yes I could wait for my Pi to arrive but I may die before that happens. :lol:
abarbarian
 
Posts: 12
Joined: Sat Jun 16, 2012 1:44 pm

Re: Qemu install problem

Postby graysky » Mon Jul 16, 2012 6:21 am

abarbarian wrote:I have managed to install qemu-kvm by using the wiki.


This is your first mistake. KVM only works if the guest OS is the same Arch as the host. What is your host OS? I ask because you are showing us windows commands, not Linux commands. It works fine for me on an Arch x86_64 host:

Code: Select all
$ ls
archlinuxarm-13-06-2012.img  zImage-devtmpfs

$ qemu-system-arm -M versatilepb -cpu arm1136-r2 -hda archlinuxarm-13-06-2012.img -kernel zImage-devtmpfs -m 512 -append root=/dev/sda2 -net nic -net user
graysky
 
Posts: 47
Joined: Sun Jun 26, 2011 6:56 am
Location: /dev/null

Re: Qemu install problem

Postby crimsonredmk » Wed Jul 18, 2012 12:19 pm

If you plan on building complex packages like kernels or graphics drivers or things like that on QEMU, be prepared for unfixable errors. To be honest, I don't quite know the point of QEMU emulating ARM - Arch Linux ARM on it will get you Bash, pacman, and...well that's it. Your existing x86/x86_64 system will have Bash, pacman...what difference does it make?
Remember, Arch Linux ARM is completely donation-supported, and is totally awesome.
crimsonredmk
Site Admin
 
Posts: 454
Joined: Wed Dec 30, 2009 5:17 pm
Location: #archlinux-arm on irc.freenode.net


Return to Raspberry Pi

Who is online

Users browsing this forum: Bing [Bot] and 5 guests