- Download dependencies and firmware files (Fedora linux):
sudo dnf install qemu-kvm edk2-ovmf
cp /usr/share/OVMF/OVMF_CODE.fd .
cp /usr/share/OVMF/OVMF_VARS.fd .
- Prepare dir and copy efifetch.efi:
mkdir -p esp/efi/boot && cp efifetch.efi esp/efi/boot/bootx64.efi
- Run VM:
qemu-system-x86_64 -enable-kvm \
-drive if=pflash,format=raw,readonly=on,file=OVMF_CODE.fd \
-drive if=pflash,format=raw,readonly=on,file=OVMF_VARS.fd \
-drive format=raw,file=fat:rw:esp
Preparing USB drive (linux):
sgdisk \
--clear \
--new=1:1M:10M \
--typecode=1:C12A7328-F81F-11D2-BA4B-00A0C93EC93B \
"here /path"
mkfs.fat "here /path_to_disk_partition"
mkdir esp
mount "here /path_to_disk_partition" esp
mkdir esp/EFI/BOOT
cp efifetch.efi esp/EFI/BOOT/BOOTX64.EFI
- Miscellaneous (75% done)
- Resolution
- Date
- Colors
- Image info
- Cpu (55% done)
- Vendor
- Brand info
- Cores
- Threads
- Logical ids
- Vmx
- Smx
- Hypervisor info
- Syscall info
- Memory map (66% done)
- Pages
- Physical/Virtual addr
- Type