BigRonnyV
Posts: 5
Joined: Wed Aug 08, 2012 9:07 am

USB disk not recognize

Tue Dec 18, 2012 7:35 pm

hi sll,

Trying to connect extern usb hdd (1 Gb) to my pi but it's not recognized. Under my w7 it's ok what I'm doing wrong?

Mobius
Posts: 238
Joined: Thu Aug 30, 2012 1:07 am
Location: San Angelo, Texas USA

Re: USB disk not recognize

Tue Dec 18, 2012 8:02 pm

Did you do a "sudo lsusb" to see if the drive was recognized during boot up? If it was, then did you mount the drive?

You need to create a mount point like this: sudo mkdir /mnt/USB_Drive

Then you need to mount the drive like this: sudo mount -o uid=pi,gid=pi /dev/sda1 /mnt/USB_Drive

You can then access the drive like this: ls /mnt/USB_Drive
Last edited by Mobius on Tue Dec 18, 2012 8:30 pm, edited 1 time in total.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: USB disk not recognize

Tue Dec 18, 2012 8:11 pm

1 Gb ? Its a long time since hard drives were that size (late 80's, early 90's ?). If its one of the newer 1000 Gb (1TB) 2.5" usb drives and you're connecting it to the PI , not via a powered USB hub, the pi won't be supplying enough juice for it. Some more information would be useful so we don't have to guess so much.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

BigRonnyV
Posts: 5
Joined: Wed Aug 08, 2012 9:07 am

Re: USB disk not recognize

Tue Dec 18, 2012 8:45 pm

Mobius wrote:Did you do a "sudo lsusb" to see if the drive was recognized during boot up? If it was, then did you mount the drive?

You need to create a mount point like this: sudo mkdir /mnt/USB_Drive

Then you need to mount the drive like this: sudo mount -o uid=pi,gid=pi /dev/sda1 /mnt/USB_Drive

You can then access the drive like this: ls /mnt/USB_Drive
entering sudo mount -o uid=pi,gid=pi /dev/sda1 /mnt/USB_Drive gives an error, so no disk it's a 1 GB disk btw

BigRonnyV
Posts: 5
Joined: Wed Aug 08, 2012 9:07 am

Re: USB disk not recognize

Tue Dec 18, 2012 8:46 pm

pluggy wrote:1 Gb ? Its a long time since hard drives were that size (late 80's, early 90's ?). If its one of the newer 1000 Gb (1TB) 2.5" usb drives and you're connecting it to the PI , not via a powered USB hub, the pi won't be supplying enough juice for it. Some more information would be useful so we don't have to guess so much.
It's a 1 Tb drive :-)

BigRonnyV
Posts: 5
Joined: Wed Aug 08, 2012 9:07 am

Re: USB disk not recognize

Tue Dec 18, 2012 8:48 pm

Mobius wrote:Did you do a "sudo lsusb" to see if the drive was recognized during boot up? If it was, then did you mount the drive?

You need to create a mount point like this: sudo mkdir /mnt/USB_Drive

Then you need to mount the drive like this: sudo mount -o uid=pi,gid=pi /dev/sda1 /mnt/USB_Drive

You can then access the drive like this: ls /mnt/USB_Drive
the disk is'nt recognised :-( don't know how to get this recognized

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: USB disk not recognize

Tue Dec 18, 2012 8:55 pm

Is it a 1 TB 2.5" or 3.5" (or more to the point USB powered or not) and is it connected directly to the Pi or through a powered Hub ?. Whats does

Code: Select all

dmesg
say directly after you've connected it ?

The Pi image you're using and the filetype (FAT, NTFS, EXT3 etc) used on said HDD would be nice too
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

Return to “Beginners”