[TriLUG] cant mount USB HDD....ubuntu

Carl Crider c.crider at gmail.com
Fri Jan 13 21:03:54 EST 2006


> this is 2.6
> i should have mentioned that it shows up as mounted, but appears to be
unasable. [it worked perfectly in 5.04 by the way]
>so, maybe it's not a "mount" issue.. [?]
>i get the following error when trying to use the drive:
"Could not enter folder /media/usb0"

> the propeties are:

Name:    Removable Device (sda1)
Type:       Mounted Removeable Medium
Modified: 2006-01-02 1:21PM
Owner:    root*root
Permissions: dr-x
Base URL:  file:///media/usb0
Device Node: /dev/sda1
Free:  97.2 GB
Total:  111.8 GB
Used: 14.6 GB
Usage: 13%



On 1/13/06, Joseph Mack NA3T <jmack at wm7d.net> wrote:
>
> On Fri, 13 Jan 2006, Carl Crider wrote:
>
> > hey there, i've got a box loaded with ubuntu, well, kubuntu 5.10actually.
>
> is this 2.4?
>
> if 2.6, do you have a working udev?
>
> > anyway, i think i may be having a total brain-fart moment
> > here, as i cant seem to get the drive mounted.
> >
> > here's my fstab:
> >
> -----------------------------------------------------------------------------------------------------
> >
> > # /etc/fstab: static file system information.
> > #
> > # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> > proc /proc proc defaults 0 0
> > /dev/hdb1 / ext3
> > defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid,nouser 0 1
> > /dev/hdb5 none swap sw 0 0
> > /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
> > /dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
> > /dev/sda1 /media/usb0 auto ,atime,auto,rw,dev,exec,suid,user 0 0
>
> in 2.4 usb devices are named in the order of kernel
> discovery. If you plugged two usb drives in, the 2nd one
> will be /dev/sdb. Look in the logs to see that a device
> (/dev/sd[a-z]) has been recognised. Mount the name you see.
> There's no point in having an entry in /etc/fstab, as the
> device won't have the same name each time you insert it.
>
> You could go the LABEL route. LABEL your drive, then use a
> line like
>
> LABEL=pny       /pny            ext3    noauto  0 0
>
> in your /etc/fstab. Of course then all external drives have
> to be labelled, or mount won't mount an unLABELled removable
> drive. I don't know the fix for that, and no-one else here
> seems to either.
>
> In 2.6, udev assigns names based on udev rules. You don't
> mount the device discovered by the kernel (/dev/sda) but
> udev's mapping on it eg /dev/pny (the name I give my PNY
> brand flash disk). If this is the case, look up the HOWTOs
> for writing udev rules.
>
> Joe
>
> --
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant map
> generator at http://www.wm7d.net/azproj.shtml
> Homepage http://www.austintek.com/ It's GNU/Linux!
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
>
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>



--
Carl Crider



More information about the TriLUG mailing list