Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huhuang03/4a443be8402a0fe8a47a6a0c52ccd991 to your computer and use it in GitHub Desktop.
Save huhuang03/4a443be8402a0fe8a47a6a0c52ccd991 to your computer and use it in GitHub Desktop.
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
@huhuang03
Copy link
Author

期间从mirror下载的时候,我选的是清华的mirror。可能会出现下载失败的问题,多重试几次可以解决。

@huhuang03
Copy link
Author

我遇到了下载安装文件一直失败的问题,安装失败!

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