darkscot Posted October 10, 2007 Report Share Posted October 10, 2007 Hello! I have been using Sabayon for quite a while but for various reasons want to go back to a more 'conventional' distro. One of the features of Sabayon is that it can read AND write to NTFS partitions, can Mandriva 2008 do the same? Edit: Actually what I meant to ask was can Mandriva 2008 write to NTFS by default or do you have to intall NTFS-3g or similar? Quote Link to comment Share on other sites More sharing options...
spinynorman Posted October 10, 2007 Report Share Posted October 10, 2007 See the release notes... Quote Link to comment Share on other sites More sharing options...
darkscot Posted October 10, 2007 Author Report Share Posted October 10, 2007 (edited) See the release notes... Aaaaaaah! Release notes! I read the release tour, and there is nothing about this in there! http://wiki.mandriva.com/en/Releases/Mandriva/2008.0/Tour Anyway, thanks for pointing me in the right direction! Edited October 10, 2007 by darkscot Quote Link to comment Share on other sites More sharing options...
kurt_ram Posted October 14, 2007 Report Share Posted October 14, 2007 Did those instructions work for you? I couldn't get it to work. This is my fstab /dev/hdb2 / ext3 relatime 1 1 /dev/hdb10 /home ext3 relatime 1 2 /dev/cdrom /media/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0 /dev/cdrom2 /media/cdrom2 auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0 /dev/fd0 /media/floppy auto umask=0022,users,iocharset=utf8,noauto,exec,flush 0 0 /dev/hda1 /mnt/win_c ntfs umask=0022,nls=utf8,ro 0 0 /dev/hdb5 /mnt/win_c2 ntfs umask=0022,nls=utf8,ro 0 0 /dev/hda5 /mnt/win_d ntfs umask=0022,nls=utf8,ro 0 0 /dev/hdb6 /mnt/win_d2 vfat umask=0000,iocharset=utf8 0 0 /dev/hda6 /mnt/win_e vfat umask=0022,iocharset=utf8 0 0 /dev/hdb7 /mnt/win_e2 vfat umask=0022,iocharset=utf8 0 0 /dev/hda7 /mnt/win_f vfat umask=0000,iocharset=utf8 0 0 /dev/hdb8 /mnt/win_f2 ntfs-3g umask=0000,nls=utf8,ro 0 0 /dev/hda8 /mnt/win_g vfat umask=0022,iocharset=utf8 0 0 /dev/hda9 /mnt/win_h ntfs-3g umask=0000,nls=utf8,ro 0 0 none /proc proc defaults 0 0 /dev/hda10 swap swap defaults 0 0 /dev/hdb9 swap swap defaults 0 0 When I try to create a new file in /mnt/win_h, /mnt/win_f2, /mnt/d2 or /mnt/f, it fails with an error message eventhough umask has been set to 0000. Any help? Quote Link to comment Share on other sites More sharing options...
kurt_ram Posted October 14, 2007 Report Share Posted October 14, 2007 I think I figured out what my mistake was. I forgot to change "ro" to "rw". I did this for the folders that I want write access & added "users" flag to the options for those mount points and now I'm able to create new folders in these partitions. Thanks Quote Link to comment Share on other sites More sharing options...
darkscot Posted October 31, 2007 Author Report Share Posted October 31, 2007 Did those instructions work for you? I got them to work eventually. You have to reboot for the changes to take effect, it is not enough to log out of X. Here is the relevent line from my fstab: /dev/sdb3 /media/hd5 ntfs-3g umask=0,user,nls=utf8,sync 0 0 Quote Link to comment Share on other sites More sharing options...
menendez Posted November 2, 2007 Report Share Posted November 2, 2007 I followed the release note instructions. Got no errors and restarted. But it doesn't seem to mount as I cannot see it from konqueror, even after I go into the Mandriva Control Center and mount it. Here is the relevent line from my fstab: /dev/hda1 /media/hd ntfs-3g umask=0022,nls=utf8,sync 0 0 Quote Link to comment Share on other sites More sharing options...
menendez Posted November 2, 2007 Report Share Posted November 2, 2007 (edited) I also tried unmask=0 That didn't work either. I reverted back to a regular read-only NTFS install Edited November 2, 2007 by menendez Quote Link to comment Share on other sites More sharing options...
scoonma Posted November 7, 2007 Report Share Posted November 7, 2007 Hm, did you enter "unmask" or "umask"? Only the latter would be correct... ;) Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 7, 2007 Report Share Posted November 7, 2007 (edited) It has been already said THOUSANDS of times, but here we go again: For a local NTFS partition, something like /dev/sdb1 /media/winxp ntfs-3g locale=el_GR.UTF-8,defaults 0 1 in fstab should be enough to handle this partition as read/write. Of course you should substitute the "el_GR.UTF8" argument I used with your actual locales, or omit this argument completely if the windoze locale happens to be the same as the Linux one! For EXTERNAL harrddisk things it's a tad more difficult: First you must tell hal to mount NTFS parttions with ntfs-3g and not ntfs. Here's a rule which does just that: <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <!-- mount ntfs volume with the ntfs-3g driver to enable write support --> <device> <match key="volume.fstype" string="ntfs"> <match key="@block.storage_device:storage.hotpluggable" bool="true"> <merge key="volume.fstype" type="string">ntfs-3g</merge> <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge> </match> </match> </device> </deviceinfo> Save tha above as say "001-ntfs-policy.fdi" and copy it to your hal policies directory (for my distro: /etc/hal/fdi/policy ). Now restart HAL and udev, and you are ready. If the removable drive uses a different locale than the system one, then you have to do some more work: Delete /sbin/mount.ntfs-3g (which is just a symbolik link, so you aren't deleting anything) and replace it with a simple script: #!/bin/bash /bin/ntfs-3g -o locale=el_GR.UTF-8 $1 $2 (replace again el_GR.UTF-8 with the actual locale your NTFS harddisk is using). Omitting the last step ALL the files with names coded in a different locale than your current one will not be visible, at all. PS:Dont forget to flag that last script as executable before copying it to /sbin Edited November 19, 2007 by scarecrow Quote Link to comment Share on other sites More sharing options...
darkscot Posted November 7, 2007 Author Report Share Posted November 7, 2007 (edited) Now compare that with how it is done in PCLinuxOS! http://images.howtoforge.com/images/ntfs_3g_pclinuxos/9.jpg Given the choice, I know which one the average newbie would choose! Edited November 7, 2007 by darkscot Quote Link to comment Share on other sites More sharing options...
scoonma Posted November 8, 2007 Report Share Posted November 8, 2007 ? 403: access forbidden... Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 8, 2007 Report Share Posted November 8, 2007 (edited) Now compare that with how it is done in PCLinuxOS! Indeed, my 12-year old daughter uses PCLinuxOS and their method (perhaps not the same as in your snapshot... :P ). By the way, the easiest solution is patching the kernel so that the ntfs module would be substituted by ntfs-3g... factly this is the approach some recovery and forensics liveCD's are using. But patching the kernel with a driver that depends on an external module (fuse) is clearly enough a VERY dirty solution, which few (very few) distros will adopt. Still, nobody will ever prevent you from doing so, actually it's rather easy. But personally, I prefer to know-what-i-am-doing-to-my-puter... and besides that, "my method" above requires just to know how to copypaste from a browser window to a texteditor, it works for EVERY freaking distro out there (excluding windows) and it depends on no desktop environment (else there's the Gnome-heavy "ntfs-config" utlity). Edited November 8, 2007 by scarecrow Quote Link to comment Share on other sites More sharing options...
JonEberger Posted November 8, 2007 Report Share Posted November 8, 2007 correct me if i'm wrong, but shouldn't "mount -a" reload whatever is in the fstab? this would negate the need for a reboot. Quote Link to comment Share on other sites More sharing options...
darkscot Posted November 10, 2007 Author Report Share Posted November 10, 2007 But personally, I prefer to know-what-i-am-doing-to-my-puter... I agree with you, but a lot people do not share that view. I am happy to spend a few hours setting up my PC as I want it and like to know what it is that I have been doing. However, for a Linux distro to be competitive it has to offer users an easy (though possibly more long winded) option. I think that is why PCLinuxOS (which I don't actually like) is so popular. About a year ago a British computer magazine (Computeractive) ran a series on Linux for beginners using Mandriva 2007 as an example. Based on the feedback in the forums a lot of people started with Mandriva but switched to PClinuxOS because certain tasks (e.g. installing to external HD, automounting HD) was easier. People brought up on Windows XP are generally put of by having to type something into a terminal. Having said all that I have just discovered that Mandriva ALSO has a graphical method of setting up read/write for NTFS drives! Just install 'ntfs-config'! Why is this not more widely know? :unsure: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.