The Raspberry Pi Foundation has just announced the release of Arch Linux for the Raspberry Pi. This image is based on a minimal image of Arch Linux and does not come with a graphical interface. This distribution may not be suitable for beginners and you may be better off using the Debian SD Card image or even the upcoming Fedora 14 Raspberry Pi Remix image.
You can always install extra packages with Pacman, the Arch Linux package manager.
To update the package list:
1 |
pacman -Syu |
To Install LXDE Graphical Interface:
1 |
pacman -S lxde xorg-xinit xf86-video-fbdev |
To run LXDE:
1 |
xinit /usr/bin/lxsession |
You can download it using BitTorrent: archlinuxarm-01-03-2012.zip.torrent (preferred method) or via one of the HTTP mirrors: archlinuxarm-01-03-2012.zip. (This link will redirect your download to the closest available HTTP server).
The default login credentials are: root/root
I haven’t tried it, but you should be able to use this release in qemu, by following instructions similar to the one I gave to run Raspberry Pi Debian release in QEMU.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
I did get it to boot per your instructions but it never finishes the boot process. The debian image boots just fine so I wonder if it is because I use the same kernel for both…
I did try extracting the kernel.img from the rootfs and use that instead of zImage_3.1.9 but that just produced a black screen in qemu…
If you use the same kernel as I provided by debian, you won’t be able to use the keyboard in LXDE, but it should still boot.
You cannot use the image kernel because it is for the Raspberry Pi and qemu emulates ARM versatile board.
Well it does boot. But never gets past Starting sshd [bkgd]…
I haven’t tried Arch Linux, so I’m not entirely sure what the issue could be.
Can you get an IP address? If not, make sure you build qemu-system-arm 1.0.1 (linaro) as per step 6 of http://www.cnx-software.com/2012/03/08/instructions-to-run-raspberry-pi-fedora-14-remix-in-qemu/
I am running the following qemu-system-arm version: QEMU emulator version 1.0.50 (Debian 1.0.50-2012.03-0ubuntu1), Copyright (c) 2003-2008 Fabrice Bellard I tried using the same steps as the Debian article for the Arch image. I was not able to get to a prompt. Output: It starts sshd (bkgd) and then shows nothing for some time. Later, after some time, it shows: INIT: Id “c1” respawning too fast: disabled for 5 minutes INIT: Id “c2” respawning too fast: disabled for 5 minutes INIT: Id “c3” respawning too fast: disabled for 5 minutes INIT: Id “c4” respawning too fast: disabled for 5 minutes INIT:… Read more »
I haven’t tried Arch Linux image, but there is a thread about Arch Linux in Qemu in Raspberry Pi forums (http://www.raspberrypi.org/forum/general-discussion/arch-linux-arm-and-qemu) and they had the same issue. You need to use another kernel image with tmpfs enabled. (Cf. jojopi message).