[SOLVED] External Hard Drive not recognized on Debian SID
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643
Rep:
External Hard Drive not recognized on Debian SID
My debian Sid 3.11 kernel does not recognize my 150Gig external Hard Drive formatted for Fat32. (VFat). Cable and drive work properly on my Windows 7 laptop.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
With the drive connected and powered up;
Code:
lsusb
and, as root;
Code:
fdisk -l
That command run on here, which is not Sid (but I will try it on my Sid install in a while) but Testing gives;
Code:
Device Boot Start End Blocks Id System
/dev/sdh1 * 64 2070527 1035232 83 Linux
/dev/sdh2 2070528 19136511 8532992 83 Linux
/dev/sdh3 19136512 57364479 19113984 83 Linux
/dev/sdh4 57364480 63899647 3267584 b W95 FAT32
I can read and write it with no problem on this stick.
We need to see if it your external is seen by the system and how it sees it.
Testing is still running 3.10. So I will be checking Sid which is, as you say, running 3.11.
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643
Original Poster
Rep:
Quote:
Originally Posted by widget
With the drive connected and powered up;
Code:
lsusb
and, as root;
Code:
fdisk -l
That command run on here, which is not Sid (but I will try it on my Sid install in a while) but Testing gives;
Code:
Device Boot Start End Blocks Id System
/dev/sdh1 * 64 2070527 1035232 83 Linux
/dev/sdh2 2070528 19136511 8532992 83 Linux
/dev/sdh3 19136512 57364479 19113984 83 Linux
/dev/sdh4 57364480 63899647 3267584 b W95 FAT32
I can read and write it with no problem on this stick.
We need to see if it your external is seen by the system and how it sees it.
Testing is still running 3.10. So I will be checking Sid which is, as you say, running 3.11.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Yes, popped over and am on Sid.
I am reading and writing to the stick Fat32 partition.
There are a couple differences from your situation here. One is that this is a stick not an hdd. Second is that this is straight up fat32 and I believe there is some differences between it and Vfat.
I do not think that the long file name capability of Vfat as opposed to fat32 is relevant however.
The stick/hard drive difference may be a problem in comparing our systems.
I need to run down and see if I can get finger printed at the court house (need for a job, not a criminal case) but I have an external drive that could easily be formated as it needs cleaned out anyway. Will whack fat32 on there and see what happens.
One reason I wanted to check here besides the kernel difference was the fact that the testing install has a lot of extra packages installed. Mainly diagnostic but they do have special abilities for reading and detecting file systems that may be over written or corrupted. Thought it could be the reason I have never had this problem.
The fat32 partition is new on the stick. Had a ntfs partition on it under the assumtion that a Windows box could see it on the stick. Appears that is not true so I put this on so I can, hopefully, get an image off a W7 box from the Weed Dept at the court house.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
I find it strange that the external drive is not seen by both those commands.
lsusb usually will see about anything. May just see the firmware giving the manufacturers name but should see a live device.
You do have the package "libdiscover" installed don't you? Standard default install package I am sure.
Check on "udisks" and "udisks2" and "fatattr" while you are at it. The first two should, I think, be installed already. The last may help.
I have a straight fat32 formatted drive. Have never fooled with fat before. Can't seem to get a Vfat format to work. Have dosfftools installed and tried mkfs.vfat and was informed that the command was unknown. Didn't try any further.
As soon as a fat32 format was applied to the drive, however, it came up as mounted automatically in Thunar. Created a folder and copied some .png files to it. They come up fine in Ristretto (image viewer) from there.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Quote:
Originally Posted by andrewthomas
No kernel driver?
I find that a bit hard to believe too because it is the same kernel I am on right now.
Been looking around and I came up with this to check mounted drives. This is the result after I dismounted the drive which explains the last entry.
I think I will remount the fat32 drive and see what it says there. May give a clue. This drive, all linux type partitions obviously needs nothing but the kernel.
Looks like the;
Linux debian 3.11-1-amd64 #1 SMP Debian 3.11.6-2 (2013-11-01) x86_64 GNU/Linux
kernel is handling it fine.
One thing that turned up in my research was a post by someone using the 3.10 kernel that had the package "usbmount" installed, removed it and had no more problem mounting the usb drive. That package is supposed to mount usb devices, but not hdds.
I checked and I do not have it installed. Checking that may be a good idea.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by utanja
My debian Sid 3.11 kernel does not recognize my 150Gig external Hard Drive formatted for Fat32. (VFat). Cable and drive work properly on my Windows 7 laptop.
If you are using a custom kernel as your signature suggests have you tried booting one of the Debian-provided 3.11 kernels? That would narrow things down and I know I've had problems with automounting of my optical drive, for example, with a kernel I compiled until I compiled using the correct confuguration.
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643
Original Poster
Rep:
well I will check out all of the suggestions tonight when I get home.....I remotely check to see if I had usbmount installed and I do not have it....I will add it and see what happens....I did try using the debian stack kernel and still no success.
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643
Original Poster
Rep:
Quote:
Originally Posted by utanja
well I will check out all of the suggestions tonight when I get home.....I remotely check to see if I had usbmount installed and I do not have it....I will add it and see what happens....I did try using the debian stock kernel and still no success.
OK....problem solved......the usb ports on the front panel only seem to work with USB sticks and the SanDisk multicard reader....when I plugged the cable into the USB ports at the rear of the case, these are directly into the motherboard, everything works fine....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.