Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Right now, I use my windows 7 HDD as data-disk for Ubuntu, where I store my music and documents.

The problem is that the hard drive is mounted with a random hash or something every time I boot, so the path is never the same(Example: /media/petterroea/A26677AA66777E3B). How can I make it mount to a permanent path?

share|improve this question
    
Weird, it shouldn't be like that. Always that I mount my NTFS partitions it shows the same UIID. –  Braiam Oct 28 '13 at 21:56

3 Answers 3

First open a terminal and type "mount" you should see something like this:

/dev/sda2 on /media/jeffery/76C8AE3CC8ADFB0F type fuseblk (rw,nosuid,nodev,allow_other,allow_other,default_permissions,blksize=4096)

Keep track of the /dev/sdX# value.

Next, edit fstab via:

sudo gedit /etc/fstab

At the end, add a line like this, changing to match the line above:

/dev/sda2  /media/windows-data ntfs rw,nosuid,nodev,allow_other,default_permissions,blksize=4096

After saving the change, you can reboot or do:

sudo umount /media/Petterroea/A26677AA66777E3B
sudo mount -a
mount

You should now see a line via mount that says:

/dev/sda2 on /media/windows-data type fuseblk ...
share|improve this answer

Whenever a partition has no label it will be mounted using its UUID. To give it more sensible names we may add a label to a partition:

We can then also mount this drive from the fstab by label rather than by UUID in case we want to auto-mount it on boot.

share|improve this answer

You can modify the mount options using the "Disk" utility. Open the Dash, type Disk, then enter. You will presented with a screen like this:

enter code here

Select your partition of your HDD, then select the small cogs icon. You will have a screen like this:

enter image description here

Just turn off the Automatic Mount Options, and select the "Mount Point" where you like the drive mounted, etc.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.