LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-22-2005, 03:29 PM   #1
SeptivaOra
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Rep: Reputation: 0
Debian and NTFS


im gonna try out debian after about a year with redhat and other distros
getting the kernal to read NTFS partitions was easy thanks to rpm and Linux NTFS Project
but i dont see anything for debian...
i found http://packages.debian.org/testing/source/linux-ntfs but not sure what to install

is it easy to get the kernal to read NTFS partitions in debian?
 
Old 07-22-2005, 03:48 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
If it's not in the kernel itself it's really easy to get. If you have a working kernel you can simply go to /usr/src/linux. Then run "make menuconfig". Go to Device Drivers - Filesystems - DOS/FAT/NT fyle systems and add NTFS support in there. Then you can compile the kernel again with the only thing that's changed being added NTFS support.

After recompiling the kernel you run: "apt-get install ntfsprogs" which will install:
ntfsprogs - tools for doing neat things in NTFS partitions from Linux

It should work after that.
 
Old 07-22-2005, 04:26 PM   #3
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
You don't need to install anything new or compile anything in Sarge. A simple:
Code:
mount -t ntfs /dev/hdb1 /mnt
wourld do.

Note that this is read-only access. For write access, I would recommend captive-ntfs (just do a search on google).

Last edited by saman007uk; 07-22-2005 at 04:30 PM.
 
Old 07-22-2005, 04:29 PM   #4
byte.chaser
Member
 
Registered: Jun 2004
Distribution: debian 3.1 etch
Posts: 76

Rep: Reputation: 15
sorry to butt in, but i was just reading something interesting in menuconfig about NTFS write support..
as of 2.6 kernel NTFS write support is safe "as far as we know". as of 2.5 kernel it is NOT safe... thought that was interesting... Just a comment

Last edited by byte.chaser; 07-22-2005 at 04:31 PM.
 
Old 07-22-2005, 04:39 PM   #5
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Quote:
Originally posted by byte.chaser
sorry to butt in, but i was just reading something interesting in menuconfig about NTFS write support..
as of 2.6 kernel NTFS write support is safe "as far as we know". as of 2.5 kernel it is NOT safe... thought that was interesting... Just a comment
Yes, that happened to me in a 2.4 kernel. Lost all of my data.

I've recommended captive-ntfs for write access because apparently they use the actual Windows drivers to access the file system, so technically there should be no problem.
 
Old 07-22-2005, 06:17 PM   #6
byte.chaser
Member
 
Registered: Jun 2004
Distribution: debian 3.1 etch
Posts: 76

Rep: Reputation: 15
I just thought it was neat that write support was progressing so nicely. Damn hard to keep up with all this, every little tidbit helps.. I will definately check out captive-ntfs you mentioned as well, thanks.
 
Old 07-22-2005, 07:57 PM   #7
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,512

Rep: Reputation: 46
There's more write support than before, but still limited. The file has to have the same size than the file to be overwritten and you can't create new files.
You'd better off with captive, or even better, without ntfs at all.
 
Old 07-23-2005, 04:51 AM   #8
bp12345
Member
 
Registered: Jun 2005
Distribution: Debian testing, Kubuntu 5.04
Posts: 104

Rep: Reputation: 15
I think you just have to add a line to /etc/fstab
Put 'ntfs' (no quotes) as the fs type and set it read-only.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux/Debian on fat32 or NTFS kushalkoolwal Debian 9 10-23-2005 03:11 PM
Debian usb ntfs hard drive problem hutch Debian 4 09-28-2005 09:33 PM
debian and ntfs external hdd wael_nasreddine Debian 22 03-16-2005 07:22 PM
how to mount ntfs on a sata drive in debian? Bultot Linux - Hardware 10 01-16-2005 07:10 PM
Debian seeing NTFS drives waynevnc Linux - Newbie 2 06-15-2004 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration