HOW TO PARTITION AND FORMAT THE HARD DRIVES ON RASPBERRY Pi?
New Raspberry Pi's powerful computing and faster USB 3.0 ports made it possible to connect the large size USB storage drives to the Pi.
No one can use the mass storage drives without formatting it.
How to partition and format the hard drive on raspberry pi.
1. Unmount the drive:
2.List out the connected drives:
5. Create a fresh GPT partition table:
4. Select the drive to partition:
3. Use ‘print all’ to read the drive information: