LoginSignup
3
3

More than 5 years have passed since last update.

MacでUbuntu18.04のブータブルUSBを作成

Last updated at Posted at 2018-04-28

はじめに

せっかくUbuntu18.04LTSリリースされたのでデスクトップ版を試してみたいと思います。
今回はブータブルUSBを作成するまでです。ほぼ、MacでUbuntuのインストールUSBディスクを作成するの内容です。少しだけ自分用に手を加えさせてもらい記事に残します。

環境

  • macOS High Sierra 10.13.4
  • USBメモリ4GB

準備

作業

USB初期化

  • USBメモリのディスク番号を確認
diskutil list

※今回自分の環境では「disk2」でしたが、環境により異なるためそれぞれの環境に置き換えて下さい。

  • USBメモリをFAT32で初期化
diskutil eraseDisk MS-DOS UNTITLED /dev/disk?
  • 一旦アンマウントする
diskutil unMountDisk /dev/disk?

imgファイル生成

hdiutil convert -format UDRW -o ~/Downloads/ubuntu-18.04.img ~/Downloads/ubuntu-18.04-desktop-amd64.iso
mv ~/Downloads/ubuntu-18.04.img.dmg ~/Downloads/ubuntu-18.04.img

imgをUSBに書き込み

sudo dd if=~/Downloads/ubuntu-18.04.img of=/dev/rdisk? bs=1m

最後に

このUSBを使って早速、PCにインストールしてみたいと思います。
追記:需要の少なそうな条件ですが、実際にインストールする手順をGeForce GTX 1050搭載のMSI社製PCにUbuntu18.04をインストールに記載しました。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3