Mount USB HDD to a certain /media/folder after boot

SYNass IT Ubuntu / Linux i-ubux at synass.net
Mon May 26 01:09:10 UTC 2008


On Sun, 2008-05-25 at 20:18 -0300, Derek Broughton wrote:
> David Vincent wrote:
> 
> >> /dev/sdb6: LABEL="LD142ext3" UUID="0f05abd4-500c-43b8-992d-71351e8aaa41"
> >>
> >>
> >> With "mount LD142ntfs" I am told, only root can do !
> >> OK, with "sudo mount LD142ntfs" I am asked for the PWD and it seems
> >> working but I can't find and see anything !!
> >>
> >> Trying the same with LD142ext3 ends following:
> >> sna at WS222:~$ sudo mount -L LD142ext3
> >> [sudo] password for sna:
> >> mount: mount point /dev/sdb6 is not a directory
> >> sna at WS222:~$
> >>
> >> What am I doing wrong here ??
> > 
> > you appear to be trying to mount by disk label and not by UUID or the
> > /dev/sdb* parition.
> 
> OK...  What's wrong with that - it's the best method imo.  In fact, if he
> doesn't have an entry for this in /etc/fstab, it should _always_ be getting
> mounted to /media/LABEL (ie, in this case, /media/LD142ext3)
> -- 
> derek




Hi Derek
Thanks for your support !

Well, as already answered to your other post regarding the entry/entries
in fstab:
I do have these in the fstab and will remove or UN-mark them for my
further experiments !!

However for a crosscheck, here are the fstab lines to these 2
partitions:

# /dev/sdb5
UUID=62A61C050DE7D73C   /dev/sdb5       ntfs    defaults        0
1
#----------
# /dev/sdb6
UUID=0f05abd4-500c-43b8-992d-71351e8aaa41       /dev/sdb6       ext3
defaults        0       1


One more things gets into my eyes:
I am always getting displayed /dev/sdb5 and/or /dev/sdb6
You wrote /media/LD142ext3 !?

Does this mean that, like floppies and USB sticks, 
my / the external USB HDD is "MEDIA" and not "DEV" ???

Your enlightening is very appreciated. ;-)
Cheers, svobi





More information about the ubuntu-users mailing list