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!

댓글

이 블로그의 인기 게시물

Install and run an FTP server using Docker

Using the MinIO API via curl

PYTHONPATH, Python 모듈 환경설정

Elasticsearch Ingest API

오늘의 문장2

How to checkout branch of remote git, 깃 리모트 브랜치 체크아웃

Fundamentals of English Grammar #1

To switch to a specific tag in a Git repository

You can use Sublime Text from the command line by utilizing the subl command

티베트-버마어파 와 한어파(중국어파)의 어순 비교