Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6850

Beginners • Proper way to mount a usb HDD to Raspberry Pi?

$
0
0
I use raspberry pi os lite 64bit (bookworm), no desktop. I have a 1tb hdd where my os sits (externally powered), and the other external 2tb hdd is the one I mainly use to store and access data via smb over the network.

However the issue is, pi doesn't boot up if I unplug the 2tb hdd. So, I have to plug it in to boot the pi, which is very inconvenient. Is there a better way to mount the hdd? I do not want to do any raid, as the files are mostly video and movies, non essential stuff.

This is the method I use to mount the hdd:

Code:

sudo mkdir /mnt/LocalDisksudo chown pi:pi /mnt/LocalDisksudo blkidecho 'UUID=9E4492CB4492A615  /mnt/LocalDisk  ntfs  defaults  0  1' | sudo tee -a /etc/fstabsudo mount -acd /mnt && sudo chmod -R 777 LocalDisk

Statistics: Posted by SRoy — Thu May 09, 2024 11:00 am



Viewing all articles
Browse latest Browse all 6850

Trending Articles