CodySnider.com
| Main Menu | |||||||
|---|---|---|---|---|---|---|---|
|
| Guides | ||||
|---|---|---|---|---|
|
| Myspace Tools | ||
|---|---|---|
|
| Latest Articles |
|---|
| Statistics |
|---|
|
Members: 89 Articles: 130 Visitors: 175590 |
| Login |
|---|
| Mounting an NTFS Partition |
|
|
|
|
If you're using an NTFS partition from a pre-existing Windows installation and you'd like access in Linux.
Ok, first let me say that WRITING to an NTFS partition is considered experimental at best. I take no responsibility for anyone who chooses to do this. The purpose I had in mounting my NTFS was to transfer my library of music and movies from an NTFS drive to my Ext3 Linux drive. First, we need to list what you have in terms of partitions available. Open up a terminal session and type the following: sudo fdisk -l You’re looking for the NTFS partition. The following is my output from the last command: Device Boot Start End Blocks Id System From this we can tell I have 3 hard drives installed: sda with 3 partitions, hda with 1 partition and hdc with one partition. As you can see, hdc1 is the partition we want to mount, so we'll focus on that. Now, let's ensure that we have all the needed packages before we process. In the console, execute the following: sudo apt-get install libfuse2 fuse-utils libntfs8 ntfsprogs Let's add FUSE to the list Linux will use at boot: echo fuse | sudo tee -a /etc/modules Now, we need to create the group who can access NTFS. Write down the GUID as you will need it later: sudo addgroup ntfs Now, let's create the mountpoint then change the fstab (backing it up, of course: sudo mkdir /windows_drive sudo cp /etc/fstab /etc/fstab.bak gksudo gedit /etc/fstab You should see something like this: <file system> <mount point> <type> <options> <dump> <pass> I need to add this to that list to get my NTFS partition working. In the entry 'gid=1001', Please insert the GID you got earlier when creating the group. Also, this is my addition, as I mounting hdc1, you will want to change that for your partition: /dev/hdc1 /windows_drive ntfs-fuse auto,gid=1001,umask=0002 0 0 Now, add yourself to the group you created earlier, please insert your username in the spot where 'USERNAME' is, as I'm sure that isn't your actual username: sudo adduser USERNAME ntfs Now, let's fix a known bug: sudo rm /sbin/mount.ntfs-fuse && sudo ln /usr/bin/ntfsmount /sbin/mount.ntfs-fuse Reboot. Voila! |


