Wednesday, January 21, 2009

Ubuntu arm port on QEMU

http://mojo.handhelds.org/node/66
http://repository.handhelds.org/hasty-armv5el/installer-arm/images/versatilepb/README

根據文件,要先準備好kernel, ramdisk, 一個空的image,還要先把qemu 的網路搞定,再執行下列命令:

sudo qemu-system-arm -M versatilepb -m 256M -kernel vmlinuz-926 -cpu arm926 -initrd ramdisk.gz -hda hasty.img -append "root=/dev/ram" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup

進入之後,就按照指示進行,repo 要使用下面這個server
Ubuntu archive mirror hostname: repository.handhelds.org
Ubuntu archive mirror directory: /hasty-armv5el


安裝完成後,要把initrd 的選項拿掉,再開qemu,指令如下:
sudo qemu-system-arm -M versatilepb -m 256M -kernel vmlinuz-926 -cpu arm926 -hda hasty.img -append "root=/dev/sda1" -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup


You can install xfce4 on the console.

1 comment:

funsung said...

http://www.linuxdevices.com/news/NS2097004728.html

Related Posts Plugin for WordPress, Blogger...