Skip to content

Instantly share code, notes, and snippets.

@celso
Last active February 6, 2023 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celso/6b0206e6a78b5d1a76eb0150090eb385 to your computer and use it in GitHub Desktop.
Save celso/6b0206e6a78b5d1a76eb0150090eb385 to your computer and use it in GitHub Desktop.
emu68 SD card preparation with MacOSX
diskutil list external physical
diskutil partitionDisk disk3 MBR "MS-DOS FAT32" "BOOT" 256MB "Free Space" "Disk" R
sudo fdisk -e /dev/disk3
# prints table
print
# edit empty partition and change its id
edit 2
# Partition id: 76
# Do you wish to edit in CHS mode? [n]
# offset and size: default
write
quit
diskutil eject /dev/disk3
# reinsert the sdcard
diskutil list external physical
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *4.0 GB disk3
1: DOS_FAT_32 BOOT 256.0 MB disk3s1
2: 0x76 3.7 GB disk3s2
Get https://github.com/michalsc/Emu68/releases/tag/nightly
unzip the files to /Volumes/BOOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment