Browse Source

ovmf

master
Mathieu Serandour 6 months ago
parent
commit
49fe9d6d17
  1. 6
      Makefile
  2. BIN
      ovmf/OVMF.fd

6
Makefile

@ -38,8 +38,8 @@ run: all
./write_disk.sh
$(QEMU_PATH) $(QEMU_ARGS)
native_disk:
$(QEMU_PATH) $(QEMU_ARGS) -device nvme,drive=NVME2,serial=dead \
native_disk: all
sudo $(QEMU_PATH) $(QEMU_ARGS) -device nvme,drive=NVME2,serial=dead \
-drive format=raw,if=none,id=NVME2,file=/dev/nvme0n1
@ -73,7 +73,7 @@ $(PARTITION): kernel
$(DISK_FILE): kernel/entry.c
dd if=/dev/zero bs=1M count=0 seek=72 of=$(DISK_FILE)
sudo /sbin/parted -s $(DISK_FILE) mklabel gpt
sudo /sbin/parted -s $(DISK_FILE) mkpart Bincows2 fat32 2048s 100%
sudo /sbin/parted -s $(DISK_FILE) mkpart Bincows fat32 2048s 100%
sudo /sbin/parted -s $(DISK_FILE) set 1 esp on
# $(LIMINE_INSTALL) $(DISK_FILE)

BIN
ovmf/OVMF.fd

Binary file not shown.
Loading…
Cancel
Save