summaryrefslogtreecommitdiff
path: root/image.sh
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-04-02 18:00:24 +0000
committerAda Christine <adachristine18@gmail.com>2021-04-02 18:00:24 +0000
commita41f11851c23390510a8cf9d0a932b9d08636fb0 (patch)
tree1e069e269b79680ce49c366d72b774ada59ac80d /image.sh
parent52f80ab3393ad0b8d11718d2b060e2e5a6f4870b (diff)
make my debugging life easier
Diffstat (limited to 'image.sh')
-rwxr-xr-ximage.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/image.sh b/image.sh
index e15f4ca..7d32df4 100755
--- a/image.sh
+++ b/image.sh
@@ -9,7 +9,9 @@ if [[ ! -f ${imagefile} ]]; then
mformat -i uefi.img -f1440 ::
fi
-mcopy -i ${imagefile} -Do ${loaderfile} ::
+mmd -i ${imagefile} -Do ::EFI
+mmd -i ${imagefile} -Do ::EFI/BOOT
+mcopy -i ${imagefile} -Do ${loaderfile} ::EFI/BOOT/BOOTX64.EFI
mmd -i ${imagefile} -Do ::adasoft
mmd -i ${imagefile} -Do ::adasoft/sophia
mcopy -i ${imagefile} ${kernelfile} -Do ::adasoft/sophia