Update README.md

This commit is contained in:
Namhyeon Go 2021-11-23 13:59:09 +09:00 committed by GitHub
parent e51c0bf52f
commit 4f2cb41925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ When using the non-native (e.g. ARM, MIPS) platform, the bootloader must be extr
$ qemu-img convert armhf.qcow2 armhf.raw
$ sudo mkdir /mnt/tmp
$ sudo mount -o loop,offset=$((2048 * 512)) armhf.raw /mnt/tmp
$ cd /mnt/tmp
$ cd /mnt/tmp/boot
```
Then, copy the `initrd` and `vmlinuz` files to an external directory. And load using `QEMU_KERNEL` and `QEMU_INITRD` variables.