qemu 修行

とりあえず以下をなぞってみます。

以下は OK だったのですが

$ wget http://ftp.jp.debian.org/debian/dists/stable/main/installer-armel/current/images/versatile/netboot/initrd.gz

以下は NG

$ wget http://ftp.jp.debian.org/debian/dists/stable/main/installer-armel/current/images/versatile/netboot/vmlinuz-2.6.26-2-versatile

あ、確認してみたら以下らしい。

$ wget http://ftp.jp.debian.org/debian/dists/stable/main/installer-armel/current/images/versatile/netboot/vmlinuz-2.6.32-5-versatile

で、以下なナニができたので

$ ls
initrd.gz  vmlinuz-2.6.32-5-versatile
$

ディスクイメージを作るのかな。

$ qemu-img create -f qcow2 hda.img.qcow2 10G

む、叱られた。

$ qemu-img create -f qcow2 hda.img.qcow2 10G
The program 'qemu-img' is currently not installed.  You can install it by typing:
sudo apt-get install qemu-utils
$

導入してリトライ。

$  qemu-system-arm -M versatilepb \
>  -kernel vmlinuz-2.6.26-2-versatile \
>  -initrd initrd.gz -hda hda.img.qcow2 \
>  -append "root=/dev/ram"
The program 'qemu-system-arm' is currently not installed.  You can install it by typing:
sudo apt-get install qemu-system
$

げ。入れます。

$ sudo apt-get install qemu-system

で、トライを云々してたんですが、sudo をアタマに付けたら実行開始されました。無事にインストーラが立ち上がった模様。
てきとうに kick off な方向で。