2007年9月19日 星期三

QEMU Installion

http://www.aurel32.net/info/debian_mips_qemu.php
http://d-i.alioth.debian.org/manual/en.mipsel/index.html

wget http://fabrice.bellard.free.fr/qemu/qemu-0.9.0.tar.gz
$ cd qemu-0.9.0
$ ./configure --prefix=/usr

$ make
$make install

$cd ..
$qemu-img create -f qcow hda.img 10G

wget http://ftp.de.debian.org/debian/dists/etch/main/installer-mipsel/current/images/qemu/netboot/vmlinux-2.6.18-5-qemu

wget http://ftp.de.debian.org/debian/dists/etch/main/installer-mipsel/current/images/qemu/netboot/initrd.gz

dd if=/dev/zero of=/usr/share/qemu/mips_bios.bin bs=1024 count=128

qemu-system-mipsel -kernel vmlinux-2.6.18-5-qemu -initrd initrd.gz -hda hda.img -append "root=/dev/ram console=ttyS0" -nographic

#After installation

qemu-system-mipsel -kernel vmlinux-2.6.18-5-qemu -initrd initrd.gz -hda hda.img -append "root=/dev/hda1 console=ttyS0" -nographic

沒有留言:

張貼留言