Jump to content
9 minutes ago, Cupar19 said:

ok so im trying to setup own cloud to use with my external hdd but to mount the drive i needed to install the ntfs package ,sudo apt-get install ntfs-3g,

but when i enter it i get ,-bash: /usr/bin/sudo: Input/output error.

 

any ideas.

correction any sudo command gets -bash: /usr/bin/sudo: Input/output error

Link to post
Share on other sites

is your account set up as a sudoer? (you'd be better off googling how to set that up, the online articles will be far more eloquent than me)

CPU: i7-8700K

Motherboard: ASUS Prime Z370-A

Memory: 32GB TridentZ RGB

GPU: Gigabyte GTX970 G1 Gaming
Storage: 256GB Samsung 850 Pro, 4TB WD Black, 1TB Seagate somethingorother

Link to post
Share on other sites

Just now, Hekoki said:

is your account set up as a sudoer? (you'd be better off googling how to set that up, the online articles will be far more eloquent than me)

ill take a look but i just tried restarting and now putty gives network error:software caused connection abort

Link to post
Share on other sites

Just now, Cupar19 said:

ill take a look but i just tried restarting and now putty gives network error:software caused connection abort

it could just be the case that you tried to connect before the pi had finished booting, but i dont know, im not very familiar with putty bc i usually connect to my pi through a linux vm

CPU: i7-8700K

Motherboard: ASUS Prime Z370-A

Memory: 32GB TridentZ RGB

GPU: Gigabyte GTX970 G1 Gaming
Storage: 256GB Samsung 850 Pro, 4TB WD Black, 1TB Seagate somethingorother

Link to post
Share on other sites

Just now, Hekoki said:

it could just be the case that you tried to connect before the pi had finished booting, but i dont know, im not very familiar with putty bc i usually connect to my pi through a linux vm

ok restarted again and fixed ill look at the sudoer thing

Link to post
Share on other sites

Use fdisk to re-partition the disk with type set to Linux (example: fdisk /dev/sda1.  Use the on screen help to navigate the menus)  Then you will use mkfs.ext4 to format it.  Guide here...

https://superuser.com/questions/643765/creating-ext4-partition-from-console

 

 

Only downside is that the drive will not work in Windows unless you make a NTFS/FAT partition.  I find that having a 90/10 split (ext4/fat) is useful if you need to manually add files from a Windows machine.

Link to post
Share on other sites

6 minutes ago, Cupar19 said:

now i get bus error when trying to run 


sudo mkdir /media/ownclouddrive

Does the drive have its own power adapter or is it powered by USB?

 

You cannot really use USB powered drives on a Pi.  There just isnt enough power there.

 

It can be done, but you have to power the Pi through the GPIO pins.  The micro USB cant pass enough current to run the Pi (10w) and the HDD (10w)

Link to post
Share on other sites

6 minutes ago, KarathKasun said:

Does the drive have its own power adapter or is it powered by USB?

 

You cannot really use USB powered drives on a Pi.  There just isnt enough power there.

 

It can be done, but you have to power the Pi through the GPIO pins.  The micro USB cant pass enough current to run the Pi (10w) and the HDD (10w)

ahh that would be the problem then as i dont have one, is there anyway around this, using what i already have, as i dont have a powered hub or a way to power the pi via the gpio pins

Link to post
Share on other sites

https://www.modmypi.com/blog/how-do-i-power-my-raspberry-pi

 

Get a 5V 5A power adapter off of amazon

https://www.amazon.com/JacobsParts-Power-Adapter-Other-Devices/dp/B01K0608A0/ref=sr_1_1?ie=UTF8&qid=1521471832&sr=8-1&keywords=5v+5a+power+supply

 

Get some wires with the plugs on them.

https://www.amazon.com/120pcs-Multicolored-Breadboard-Arduino-Raspberry/dp/B072L1XMJR/ref=sr_1_1_sspa?s=electronics&ie=UTF8&qid=1521471940&sr=1-1-spons&keywords=pi+female+jumper&psc=1

 

Cut and splice, use solder, tape up the joint or use shrink wrap.

 

You can now run a slimline portable drive on your Pi.

 

High amperage usb adapters will NOT work.  The Pi has a poly-fuse that limits current from the micro usb plug.

Link to post
Share on other sites

2 minutes ago, KarathKasun said:

https://www.modmypi.com/blog/how-do-i-power-my-raspberry-pi

 

Get a 5V 5A power adapter off of amazon

https://www.amazon.com/JacobsParts-Power-Adapter-Other-Devices/dp/B01K0608A0/ref=sr_1_1?ie=UTF8&qid=1521471832&sr=8-1&keywords=5v+5a+power+supply

 

Get some wires with the plugs on them.

https://www.amazon.com/120pcs-Multicolored-Breadboard-Arduino-Raspberry/dp/B072L1XMJR/ref=sr_1_1_sspa?s=electronics&ie=UTF8&qid=1521471940&sr=1-1-spons&keywords=pi+female+jumper&psc=1

 

Cut and splice, use solder, tape up the joint or use shrink wrap.

 

You can now run a slimline portable drive on your Pi.

 

High amperage usb adapters will NOT work.  The Pi has a poly-fuse that limits current from the micro usb plug.

ok thanks ill look into that, i guess ill have to use a 32gb flashdrive for now, that should work right

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×