Format a USB-connected drive on the Raspberry Pi in Raspbian 2021-12-08 Format a USB-connected drive on the Raspberry Pi in Raspbian12345678sudo fdisk -l#n add a new partition#p primary (0 primary, 0 extended, 4 free)#w write table to disk and exitsudo fdisk /dev/sda1sudo umount /dev/sda1sudo mkfs -t ext4 /dev/sda1sudo mount /dev/sda1 /media/pi/sda1 Telegram iOS osx clonefile failed: Cross-device link Failed to ping owner of lock for file hash cache fileHashes