Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Qemu with ARM on Mac OSX
# QEmu
brew install qemu
# Home for out tests
mkdir ~/arm-emu
cd ~/arm-emu
# Download initrd and kernel
wget http://ftp.de.debian.org/debian/dists/jessie/main/installer-armel/current/images/versatile/netboot/initrd.gz
wget http://ftp.de.debian.org/debian/dists/jessie/main/installer-armel/current/images/versatile/netboot/vmlinuz-3.16.0-6-versatile
# Creating disk
qemu-img create -f qcow2 armdisk.img 1G
# Running
qemu-system-arm -M versatilepb \
-kernel vmlinuz-3.16.0-6-versatile \
-initrd initrd.gz \
-hda armdisk.img \
-append "root=/dev/ram" \
-m 256
@sosnovskyas
Copy link

sosnovskyas commented Aug 14, 2018

change link to http://ftp.de.debian.org/debian/dists/jessie/main/installer-armel/current/images/versatile/netboot/vmlinuz-3.16.0-6-versatile
actual version changed to vmlinuz-3.16.0-6-versatile, and current link return 404

@evandrix
Copy link

evandrix commented Mar 5, 2021

the last command needs to change accordingly i.e. vmlinuz-3.16.0-4-versatile vmlinuz-3.16.0-6-versatile

qemu-system-arm -M versatilepb -kernel vmlinuz-3.16.0-6-versatile -initrd initrd.gz -hda armdisk.img -append "root=/dev/ram" -m 256

@hansipete
Copy link

hansipete commented Nov 18, 2021

Was a kickstart for me! Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment