Qemu install problem

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

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

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
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: 323
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,
$this->bbcode_second_pass_code('', 'qemu-system-arm.exe: command not found')

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

$this->bbcode_second_pass_quote('', 'q')emu-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


$this->bbcode_second_pass_quote('', 'q')emu-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

$this->bbcode_second_pass_quote('abarbarian', '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:

$this->bbcode_second_pass_code('', '$ 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
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 3 guests