Articles & Code Snippets


Mounting an NTFS drive in Debian

Mounting an NTFS drive in Debian


# apt-get install libfuse2
# apt-get install ntfs-3g
# fdisk -l | grep NTFS
sample: /dev/sdb1 1 121601 976760001 7 HPFS/NTFS
# mkdir /media/YOUR-FOLDER
# mount -t ntfs-3g /dev/sdb1 /media/YOUR-FOLDER
To auto mount it whenever the system starts, modify the file fstab located in etc in your text editor of choice. Be careful! If you damage this file it will not boot.
# vi /etc/fstab
and add the line
/dev/sdb1 /media/YOUR-FOLDER ntfs-3g defaults 0 0
Save this, and now every time you boot your machine your ntfs drive will be mounted and ready to use! web


Archives