start | find | index | login or register | edit
armbox-notes
by earl, 5687 days ago
debian:
http://people.debian.org/~joeyh/d-i/armel/images/daily/versatile/netboot/

ubuntu:
http://ports.ubuntu.com/ubuntu-ports/dists/jaunty/main/installer-armel/current/images/versatile/netboot/

basic install using the installer:

get kernel and installer initrd (from the urls above)
qemu-img create -f qcow2 arm.img 10G
qemu-system-arm -M versatilepb -kernel $KERNEL -initrd $INSTALLER_INITRD -hda arm.img -m 256 -append "root=/dev/sda1 mem=256M ro"
... install ...

post-installation:

copy guest's /boot/initrd.img-`uname -r` to host (see below)
qemu-img create -b arm.img -f qcow2 arm.ovl

mounting a qcow2 image (requires nbd):

mkdir mntpoint
sudo modprobe nbd
sudo qemu-nbd --connect=/dev/nbd0 arm.img
sudo mount /dev/nbd0p1 mntpoint
... modify ...
sudo umount mntpoint
sudo qemu-nbd --disconnect /dev/nbd0
rmdir mntpoint

running from the overlay:

qemu-system-arm -M versatilepb -kernel $KERNEL -initrd $GUEST_INITRD -hda arm.ovl -m 256 -append "root=/dev/sda1 mem=256M ro"
powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 8692 days • c'est un vanilla site