:: commit 008b6e691e2c49d3a6bfc6c99acd2d2fb75bb846

atomicbit <63680982+atomicbitty@users.noreply.github.com> — 2020-08-25 23:21

parents: c97fc83bbf

Mark the partition as bootable (#17)

* Mark the partition as bootable

Some BIOSes (eg. my laptop's) require at least one partition to be marked as bootable, this patch can save one from frustration.

* change loader.img to test.img

i made a mistake

Co-authored-by: Visual <30368284+VisualDevelopment@users.noreply.github.com>

* additional comment

Co-authored-by: Visual <30368284+VisualDevelopment@users.noreply.github.com>

Co-authored-by: Visual <30368284+VisualDevelopment@users.noreply.github.com>
diff --git a/README.md b/README.md
index 1fcf831a..4e0bd1e6 100644
--- a/README.md
+++ b/README.md
@@ -53,6 +53,8 @@ and install qloader2, one can do:
 dd if=/dev/zero bs=1M count=0 seek=64 of=test.img
 parted -s test.img mklabel msdos
 parted -s test.img mkpart primary 1 100%
+parted -s test.img set 1 boot on # Workaround for buggy BIOSes
+
 echfs-utils -m -p0 test.img quick-format 32768
 echfs-utils -m -p0 test.img import path/to/qloader2.cfg qloader2.cfg
 echfs-utils -m -p0 test.img import path/to/kernel.elf kernel.elf
tab: 248 wrap: offon