본문 바로가기

리눅스

macOS에서 ISO 이미지를 USB 부팅 디스크로 생성하는 방법

728x90
반응형

macOS에서 ISO 이미지를 USB 부팅 디스크로 생성하는 방법

USB 장치 확인

USB 디스크 식별자를 확인합니다.

diskutil list
/dev/disk4 (external, physical): 
  #:			TYPE NAME		SIZE		IDENTIFIER 
  0:	FDisk_partition_scheme		       *30.8 GB		disk4 
  1:	Windows_FAT_32 SANDISK			30.8 GB		disk4s1
  • disk4는 예시입니다. 실제 USB 번호를 꼭 확인하세요.

1. USB 초기화

부팅 호환성을 위해 MBR + FAT32로 포맷합니다.

diskutil eraseDisk MS-DOS UBUNTU MBRFormat /dev/disk4
Started erase on disk4
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk4s1 as MS-DOS (FAT) with name UBUNTU
512 bytes per physical sector
/dev/rdisk4s1: 60093760 sectors in 1877930 FAT32 clusters (16384 bytes/cluster)
bps=512 spc=32 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2048 drv=0x80 bsec=60123136 bspf=14672 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk4

2. USB unmount

diskutil unmountDisk /dev/disk4
Unmount of all volumes on disk4 was successful
728x90

ISO 이미지 확인

ls ubuntu-24.04.3-live-server-amd64.iso
ubuntu-24.04.3-live-server-amd64.iso

3. ISO 이미지를 USB에 기록(핵심)

ISO 파일이 있는 디렉터리에서 실행합니다.

sudo dd if=ubuntu-24.04.3-live-server-amd64.iso of=/dev/rdisk4 bs=1m status=progress
  • /dev/rdisk4 : 속도 빠름
  • status=progress : 진행률 표시
Password:
  3293577216 bytes (3294 MB, 3141 MiB) transferred 273.005s, 12 MB/s
3150+1 records in
3150+1 records out
3303444480 bytes transferred in 273.727217 secs (12068381 bytes/sec)

4. 완료 후 USB 분리

diskutil eject /dev/disk4
Disk /dev/disk4 ejected

 

728x90
반응형