Skip to content

Commit 3ebdf66

Browse files
author
Greg Meyer
authored
Update README.md
1 parent 8f6484f commit 3ebdf66

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,25 @@ Now download and unzip the image files with the following commands:
5151
cd ~/alu-emu
5252
wget https://github.com/gm2552/alu-qemu-dev/raw/master/cloud.img
5353
wget https://github.com/gm2552/alu-qemu-dev/raw/master/flash0.img.zip
54-
wget https://github.com/gm2552/alu-qemu-dev/blob/master/flash1.img.zip
54+
wget https://github.com/gm2552/alu-qemu-dev/raw/master/flash1.img.zip
5555
unzip flash0.img.zip
5656
unzip flash1.img.zip
5757
```
58+
59+
### Download Ubuntu Cloud Image File
60+
You can use pretty much any Ubuntu cloud image, but 16.04 is the recommended image. Download the Ubuntu Cloud image using the following command.
61+
62+
```
63+
cd ~/alu-emu
64+
wget https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
65+
```
66+
67+
### Launch The Emulator
68+
69+
You are now ready to launch the emulator. Qemu has several switching that you can lookup to tweak how you want your emulator to run. The following is a default configuration that runs 4 virtual processes using 2GB of memory. You will not be able to ssh or sftp into this emulator. Instead it will run like you were at an actual terminal. However, you CAN access the network from inside the emulator assuming that your Ubuntu host has network capabilities.
70+
71+
```
72+
qemu-system-aarch64 -m 2048 -smp 4 -cpu cortex-a57 -M virt -nographic -pflash flash0.img -pflash flash1.img -drive if=none,file=ubuntu-16.04-server-cloudimg-arm64-uefi1.img,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,id=cloud,file=cloud.img -device virtio-blk-device,drive=cloud -netdev user,id=user0 -device virtio-net-device,netdev=user0
73+
```
74+
75+
During the bootup sequence, you may see message error message like no video found or press any key. You can ignore these and the system will continue to load. It may take 3-5 minutes for the system to load.

0 commit comments

Comments
 (0)