PDA

View Full Version : [SOLVED] Won't recognize my external hard drive



masontgreen
October 14th, 2009, 09:34 AM
I have an external 250 gb Seagate HDD and I've never been able to get Ubuntu to even acknowledge its existence. Please help me as it has all of my files and info on it. If it helps, it's formatted as fat32 I think.

nothingspecial
October 14th, 2009, 09:54 AM
With it plugged in type


lsusb


sudo fdisk -l

Then unplug and plug it back in again and type


dmesg | tail

Post all output here.

masontgreen
October 14th, 2009, 10:10 AM
[ 3296.833938] sd 3:0:0:0: [sdb] Write Protect is off
[ 3296.833946] sd 3:0:0:0: [sdb] Mode Sense: 27 00 00 00
[ 3296.833949] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 3296.835247] sd 3:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
[ 3296.836117] sd 3:0:0:0: [sdb] Write Protect is off
[ 3296.836123] sd 3:0:0:0: [sdb] Mode Sense: 27 00 00 00
[ 3296.836127] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 3296.836137] sdb: sdb1
[ 3296.856475] sd 3:0:0:0: [sdb] Attached SCSI disk
[ 3296.856532] sd 3:0:0:0: Attached scsi generic sg3 type 0

nothingspecial
October 14th, 2009, 10:13 AM
what do the other 2 commands output?

masontgreen
October 14th, 2009, 10:15 AM
Entirety:
smokey@Dimension-desktop:~$ lsub
bash: lsub: command not found
smokey@Dimension-desktop:~$ sudo fdisk -l
[sudo] password for smokey:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c4a5c4a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 38349 308038311 83 Linux
/dev/sda2 38350 38913 4530330 5 Extended
/dev/sda5 38350 38913 4530298+ 82 Linux swap / Solaris

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xeef844d8

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30401 244196001 c W95 FAT32 (LBA)
smokey@Dimension-desktop:~$ dmesg | tail
[ 3296.833938] sd 3:0:0:0: [sdb] Write Protect is off
[ 3296.833946] sd 3:0:0:0: [sdb] Mode Sense: 27 00 00 00
[ 3296.833949] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 3296.835247] sd 3:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
[ 3296.836117] sd 3:0:0:0: [sdb] Write Protect is off
[ 3296.836123] sd 3:0:0:0: [sdb] Mode Sense: 27 00 00 00
[ 3296.836127] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 3296.836137] sdb: sdb1
[ 3296.856475] sd 3:0:0:0: [sdb] Attached SCSI disk
[ 3296.856532] sd 3:0:0:0: Attached scsi generic sg3 type 0
smokey@Dimension-desktop:~$

nothingspecial
October 14th, 2009, 10:20 AM
Entirety:
smokey@Dimension-desktop:~$ lsub
bash: lsub: command not found
smokey@Dimension-desktop:~$ sudo fdisk -l
[sudo] password for smokey:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c4a5c4a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 38349 308038311 83 Linux
/dev/sda2 38350 38913 4530330 5 Extended
/dev/sda5 38350 38913 4530298+ 82 Linux swap / Solaris

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xeef844d8

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30401 244196001 c W95 FAT32 (LBA)
smokey@Dimension-desktop:~$ dmesg | tail
[ 3296.833938] sd 3:0:0:0: [sdb] Write Protect is off
[ 3296.833946] sd 3:0:0:0: [sdb] Mode Sense: 27 00 00 00
[ 3296.833949] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 3296.835247] sd 3:0:0:0: [sdb] 488397168 512-byte hardware sectors (250059 MB)
[ 3296.836117] sd 3:0:0:0: [sdb] Write Protect is off
[ 3296.836123] sd 3:0:0:0: [sdb] Mode Sense: 27 00 00 00
[ 3296.836127] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 3296.836137] sdb: sdb1
[ 3296.856475] sd 3:0:0:0: [sdb] Attached SCSI disk
[ 3296.856532] sd 3:0:0:0: Attached scsi generic sg3 type 0
smokey@Dimension-desktop:~$

There it is


sudo mkdir /media/drive


sudo mount -t vfat /dev/sdb1 /media/drive

All your files will now be in /media/drive

masontgreen
October 14th, 2009, 10:24 AM
mount: special device /dev/sdbl does not exist

It doesn't make sense... when I hook it up to my other pc running Open Solaris, it recognizes it immediately. With Ubuntu, it says it doesn't exist...?

