HowTo: Use WD myBook external Drive with Raspberry Pi
If you want to mount your WD MyBook HDD (external Drive) with the Raspberry pi long term, you need to first install ntfs-3g. after than you need to create a folder to mount the drive … so Type:
sudo apt-get install ntfs-3g
sudo mkdir /media/myBook
ok 50% id already done. Next you have to check whats the name of the device. So Disconnect your drive. And call “ls /dev/”. Than connect the drive and again write “ls /dev/”. Compare both outputs. On the second call there should be apprear a device starting with “sd*”. My is called “sda” but “sdb” could also be possible. Now we will add a line to /etc/fstab to automatically mount this drive.
sudo nano /etc/fstab
add this line:
/dev/sda1 /media/myBook/ ntfs-3g default 0 0
By pressing ctrl+o you can save the file. And to leave nano press ctrl+x.
To refresh the system and mount the drive call:
sudo mount -a
now go to /media/myBook/ and check if it’s working 🙂
Another example for FAT32:
/dev/sda1 /media/myBook/ vfat defaults 0 2