How To: Mounting a USB 2.0 Hard Drive to SUSE Linux
robert.pappas_at_gmail.com
Date: 04/30/05
- Next message: Jean-David Beyer: "Re: Best way to filter real time data stream?"
- Previous message: Michael Heiming: "Re: Setting up your own linux distro"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Apr 2005 10:55:10 -0700
After much twiddling, I finally figured out how to get an external USB
2.0 Hard Drive to mount PROPERLY in SUSE Linux, and also automatically
re-mount correctly upon boot-up without causing fsck issues.
There have been just TONS of postings on the subject of USB drives and
Linux, and yet none suggestions worked for me.
What finally worked for me was making an entry in /etc/fstab EXACTLY
like this:
/dev/sda1 /usbdrive subfs
rw,exec,nosuid,nodev,sync,procuid,iocharset=utf8 0 0
(That's all one line, and be SURE to have the "0 0" at the end and not
"1 2" or anything else.)
I've counted no less than 11 other postings suggesting alternative
/etc/fstab entries, of which ZERO worked for ME. So, perhaps this is a
really touchy thing.
But, I've run into this problem on 3 different machines running various
versions of Suse Linux, and each having a different brand of USB
external drive. So, this solution can't be TOO uncommon.
And if this helps, here is some more information on the problem I had:
1) Went to the local computer hardware store, bought an external USB
Hard-Drive.
2) Plugged USB drive into SUSE Linux box.
3) Used the YAST Partitioner tool to format the drive as ext3. (I've
also tried Reiser and ext2)
4) The YAST Partitioner tool adds an entry to /etc/fstab to mount the
USB drive as a regular hard-drive.
5) Everything works fine, and I can access the drive just fine.
6) Upon next boot-up, I get a hard Linux crash with an error telling me
that one of my drives failed fsck.
7) Upon investigation, it seems that the Suse Linux bootup process is
trying to run fsck on my USB drive before the USB drivers have even
loaded. So no wonder there is a problem.
8) Disabling fsck in the /etc/fstab allowed Linux to at least boot, but
my drive still didn't mount properly and I could read/write to it.
9) I just assumed my USB drive was "somehow" not Linux compatible, so I
gave up for a while. But then I ran into this same problem on two
other Linux machines with different brands external USB drives. So, I
twiddled and twiddled and twiddled with settings in /etc/fstab until I
came up with just the right "magic" combination of things that made it
happy.
I hope this helps someone! :)
Robert Pappas
- Next message: Jean-David Beyer: "Re: Best way to filter real time data stream?"
- Previous message: Michael Heiming: "Re: Setting up your own linux distro"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|