Configure an NTFS partition to be mounted at boot on Debian

June 26th, 2009 | Tags:

Note: This might work on other distributions just installing the packages on their package managers or from source, however you want. Root password and access is required.

I been helping a friend to move into Debian Squeeze although this guide work on any I think, first of all, installing the packages, hopefully way less than any tutorial that I wrote at here.

apt-get install libfuse2 ntfs-3g

The second step is know where the NTFS partition is located, for that we will use

fdisk -l | grep NTFS

And it will output something similar to this

/dev/hdc1 * 1 9728 78140128+ 7 HPFS/NTFS

Now we know that the partition is located at /dev/hdc1, we will need to choose the path where we want it mounted, so we will create a nice folder on root ( /disk ) or on the home of an user ( /home/yourusernameathere/disk ), when we created the folder we will just add a line in /etc/fstab that will be like:

/dev/hdc1 /home/yourusernameathere ntfs-3g defaults 0 0

Was easy heh? :) Then just restart or do mount -a as root

No comments yet.