Find the answer to your Linux question:
Results 1 to 4 of 4
Sometimes when I restart, my NTFS drives will mount in incorrect directories. It seems to only happen when I plug in USB devices such as flash drives, and keep them ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    19

    Ubuntu keeps mounting my ntfs drives in the wrong directories

    Sometimes when I restart, my NTFS drives will mount in incorrect directories. It seems to only happen when I plug in USB devices such as flash drives, and keep them in when I boot. I have the fstab file configured correctly, but it still resorts to some odd default mounting points.

    Edit suposedly the device name changes whenever I boot with a flash drive plugged in. Is there anyway to mount a disk to a dir without pointing to its changing device name.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    You could try persistent device naming as a possible fix.

    Check this HowTo for instructions on setting it up:

    How-to get your removable device mounted under an explicit and persistent name | Debian/Ubuntu Tips & Tricks
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    There's a very quick way to resolve this, and that's using the volume id rather than the block device name. If you open a terminal you can run the blkid command to retrieve the id.
    Code:
    sudo blkid /dev/sda1
    This will return a value such as wef23r2ef-234rwefwef-45htr45 or something similar. In your /etc/fstab you can put permanent entries in with this volume IDs to set permanent mount points.

    Can we start off with you posting the contents of /etc/fstab and /etc/mstab with all of your devices plugged in?

  4. #4
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    you can also change label names and then it'll mount in the same spot no matter what computer it's mounted on (Linux machine obviously). To do this:

    Linux & Java tips: Changing partition label on Ubuntu
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...