Linux Tips for the beginner Ubuntu/Mint/Debian User

Lino

I am back
Joined
Jan 26, 2008
Messages
13,790
These tips are meant for new Ubuntu/Mint users. Some of these are probably not the best way to do things but if they work they work ;)

How to automatically mount internal storage devices?
Relates to Ubuntu/Mint

There are many ways to do this? Lets say your machine has Windows XP/Vista/7 on one partition and Linux on another. Normally every time you boot into Linux you have to manually double click on your Windows partition/drive to mount it. This can be come tiresome, and when you hear the words edit fstab etc. You will probably want to run away. No need to worry there is a much simpler way to do it.

Go to the terminal and type in "sudo apt-get install ntfs-config" without the quotes. When it is installed it will detect the NTFS partitions on startup. Tick the partition you want to mount automatically, then click ok.

http://flomertens.free.fr/ntfs-config/image1.png

Then click cancel, on the next screen, click Enable write support for internal AND external device. Then you can close the application and there you have it. Now every time you bootup Linux your Windows drive/NTFS partiton will be mounted automatically.

http://flomertens.free.fr/ntfs-config/image2.png

*Images from http://flomertens.free.fr/ntfs-config/screen.html
 

milomak

Honorary Master
Joined
May 23, 2007
Messages
12,571
You make editing /etc/fstab seem like a difficult thing. On my debian, arch and fedora systems (where i have ntfs-3g installed), the ntfs drive is permanently mounted with
Code:
UUID=7192F19D15BC0C0A                                   /data/ntfs      ntfs-3g         defaults,exec   0 0

in /etc/fstab. Of course if you do not use UUIDs, the it would look like
Code:
/dev/sdxy                                   /data/ntfs      ntfs-3g         defaults,exec   0 0

what is so difficult about the above?

edit: there may be a need to run chmod 777 /data/ntfs after the first time you you enact the new fstab. but that just may depended where you create the mountpoint directory. Seeing as a normal user would by default have no access to /data, it is why chmod may be necessary.

but if mounted say in ~/ntfs; then i would guess the possibility exists that no chmod is needed.
 
Last edited:

Lino

I am back
Joined
Jan 26, 2008
Messages
13,790
You make editing /etc/fstab seem like a difficult thing. On my debian, arch and fedora systems (where i have ntfs-3g installed), the ntfs drive is permanently mounted with
Code:
UUID=7192F19D15BC0C0A                                   /data/ntfs      ntfs-3g         defaults,exec   0 0

in /etc/fstab. Of course if you do not use UUIDs, the it would look like
Code:
/dev/sdxy                                   /data/ntfs      ntfs-3g         defaults,exec   0 0

what is so difficult about the above?

edit: there may be a need to run chmod 777 /data/ntfs after the first time you you enact the new fstab. but that just may depended where you create the mountpoint directory. Seeing as a normal user would by default have no access to /data, it is why chmod may be necessary.

but if mounted say in ~/ntfs; then i would guess the possibility exists that no chmod is needed.

It is not so easy for people who have just switched to Linux. Remember not everyone uses Linux as much as we do
 
Top