createinstallmedia
の場所の確認$ ls /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia /Applications/Install macOS Big Sur.app/Contents/Resources/createinstallmedia
$ df Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted on /dev/disk1s5s1 1953800440 29403096 64581592 32% 568975 9768433225 0% / ... ... ... /dev/disk4s1 60620576 24093608 36526968 40% 1146 4294966133 0% /Volumes/NO NAME
createinstallmedia
によるブータブルメディアの作成$ sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/NO\ NAME Password: Ready to start. To continue we need to erase the volume at /Volumes/NO\ NAME. If you wish to continue type (Y) then press return: Y Erasing disk: 0%... 10%... 20%... 30%... 100% Copying to disk: 0%... 10%... 20%... 30%... 40%... 50%... 60%... 70%... 80%... 90%... 100% Making disk bootable... Install media now available at "/Volumes/Install macOS Big Sur" $
% hdiutil convert -format UDRW -o ubuntu-20.04.2-live-server-amd64.img ubuntu-20.04.2-live-server-amd64.iso Driver Descriptor Map(DDM: 0)を読み込み中… Ubuntu-Server 20.04.2 LTS amd64 (Apple_ISO: 1)を読み込み中… Apple(Apple_partition_map: 2)を読み込み中… Ubuntu-Server 20.04.2 LTS amd64 (Apple_ISO: 3)を読み込み中… EFI(Apple_HFS: 4)を読み込み中… Ubuntu-Server 20.04.2 LTS amd64 (Apple_ISO: 5)を読み込み中… ............................................................................... 経過時間: 4.432s 速度: 261.4Mバイト/秒 節約率: 0.0% created: ubuntu-20.04.2-live-server-amd64.img.dmg %
% diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *121.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage 121.0 GB disk0s2 3: Apple_Boot Boot OS X 134.2 MB disk0s3 . . . . /dev/disk4 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *4.0 GB disk4 1: DOS_FAT_32 Transcend 4.0 GB disk4s1 %
% diskutil unmountDisk /dev/disk4 Unmount of all volumes on disk4 was successful %
% sudo dd if=ubuntu-20.04.2-live-server-amd64.img.dmg of=/dev/rdisk4 bs=1m Password: 1158+1 records in 1158+1 records out 1215168512 bytes transferred in 59.499433 secs (20423195 bytes/sec) %
% diskutil eject /dev/disk4