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

  1. Insert USB Drive:
    • Connect the USB drive to your Mac.
  2. Open Disk Utility:
    • Search for Disk Utility in Spotlight and open it.
  3. Select the USB Drive:
    • In Disk Utility, select the USB drive from the left-hand list.
  4. Erase the Drive:
    • Click the Erase button.
    • Choose the following:
      • Format: MS-DOS (FAT) or ExFAT
      • Scheme: GUID Partition Map
    • Click Erase to format the drive.

3. Create Bootable USB

  1. Download Etcher:
  2. 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

  1. 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.
  2. Find the USB Drive Identifier:
    • Run:
      diskutil list
      
    • Note the identifier for your USB drive (e.g., disk2).
  3. Unmount the USB Drive:
    • Run:
      diskutil unmountDisk /dev/disk2
      
    • Replace disk2 with your USB's identifier.
  4. 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).
  5. Eject the USB Drive:
    • Run:
      diskutil eject /dev/disk2
      

4. Boot from USB

  1. Restart Your Mac.
  2. Access Boot Options:
    • Hold down the Option (⌥) key immediately after the startup sound or as the screen turns on.
  3. Select the USB Drive:
    • From the boot menu, choose the USB drive with Ubuntu.

Let me know if you need further clarification!

댓글

이 블로그의 인기 게시물

To build a gRPC service with Gradle, Java, and Avro

The pierce selector in Puppeteer

how to describe kafka topics, 카프카 토픽 정보 확인하기

오늘의 문장2

[Ubuntu] update-alternatives(Symbolic Link 관리)

언어의 어순과 문화적 특징의 관계를 생각해봅니다.

how to delete all issues on project in sentry, 센트리 이슈 삭제하기

PySpark Dataframe from HBase

Using the MinIO API via curl