Configure an NTFS partition to be mounted at boot on Debian

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

This entry was posted in linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>