How to install Ubuntu on Raspberry Pi. After installing and logging in, you should see something like this:
$ uname -a
Linux violet 5.8.0-1006-raspi #9-Ubuntu SMP PREEMPT Fri Oct 16 12:55:30 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
uchida@violet:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.10 (Groovy Gorilla)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.10"
VERSION_ID="20.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy
Download ubuntu-20.10-preinstalled-server-arm64 + raspi.img.xz
unxz ubuntu-20.10-preinstalled-server-arm64+raspi.img.xz
sudo dd bs=4M if=ubuntu-20.10-preinstalled-server-arm64+raspi.img of=/dev/mmcblk0
/dev/mmcblk0p2 2893600 1908752 818148 70% /media/uchida/writable
/dev/mmcblk0p1 258095 77906 180189 31% /media/uchida/system-boot
/media/uchida/system-boot/network-config
(abridgement)
wifis:
wlan0:
dhcp4: true
optional: true
access-points:
"HomeNet":
password: "12345678"
(abridgement)
Insert SD into Raspberry Pi and boot
Wait about 10 minutes (this is important)
Power cycle the Raspberry Pi
ssh connection
ssh [email protected]
The password is ubuntu. I searched for the IP address by pinging.
After installation, you can install avahi and log in as follows:
ssh [email protected]
Reference page Installing Ubuntu in Raspberry Pi 4 (Normal and Headless)
Change timezone to JST
sudo timedatectl set-timezone Asia/Tokyo
Recommended Posts