:: commit c940a411cbfe44cf99f62d81e009568ea2ca0aa9

mintsuki <mintsuki@protonmail.com> — 2021-05-20 21:23

parents: d67ce23b77

isohybrid: Fix xorriso invocation

diff --git a/Makefile b/Makefile
index 7761ab24..be4091a2 100644
--- a/Makefile
+++ b/Makefile
@@ -299,7 +299,7 @@ full-hybrid-test:
 	rm -rf test_image/
 	mkdir -p test_image/boot
 	cp -rv bin/* test/* test_image/boot/
-	xorriso -as mkisofs -b boot/limine-cd.bin -no-emul-boot -boot-load-size 4 -boot-info-table -part_like_isohybrid -eltorito-alt-boot -e boot/limine-eltorito-efi.bin -no-emul-boot test_image/ -isohybrid-gpt-basdat -o test.iso
+	xorriso -as mkisofs -b boot/limine-cd.bin -no-emul-boot -boot-load-size 4 -boot-info-table -part_like_isohybrid --mbr-force-bootable -eltorito-alt-boot -e boot/limine-eltorito-efi.bin -no-emul-boot test_image/ -isohybrid-gpt-basdat -o test.iso
 	bin/limine-install test.iso
 	qemu-system-x86_64 -M q35 -L ovmf -bios ovmf/OVMF.fd -net none -smp 4 -enable-kvm -cpu host -cdrom test.iso -debugcon stdio
 	qemu-system-x86_64 -M q35 -L ovmf -bios ovmf/OVMF.fd -net none -smp 4 -enable-kvm -cpu host -hda test.iso -debugcon stdio
diff --git a/README.md b/README.md
index eb50063d..284eec0b 100644
--- a/README.md
+++ b/README.md
@@ -203,8 +203,10 @@ can be made with the following commands:
 ```
 xorriso -as mkisofs -b <relative path of limine-cd.bin> \
         -no-emul-boot -boot-load-size 4 -boot-info-table -part_like_isohybrid \
+        --mbr-force-bootable \
         -eltorito-alt-boot -e <relative path of limine-eltorito-efi.bin> \
         -no-emul-boot <root directory> -isohybrid-gpt-basdat -o image.iso
+
 limine-install image.iso
 ```
 
tab: 248 wrap: offon