Last active
February 6, 2023 09:39
-
-
Save celso/6b0206e6a78b5d1a76eb0150090eb385 to your computer and use it in GitHub Desktop.
emu68 SD card preparation with MacOSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diskutil list external physical | |
diskutil partitionDisk disk3 MBR "MS-DOS FAT32" "BOOT" 256MB "Free Space" "Disk" R | |
sudo fdisk -e /dev/disk3 | |
# prints table | |
# 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