Skip to content

Instantly share code, notes, and snippets.

@rurumimic
Last active December 26, 2022 15:55
Show Gist options
  • Save rurumimic/6b48d315d929f31f95e2b7afda476134 to your computer and use it in GitHub Desktop.
Save rurumimic/6b48d315d929f31f95e2b7afda476134 to your computer and use it in GitHub Desktop.
Create a Bootable USB on macOS

ref: Mac OS X에서 부팅 가능한 USB 장치 생성

diskutil list

/dev/disk0
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:      GUID_partition_scheme                        *500.3 GB   disk0
1:                        EFI EFI                     209.7 MB   disk0s1
2:          Apple_CoreStorage                         400.0 GB   disk0s2
3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
4:          Apple_CoreStorage                         98.8 GB    disk0s4
5:                 Apple_Boot Recovery HD             650.0 MB   disk0s5
/dev/disk1
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:                  Apple_HFS YosemiteHD             *399.6 GB   disk1
Logical Volume on disk0s1
8A142795-8036-48DF-9FC5-84506DFBB7B2
Unlocked Encrypted
/dev/disk2
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:     FDisk_partition_scheme                        *8.1 GB     disk2
1:               Windows_NTFS SanDisk USB             8.1 GB     disk2s1
diskutil unmountDisk /dev/disk2

Unmount of all volumes on disk2 was successful
sudo dd if=/Users/username/Downloads/rhel-9-x86_64-boot.iso of=/dev/rdisk2 bs=100M status=progress

progress:

Ctrl + t

load: 1.02  cmd: dd 3668 uninterruptible 0.00u 1.91s
112+0 records in
111+0 records out
116391936 bytes transferred in 114.834860 secs (1013559 bytes/sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment