Configure startup GUI : raspi-config

Disk Free Space : df

lsblk : check mounts

umount <dir> : unmount file system

fsck /dev/sda1 : check file system

Set timezone

timedatectl set-timezone America/New_York

Set date and time

date +%Y%m%d -s"20190801"

date +%T -s"00:50:00"

Preparing a new disk:

  • Identify disks

    mount -l | grep dev | grep sd - identify disks

  • Partition drive

    fdisk

    fdisk /dev/sd?
    list partitions using "p"
    delete partitions using "d" Create new empty DOS partition table using "o" with all defaults
  • Format partition

    mkfs.ext4 /dev/sd?1 -L label

  • Get drive UUID

    blkid

  • Mount drive

    mount /dev/sdb1 /mnt/…

https://devtidbits.com/2013/03/21/using-usb-external-hard-disk-flash-drives-with-to-your-raspberry-pi/


Assign static IP using /etc/dhcpcd.conf

# Example static IP configuration:

#interface eth0
static ip_address=192.168.1.240/24
#static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 8.8.8.8 fd51:42f8:caae:d92e::1<