DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've read through other threads and sites on how to mount ntfs with write permissions, I used to be able to do it in slackware but for some reason I can't get write permissions for my ntfs drives. Even root can't access write permissions. Please help
DO NOT mount your NTFS partitions as writable. The last time I checked, (which admittedly was a little while ago) this put your NTFS partition in grave danger and the results aren't particularly healthy. Trust me, there's 20.0G of a useless HDD sitting around my house as testament to that. A better idea is to try and format some part of your drive with FAT, and use that to share data eg (completely legal) music and stuff between windows and linux.
I've got a follow up question, regarding NTFS vs. FAT file system. To wit:
All of my CD's are loaded into an NTFS file, which I use exclusively (because up to now I have only used exclusively) a Windows XP OS. If I convert that Music partition to FAT (which will be a ho-hum effort with Partition Magic), will I then be able to access it from Linux (I believe...by mounting it on a Linux hd**)?
FWIW - By using the newer captive-ntfs driver, writing to a ntfs partition in Linux is much safer then the older ntfs driver.........Therefore, make sure you have the captive-ntfs driver for the kernel if you don't want to convert it to a vfat partition.................
And try these options for the windows partitions:
/dev/hda1 /mnt/files ntfs defaults,umask=000 0 0
The umask here should make it world writable, and defaults implies "rw"...
HTH
southsibling,
If all you want to do is listen to the music in Linux and not add more music to the partition while in Linux, then you don't need to convert it to vfat (FAT32)......You can simply mount it read-only and still be able to listen to it in Linux...........
You do *NOT* want to do this.
From the captive site;
Quote:
Mounting of NTFS devices usually works, but is no longer supported by the author of Captive.
NTFS read is fine, and FWIW I agree on the FAT32 share drive. Been doing it for years.
You have been warned - how good are your backups, and what is the data worth ???.
My music is on my windows ntfs partition, and i READ it only. xmms has no issues with that. If i try something silly like altering a song's title, it will refuse. Then, i have two older hdds that i used up until recently to share needed files between the two OSes. Eg if i need to add to a text file or something, then that was on FAT1 or FAT2.
NEVER TRUST NTFS WRITING IN LINUX- YOU HAVE BEEN WARNED (again)
I realise I shouldn't be setting my partition to write but I need to. Heres the deal, my windows died and I installed Debian over the top of that and I need to be able to give write access so I can restructure my other hard drive appropriately. I'm not too worried about giving my user access to write to the drive but obviously I need root to be able to so I can install games and what not. Its pretty pointless having a 200 gig hard drive that I can't write to at all and not being able to format it either. (And its only got 7 gig free full of stuff that I can't delete or backup otherwise).
If you no longer have the Windows OS installed, then why not convert to FAT32??............Then you mount the drive/partition as vfat in Linux for complete access...............
Sorry, I forgot to ask if the whole 200 GB drive is a single partition or broken up into smaller partitions............FAT32 partitions must be less than 32 GB..............
You can always try using the Knoppix live CD, it uses that captive-ntfs driver to allow write access to a ntfs partition, then maybe you can find some way to resize and move the data from the ntfs to several fat32 partitions. or even better, convert to a Linux partition if you no longer want to use Windows..............
Last edited by thegeekster; 03-21-2005 at 01:14 PM.
Easier said then done. I need write access to a 200 gig hard drive. out of the total 186 i have 7 gig left. I do not have the ability to back up the data and I cannot loose the data. So this means I cant format, split up the drive or anything like that. I just want to give root write access to the drive and I know its possible because I've had it done in slackware before. Is there an easy solution?
The Debian kernel has ntfs write support turned off. You will need to recompile the kernel with ntfs write support turned on. It is dangerous though. Here is what the help section for ntfs write support says:
Quote:
│ If you say Y here, you will (maybe) be able to write to NTFS file │
│ systems as well as read from them. The read-write support in NTFS │
│ is far from being complete and is not well tested. If you say Y │
│ here, back up your NTFS volume first, since it will probably get │
│ damaged. Also, download the Linux-NTFS project distribution from │
│ Sourceforge at <http://linux-ntfs.sf.net/> and always run the │
│ included ntfsfix utility after writing to an NTFS partition from │
│ Linux to fix some of the damage done by the driver. You should run │
│ ntfsfix _after_ unmounting the partition in Linux but _before_ │
│ rebooting into Windows. When Windows next boots, chkdsk will be │
│ run automatically to fix the remaining damage. │
│ Please note that write support is limited to Windows NT4 and │
│ earlier versions.
Hmmm........As for kernel support, I suppose you can use the Knoppix kernel, since the latest version (3.7) does have write support for ntfs...........Here's the repository entries to add in /etc/apt/sources.list for including Knoppix packages:
Code:
# Knoppix special packages resource at LinuxTag HQ
deb http://developer.linuxtag.net/knoppix/ ./
deb-src http://developer.linuxtag.net/knoppix/ ./
Or you can just download the kernel package of your choice and use 'dpkg' to install it...........This might be a better way since there's a possibility of breaking something when trying to upgrade anything if the whole Knoppix repository is included in a normal Debian installation...........
Originally posted by thegeekster FWIW - By using the newer captive-ntfs driver, writing to a ntfs partition in Linux is much safer then the older ntfs driver.........Therefore, make sure you have the captive-ntfs driver for the kernel if you don't want to convert it to a vfat partition.................
And try these options for the windows partitions:
/dev/hda1 /mnt/files ntfs defaults,umask=000 0 0
The umask here should make it world writable, and defaults implies "rw"...
HTH
southsibling,
If all you want to do is listen to the music in Linux and not add more music to the partition while in Linux, then you don't need to convert it to vfat (FAT32)......You can simply mount it read-only and still be able to listen to it in Linux...........
I believe this is what I want to do:
mkdir /mnt/win
mount -t ntfs /dev/hdb2 mnt/win
Am I anywhere close to success?
(hdb2 is the partition where my music CD's are located)
Last edited by southsibling; 04-09-2005 at 09:24 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.