Step 5 : Boot the OS ========================== .. tab-set:: .. tab-item:: Boot the OS * In this program, you are going to learn .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow * How to ? .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Boot the OS ` .. _barelinux_qemu_rpi4b_step5_0: .. tab-set:: .. tab-item:: Boot the OS * Now load and boot the image using qemu emulator by the following command. .. code-block:: c $ 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. .. code-block:: c raspberrypi login: pi Password: * After entering the credentials the prompt will display. .. code-block:: c piraspberrypi:~$