Thursday, January 22, 2009

Debian arm port on QEMU

http://people.debian.org/~aurel32/qemu/arm/

http://www.aurel32.net/info/debian_arm_qemu.php

Almost the same like Ubuntu.
You need a blank hda.img, kernel, initrd(debian installer)
But it need not to setup qemu bridge network when installation, make it more easy.
If the network not work, just do the same thing as Ubuntu.

You can install base system first, and then tasksel "Desktop Environment". It takes a lot of time to get the packages from debian server.




$wget wget http://people.debian.org/~aurel32/arm-versatile/vmlinuz-2.6.18-6-versatile
$wget wget http://people.debian.org/~aurel32/arm-versatile/initrd.img-2.6.18-6-versatile
$wget wget http://ftp.de.debian.org/debian/dists/etch/main/installer-arm/current/images/rpc/netboot/initrd.gz
$qemu-img create -f qcow hda.img 8G
$sudo qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.18-6-versatile -initrd initrd.gz -hda hda.img -append "root=/dev/ram"


After installation, using following command to get into debian:
$sudo qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.18-6-versatile -initrd initrd.img-2.6.18-6-versatile -hda hda.img -append "root=/dev/sda1"

If you can not enter X properly, try to delete /etc/X11/xorg.conf and startx.

No comments:

Related Posts Plugin for WordPress, Blogger...