Creating a bootable Ubuntu USB drive on a Mac
Creating a bootable Ubuntu USB drive on a Mac involves the following steps:
1. Download Ubuntu ISO
- Go to the Ubuntu official website.
- Download the appropriate ISO file for your system (usually the desktop version).
2. Format the USB Drive
- Insert USB Drive:
- Connect the USB drive to your Mac.
- Open Disk Utility:
- Search for Disk Utility in Spotlight and open it.
- Select the USB Drive:
- In Disk Utility, select the USB drive from the left-hand list.
- Erase the Drive:
- Click the Erase button.
- Choose the following:
- Format:
MS-DOS (FAT)
orExFAT
- Scheme:
GUID Partition Map
- Format:
- Click Erase to format the drive.
3. Create Bootable USB
Option 1: Using Etcher (Recommended)
- Download Etcher:
- Visit Balena Etcher's website.
- Download and install Etcher for macOS.
- Create the Bootable USB:
- Open Etcher.
- Select the Ubuntu ISO as the source.
- Choose your USB drive as the target.
- Click Flash to create the bootable USB.
Option 2: Using Terminal
- Convert the ISO to IMG (Optional):
- Open Terminal and run:
hdiutil convert -format UDRW -o ~/Downloads/ubuntu.img ~/Downloads/ubuntu.iso
- This creates a
.img
file from the.iso
.
- Open Terminal and run:
- Find the USB Drive Identifier:
- Run:
diskutil list
- Note the identifier for your USB drive (e.g.,
disk2
).
- Run:
- Unmount the USB Drive:
- Run:
diskutil unmountDisk /dev/disk2
- Replace
disk2
with your USB's identifier.
- Run:
- Write the Image to USB:
- Use
dd
to write the image to the USB:sudo dd if=~/Downloads/ubuntu.img of=/dev/disk2 bs=1m
- Replace
disk2
with your USB's identifier. - Wait for the process to finish (this can take some time).
- Replace
- Use
- Eject the USB Drive:
- Run:
diskutil eject /dev/disk2
- Run:
4. Boot from USB
- Restart Your Mac.
- Access Boot Options:
- Hold down the Option (⌥) key immediately after the startup sound or as the screen turns on.
- Select the USB Drive:
- From the boot menu, choose the USB drive with Ubuntu.
Let me know if you need further clarification!
댓글
댓글 쓰기