{"id":79,"date":"2007-10-29T10:39:40","date_gmt":"2007-10-29T15:39:40","guid":{"rendered":"http:\/\/otac.isa-geek.net\/blog\/2007\/10\/29\/79-finally-able-to-read-and-write-my-ntfs-partitionfrom-linux"},"modified":"2007-12-03T10:21:50","modified_gmt":"2007-12-03T15:21:50","slug":"finally-able-to-read-and-write-my-ntfs-partitionfrom-linux","status":"publish","type":"post","link":"https:\/\/otac.isa-geek.net\/blog\/?p=79","title":{"rendered":"Finally able to read (and write) my NTFS partition&#8230;from Linux!"},"content":{"rendered":"<p>NTFS-3G is a recently released ntfs driver for Linux, that provides full read\/write capability for ntfs partitions. The web site for it is at <a href=\"http:\/\/www.ntfs-3g.org\/\">http:\/\/www.ntfs-3g.org\/<\/a>. To install it on my dual-boot Ubuntu\/Windows desktop, I booted into Ubuntu, then downloaded the latest version of  NTFS-3G  using Synaptic.<br \/>\nAfter applying the marked ntfs-3g installation from Synaptic, the next step is to test the mount process for ntfs partitions, ensuring that the read-write capable ntfs3g driver is used rather than the default read-only ntfs. I edited the \/etc\/fstab file (for automatically mounting partitions), and made the following changes to the mount line for my ntfs partition:<\/p>\n<p><strong>#new ntfs-3g partition<br \/>\n\/dev\/sda4  \/media\/sda4     ntfs-3g    defaults,nls=utf8,umask=007,gid=46 0<br \/>\n<\/strong> After saving the file, I unmounted all the partitions, then remounted them, checking to see if they were no read-write.<br \/>\nHere is the result of mount command before change and unmounting filesystems:<br \/>\n<strong>#mount<br \/>\n\/dev\/sda4 on \/media\/sda4 type ntfs (ro,nls=utf8,umask=007,gid=46)<\/strong><br \/>\nUnmounting and remounting changed  \/etc\/fstab:<\/p>\n<p><strong>#umount -a<br \/>\numount: \/dev: device is busy<br \/>\numount: \/proc\/bus\/usb: device is busy<br \/>\numount: \/var\/run: device is busy<br \/>\numount: \/sys: device is busy<br \/>\numount: \/: device is busy<br \/>\n<\/strong><\/p>\n<p><strong>#mount -a<br \/>\n#mount<br \/>\n\/media\/sda4 type fuse (rw,nosuid,nodev,noatime,allow_other)<\/strong><br \/>\nNotice that the filesystem type for the  mount has changed to <strong>fuse<\/strong>, which is the susbsytem used by the ntfs-3g component to manage its read-write access to the  ntfs partition. Finally the acid test, creating a file works:<br \/>\n<strong>$ cd \/media\/sda4\/temp<br \/>\n$ ls &gt;tefromlinux.txt<br \/>\n$  head tefromlinux.txt<br \/>\naudio3d.dll<br \/>\nAZU26770.tmp<br \/>\nBoondocks_ClosingTheme.wav<br \/>\nbtwdmdrvinstaller5.3.2.zip<br \/>\ncaltest.pst<br \/>\n$ ls -l tefromlinux.txt<br \/>\n-rwxrwx&#8212; 1 root plugdev 3257 2007-10-28 16:18 tefromlinux.txt<\/strong><br \/>\nThe ntfs-3g driver brings the Linux desktop effort even closer to the objective of being a completely viable alternative to Windows as a mainstream operating system for the general consumer user. I expect that with it in place, I will be spending even more time working in the Ubuntu side of my PC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NTFS-3G is a recently released ntfs driver for Linux, that provides full read\/write capability for ntfs partitions. The web site for it is at http:\/\/www.ntfs-3g.org\/. To install it on my dual-boot Ubuntu\/Windows desktop, I booted into Ubuntu, then downloaded the latest version of NTFS-3G using Synaptic. After applying the marked ntfs-3g installation from Synaptic, the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-linux","category-microsoft"],"_links":{"self":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":0,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"wp:attachment":[{"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/otac.isa-geek.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}