Lab Setup
To save our time, we can use the pre-built images for the lab.
ARM32
For 32-bit ARM, we can run Raspberry Pi on QEMU.
sudo apt-get install qemu-system-arm
Use the command above to install QEMU.
Then download the following files; link
- debian_wheezy_armel_standard.qcow2
- initrd.img-3.2.0-4-versatile
- vmlinuz-3.2.0-4-versatile
So, us the command below to kickstart;
qemu-system-arm -L Bios -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda debian_wheezy_armel_standard.qcow2 -append "root=/dev/sda1" -m 256 -net nic -net user -redir tcp:2222::22
Since the command above will have SSH installed, you can reach the vm with command below;
ssh root@localhost -p 2222
Password is ‘root’