Step 5 : Boot the OS
In this program, you are going to learn
How to ?
Topics in this section,
Now load and boot the image using qemu emulator by the following command.
$ qemu-system-aarch64 -machine virt -cpu cortex-a72 -smp 6 -m 4G \
-kernel Image -append "root=/dev/vda2 rootfstype=ext4 rw panic=0 console=ttyAMA0" \
-drive format=raw,file=2023-05-03-raspios-bullseye-arm64.img,if=none,id=hd0,cache=writeback \
-device virtio-blk,drive=hd0,bootindex=0 \
-netdev user,id=mynet,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=mynet \
-monitor telnet:127.0.0.1:5555,server,nowait
Once it is loaded credentials needs to be entered.
raspberrypi login: pi
Password:
After entering the credentials the prompt will display.
piraspberrypi:~$