Snippets

Ruslan Osmanov A8yXg: Untitled snippet

Created by Ruslan Osmanov
#!/bin/bash -

filename="disk.img"

qemu-system-aarch64 -m 2048 -cpu cortex-a57 \
  -smp 1 -M virt -bios QEMU_EFI.fd -serial stdio \
  -drive if=none,file=$filename,id=hd0  \
  -device virtio-blk-device,drive=hd0 \
  -kernel mnt/boot/Image -initrd mnt/boot/initramfs-linux.img \
  -append "root=/dev/vda1"

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.