Until you create an Ubuntu boot USB on your Macbook and install Ubuntu on your Thinkpad

Introduction

I mainly use Mac, but I want to use Linux soon I bought a Thinkpad X230 at Mercari. I'm going to put Ubuntu on this machine, so I'll leave a memorandum

What to prepare

hard

--USB memory (it seems to be 2GB or more) --Macbook (for boot USB creation) --Thinkpad (machine to put Ubuntu)

soft

--Disk Utility

Format USB

In Macbook, it seems that the USB memory is initialized and reformatted with an application called "Disk Utility".

  1. Open Disk Utility
  2. Select the USB memory to install the Ubuntu installer
  3. Erase
  4. Select the name and format (the format is "MS-DOS (FAT)")
  5. Done

MS-DOS (FAT) seems to work on windows

Reference: https://pc-karuma.net/mac-format-usb-flash-drive/

Ubuntu file download

https://ubuntu.com/download/desktop Download the Ubuntu file here If it is LTS, it should be stable, so it's good. This time I downloaded ʻUbuntu 20.04.1 LTS`. It has a capacity of about 2.6GB, so it may be longer in some cases ...

If there is a file "ubuntu-20.04.1-desktop-amd64.iso" in ~ / Downloads /, it's okay!

Boot USB creation with Etcher

It seems that you can easily create a boot USB using an application called Etcher. Moreover, this app seems to be cross-platform. There seems to be an opportunity to use it not only on Mac but also on other OS ~

https://www.balena.io/etcher/

  1. Install Etcher
  2. Start Etcher! !! !!
  3. In Select Image, select the ubuntu file of .iso installed earlier with Flash from file.
  4. Select the prepared USB memory in Select Target
  5. Let's Flash!!

You will be asked for your password and a pop-up will come up, but if you wait as it is told, it should be completed safely This completes the boot USB

When the boot USB is completed, it says "This disk can't be read well", but let's ignore it.

Reference: http://terufusa.blog.jp/archives/24477397.html

By the way, it seems that windows uses an application called rufus.

Column: Restore boot USB to its original state

Launch terminal

diskutil list

Examine the boot USB hierarchy

If it is in / dev / disk2

diskutil unMountDisk /dev/disk2
Unmount of all volumes on disk2 was successful

Success if this is displayed

diskutil eraseDisk FAT32 *** /dev/disk2

Enter the name of the new USB memory in *** FAT32 is a format. This time I chose FAT32 in consideration of using it on windows, but if you use it only on mac, you can use the HFS + format.

Finished erase on disk2

If you see this, you're done

Install ubuntu

Turn off the machine you want to put Ubuntu in and reboot Enter the BIOS (how to enter each machine is googled) This time it is Thinkpad X230, so press F1 on the boot screen to enter the BIOS Keep Secure Boot off Save Insert the created boot USB and reboot Hit F12 repeatedly on the boot screen to enter the Boot Menu Select the boot USB you created ubuntu installation starts

  1. Select Japanese and click "Install Ubuntu"
  2. Select keyboard layout
  3. Check all and proceed
  4. Remove the disk and install
  5. The pop-up continues with Write Changes
  6. I live in Tokyo
  7. Enter your name, computer name and password
  8. Proceed with installation
  9. Reboot when installation is complete
  10. Unplug the boot USB and continue booting

I have successfully installed Ubuntu and started it up.

At the end

This completes the Ubuntu installation. It was surprisingly smooth ~~ Next, let's do various things such as Ubuntu settings and application installation. Bruise!

Recommended Posts

Until you create an Ubuntu boot USB on your Macbook and install Ubuntu on your Thinkpad
Until you install Anaconda for data analysis on your Mac and launch the IDE
Until you create Python Virtualenv on Windows and launch Jupyter
Install Mecab and mecab-python3 on Ubuntu 14.04
Install and run dropbox on Ubuntu 20.04
Install OpenCV and Chainer on Ubuntu
Install CUDA 8.0 and Chainer on Ubuntu 16.04
Install fabric on Ubuntu and try
Until you install and run matplotlib
[MariaDB] Install MariaDB on Linux and create a DB and an operating user.
Install Ubuntu 18.04 on MacBook Pro Touchbar model and connect to WIFI
Until you install Apache and Tomcat on Linux (CentOS) and deploy Java apps
Until you install your own Python library
Install Puppet Master and Client on Ubuntu 16.04
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Until you install Arch Linux on VMware
Until you install Python with pythonbrew and run Flask on a WSGI server
Until you install Caffe and run the sample
[Ubuntu] Install Android Studio and create a shortcut
Install MongoDB on Ubuntu 16.04 and operate via python
View images in OpenCV from Python using an external USB camera on your MacBook
Until you create a machine learning environment with Python on Windows 7 and run it
Install Grub on USB memory (UEFI) ~ USB preparation and confirmation ~
Install Grub on USB memory (UEFI) ~ Boot Linux from grub on USB memory ~
Until you install Gauge and run the official sample
Until you annotate your own dataset and detect an object with EfficientDet ~ Character face detection ~
Install TensorFlow on Ubuntu
Install JModelica on Ubuntu
Until you install MySQL-python
Install Python 3.3 on Ubuntu 12.04
Install Theano on Ubuntu 12.04
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
I installed Ubuntu on a USB stick on a dual boot PC
Until you can install your own Python library with pip
Install python3 and scientific calculation library on Ubuntu (virtualenv + pip)
I installed FreeCAD on Linux (Ubuntu) and created an icon
Install pyenv on MacBook Air and switch python to use
Install Linux (CentOS) on your PC using a USB stick