Installing and connecting external drives to a Raspberry Pi using Debian-based OS
Installing and connecting external drives to a Raspberry Pi using Debian-based OS
You’ve connected the external hard drive and it’s automatically mounted, but when you run fdisk -l it shows the drive as dev/sda2. You can navigate directly into that folder and start adding files. The Type Section tells the system how to interpret the file system—Microsoft disks are used on Windows, but the drive is actually formatted with a different system (like FAT32 or exFAT) to work with the Raspberry Pi OS.
Would you like it to automatically mount the device instead of just checking?
The device is a disk, not a folder. /dev/sda1 and /dev/sda2 represent its partitions. If they were mounted automatically, you can locate them at any directory the mount selected, usually in /run/media
It functions as a server, perhaps updating roughly every two weeks.
You can place it in /etc/fstab for automatic boot mounting. Alternatively, use sudo mount /dev/sd2 /mnt/MOUNTPATH to access it manually.
Run sudo blkid to find the UUID. Use that value to mount the drive in /etc/fstab.