nothingspecial
October 14th, 2009, 10:27 AM
That`s a number one not a little L

sdb1

canadiandude007
October 14th, 2009, 10:28 AM
Make sure you are using a one '1' and not an el 'l' at the end:

Should be:

/dev/sdb1 not /dev/sdbl (which it looks like from your post)

masontgreen
October 14th, 2009, 10:31 AM
Sorry. Noob mistake with the courrier font. Got it all worked out now. Thank you so much. You are something special to me.;)

masontgreen
October 14th, 2009, 10:32 AM
Thanks canada. Sorry Calgary lost to Chicago...

masontgreen
October 14th, 2009, 10:34 AM
Is there a way to rename "drive"?

*Verdana* not courrier...

nothingspecial
October 14th, 2009, 10:39 AM
Here is the how to

https://help.ubuntu.com/community/RenameUSBDrive

masontgreen
October 14th, 2009, 10:39 AM
Also... what's sudo? I don't really know programming, and I'm really wanting to learn enough to keep my head above water.

masontgreen
October 14th, 2009, 10:55 AM
GParted doesn't recognize sdb, only sda...

masontgreen
October 14th, 2009, 10:56 AM
n/m...I'm a moron...

nothingspecial
October 14th, 2009, 11:03 AM
Also... what's sudo? I don't really know programming, and I'm really wanting to learn enough to keep my head above water.
Click Thishttps://help.ubuntu.com/community/RootSudo (https://help.ubuntu.com/community/RootSudo)

garnayden
February 3rd, 2010, 05:49 PM
With it plugged in type


lsusb
sudo fdisk -lThen unplug and plug it back in again and type


dmesg | tailPost all output here.

sorry nothingspecial

but I have the same error, I type the commands that you say and these are the results

natanael@nataUbuntu:~$ lsusb
Bus 002 Device 003: ID 1058:0704 Western Digital Technologies, Inc.
Bus 002 Device 002: ID 064e:a101 Suyin Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
natanael@nataUbuntu:~$ sudo fdisk .l

No se puede abrir .l
natanael@nataUbuntu:~$ sudo fdisk -l

Disco /dev/sda: 160.0 GB, 160041885696 bytes
255 cabezas, 63 sectores/pista, 19457 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Identificador de disco: 0x7b17a491

Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 1 6751 54227376 7 HPFS/NTFS
/dev/sda2 6752 8884 17133322+ 83 Linux
/dev/sda3 8885 19457 84927622+ 5 Extendida
/dev/sda5 8885 9015 1052226 82 Linux swap / Solaris
/dev/sda6 9016 19457 83875333+ 7 HPFS/NTFS
natanael@nataUbuntu:~$

natanael@nataUbuntu:~$ lsusb
Bus 002 Device 003: ID 1058:0704 Western Digital Technologies, Inc.
Bus 002 Device 002: ID 064e:a101 Suyin Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
natanael@nataUbuntu:~$ sudo fdisk -l

Disco /dev/sda: 160.0 GB, 160041885696 bytes
255 cabezas, 63 sectores/pista, 19457 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Identificador de disco: 0x7b17a491

Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 * 1 6751 54227376 7 HPFS/NTFS
/dev/sda2 6752 8884 17133322+ 83 Linux
/dev/sda3 8885 19457 84927622+ 5 Extendida
/dev/sda5 8885 9015 1052226 82 Linux swap / Solaris
/dev/sda6 9016 19457 83875333+ 7 HPFS/NTFS
natanael@nataUbuntu:~$


Please could you help me?

nothingspecial
February 3rd, 2010, 05:55 PM
What does
dmesg | tail say?

garnayden
February 6th, 2010, 03:53 PM
What does
dmesg | tail say?

Excuse I repeted the content...
dmesg | tail say me:

natanael@nataUbuntu:~$ dmesg | tail
[58341.784711] end_request: I/O error, dev sdb, sector 0
[58341.784721] Buffer I/O error on device sdb, logical block 0
[58341.789598] end_request: I/O error, dev sdb, sector 0
[58341.789610] Buffer I/O error on device sdb, logical block 0
[58341.790713] end_request: I/O error, dev sdb, sector 0
[58341.790723] Buffer I/O error on device sdb, logical block 0
[58341.790750] Dev sdb: unable to read RDB block 0
[58341.791703] end_request: I/O error, dev sdb, sector 0
[58341.791711] Buffer I/O error on device sdb, logical block 0
[58341.792709] end_request: I/O error, dev sdb, sector 0

Curious... I try with testdisk, and it show me a /dev/sdb link to my hard drive but I can't do nothing