Pi

PI4: 64bit OS: Ubuntu 20.04LTS & Verify Image

PI4 Ubuntu Downloads

https://ubuntu.com/download/raspberry-pi

Ubuntu 20.04LTS 64bit

https://ubuntu.com/download/raspberry-pi/thank-you?version=20.04&architecture=arm64+raspi

Verify Image

https://ubuntu.com/download/raspberry-pi/thank-you?version=20.04&architecture=arm64+raspi#

Run this command in your terminal in the directory the iso was downloaded to verify the SHA256 checksum:

echo "48167067d65c5192ffe041c9cc4958cb7fcdfd74fa15e1937a47430ed7b9de99 *focal-preinstlled-server-arm64+raspi.img.xz" | shasum -a 256 --check

You should get the following output:

ubuntu-20.04-preinstalled-server-arm64+raspi.iso: OK
Tags

Pi: USB HDD Setup

List Disks

sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL

mdp@pi:/ $ sudo lsblk -o UUID,NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL,MODEL
[sudo] password for mdp:
UUID                                 NAME        FSTYPE   SIZE MOUNTPOINT           LABEL   MODEL
                                     sda                   29G                              Storage_Device
d486f62b-1ad3-4140-ab53-129665994877 └─sda1      xfs       29G /media/mdp/PiDrive   PiDrive
                                     sdb                465.8G                              MQ01ABD050V
409821DB9821D068                     └─sdb1      ntfs   465.8G /media/silosix/W[500 W[500   
                                     mmcblk0             59.5G                              
3FFE-CDCA                            ├─mmcblk0p1 vfat     256M /boot                boot    
3122c401-b3c6-4d27-8e0d-6708a7613aed └─mmcblk0p2 ext4    59.2G /                    rootfs

Tags

Pi: Samba: Initial setup

Raspberry Pi change username

Sources:

Pi username change

log out
sudo passwd root
<root_passwd>

logout

usermod –l mdp pi
<mdp_passwd>

Check home dir

usermod –m –d/home/mdp mdp

Pi Password change

Logout
login mdp
passwd

Samba - list users

sudo pdbedit -L -v

Unix username:        jimmy
NT username:          
Account Flags:        [U          ]
User SID:             S-1-
Tags
Subscribe to Pi