Modify disk script to leave partition table intact

This commit is contained in:
Byron Lathi
2023-08-08 23:52:57 -07:00
parent 6b0caea84c
commit d191c1da5b

View File

@@ -13,7 +13,7 @@ sudo mkfs.vfat -F32 $DEVICE -n SUPER6502 $V
echo
echo "$(tput bold setaf 11)Modifying Boot Sector$(tput sgr 0)"
sudo dd if=$BOOTLOADER of=$DEVICE bs=512 count=1 $STATUS
sudo dd if=$BOOTLOADER of=$DEVICE bs=446 count=1 $STATUS
echo "$(tput bold setaf 10)Done!$(tput sgr 0)"