Page 1 of 1
Need help mounting an external HDD
Posted: Mon Dec 07, 2015 7:49 pm
by sunilh121
I have a 1tb seagate drive but I am having trouble mounting it. I have tried looking for solutions but can not follow them properly.
I have added this command to the terminal and it shows my external HDD ( sudo fdisk -l)
Could you please get my external hard drive mounted to the PI 2
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 6:21 am
by fruitoftheloom
sunilh121 wrote:I have a 1tb seagate drive but I am having trouble mounting it. I have tried looking for solutions but can not follow them properly.
I have added this command to the terminal and it shows my external HDD ( sudo fdisk -l)
Could you please get my external hard drive mounted to the PI 2
Presumably it is a 2.5" USB Drive ?
Presumably you have a good quality 5V 2A PSU ?
If so then add following to config.txt
https://projects.drogon.net/testing-set ... erry-pi-b/
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 7:03 am
by sunilh121
When I type in max_USB_current=1 nothing happens
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 8:50 am
by fruitoftheloom
sunilh121 wrote:When I type in max_USB_current=1 nothing happens
You spelt it wrong, please read carefully what I actually wrote, did you read the link I posted ?
You add the line to the config.txt file then save the file and reboot the RPi
https://www.raspberrypi.org/documentati ... fig-txt.md
https://www.raspberrypi.org/help/faqs/#power
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 9:06 am
by RaTTuS
sudo fdsik -l
will show you what is connected
depending on what it shows then
sudo mount /dev/sda1 /mnt
will mount it
you make want to mount it else where instead
i.e.
sudo mkdir /mnt/movies
sudo mount /dev/sda1 /mnt/movoes
also it depends if it has been partitioned and or formatted
sudo fdisk /dev/sda
will get you to the partition menu - be careful as this will trash anything on it if you do it wrong
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 12:31 pm
by sunilh121
sorry just got the raspberry Pi 2. (Beginner noob)
How do I configure the /boot/config.txt.?
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 12:46 pm
by DougieLawson
Hold [SHIFT] during boot and NOOBS will enter the recovery system. The recovery system has a config editor.
If you're not using NOOBS then open a command window (LXTerminal) and use sudo nano /boot/config.txt to edit your config.
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 7:16 pm
by sunilh121
Thanks got the usb_current=1 into the /boot/config file.
when I try to mount my external drive it comes with a message saying
mount is denied because the NTFS volume is already excusively opened. The volume may be already mounted, or another software may use it which could identified for example by help of the 'fuser' command.
I tried looking for it on file manager but was not there.
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 10:52 pm
by DougieLawson
You need to add
You can check whether it's set by reading the value for GPIO38
gpio -g read 38 # using WiringPi's gpio command
Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 10:53 pm
by fruitoftheloom
DougieLawson wrote:You need to add
Yep requested that was undertaken in first response

Re: Need help mounting an external HDD
Posted: Tue Dec 08, 2015 11:12 pm
by DougieLawson
The NTFS drive needs to be repaired in a Windows system to remove the "in-use" flags.
Re: Need help mounting an external HDD
Posted: Wed Dec 09, 2015 10:32 am
by sunilh121
Got my external drive to mount to the PI but messed it up. I learning by making mistakes. The PI 2 goes into emergency mode when booting up. the last file I changed was /ect/fstab. but now when I type in the code if doesn't open it up
Re: Need help mounting an external HDD
Posted: Wed Dec 09, 2015 10:36 am
by DougieLawson
Warning: pet peeve alert.
It's etc (from Latin et cetera) not "ect".
Re: Need help mounting an external HDD
Posted: Wed Dec 09, 2015 10:44 am
by sunilh121
Thanks. Haven't done programming for time. The last programming language I learnt was C++ about 2 years ago.
