LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-23-2007, 05:54 PM   #1
mr-roboto
Member
 
Registered: Aug 2006
Location: NYC in the US of A
Distribution: Slax, FreeBSD, PCLinuxOS, Ubuntu, TurnkeyLinux
Posts: 51

Rep: Reputation: 16
Question [SLAX] How To Refine a NTFS-3g Installation


This weekend, I built new modules for FUSE 2.61 and NTFS-3g-20070118 for Slax. They work, but there's a wrinkle. I can't mount NTFS partitions as R/W from KDE's KONQUEROR. KONQUEROR's mount helper seems to skip past /etc/fstab and apparently uses the obsolete NTFS R/O kernel support (yes, I explicitly built the FUSE kernel module).

When I mount w/ the MOUNT cmd, this is what goes into the System log:

Code:
Jan 23 14:59:02 (none) ntfs-3g[26192]: Version 0.20070118-BETA
Jan 23 14:59:02 (none) ntfs-3g[26192]: Mounted /dev/hda1 (Read-Write, label "WINXP-NTFS", NTFS 3.1)
Jan 23 14:59:02 (none) ntfs-3g[26192]: Options: noatime,rw,users,silent,allow_other,fsname=/dev/hda1,blkdev,blksize=4096
If I mount via KONQUEROR, this is what shows up:

Code:
Jan 23 14:42:05 (none) kernel: NTFS volume version 3.1.
I went so far as to test a shell-script wrapper for the Mount cmd on KONQUEROR's service (context) menu. No joy. I could generate and issue the desired MOUNT cmd, but when I took KNOQUEROR's mount helper out of the loop (naturally) KONQUEROR didn't know the partition had been mounted. Not even after restarting it.

I thought about regen'g the NTFS kernel module, not that it would fix the problem, but something's wrong w/ the Slax kernel sources, so no new NTFS.KO.

One final bit: I got started on this crusade bec of KNOPPIX 5.11. That was my 1st distro w/ the new R/W support. Anyway, while trying to gen some new ideas, I booted my KNOPPIX disc and noticed that it launches a kind of service process for each MOUNTed NTFS partition, regardlesss of whether it was explicitly MOUNTed from the cmd-line or thru KONQUEROR ! So perfect and elegant. I bet they simply grafted the solution onto the working system, w/o re-engineering anything.

I'm just about out of ideas, so if someone has fresh brain cells to spare, I'd apreciate....
 
Old 01-24-2007, 10:57 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Any reason not to put the mount in /etc/fstab?
Code:
$ cat /etc/fstab | grep ntfs
/dev/hda1               /mnt/WinXP/c            ntfs-3g rw,uid=root,gid=disk 1 0
Of course, I'm on a Fedora system, but fstab is a fairly standard way to mount filesystems, eh?

Oh, if your NTFS disk isn't always available, you could use automount to get it mounted when needed and available.
 
Old 01-24-2007, 02:58 PM   #3
mr-roboto
Member
 
Registered: Aug 2006
Location: NYC in the US of A
Distribution: Slax, FreeBSD, PCLinuxOS, Ubuntu, TurnkeyLinux
Posts: 51

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by PTrenholme
Any reason not to put the mount in /etc/fstab?
Code:
$ cat /etc/fstab | grep ntfs
/dev/hda1               /mnt/WinXP/c            ntfs-3g rw,uid=root,gid=disk 1 0
Of course, I'm on a Fedora system, but fstab is a fairly standard way to mount filesystems, eh?

Oh, if your NTFS disk isn't always available, you could use automount to get it mounted when needed and available.
Thanx for the reply, but the /etc/fstab is setup just as you suggest (allowing for the diff mount point.) By default, SLAX does an automount at init time and writes fstab accordingly. But for this (ie. NTFS), I'm not comfortable w/ automount. Typically, I only mount my partitons when I need 'em to save stuf permanently (I'm totally into the live CD thing.)

Maybe I'm being anal about this, but I'd like to make this module as close to perfect as I can....
 
Old 02-09-2007, 12:31 PM   #4
mr-roboto
Member
 
Registered: Aug 2006
Location: NYC in the US of A
Distribution: Slax, FreeBSD, PCLinuxOS, Ubuntu, TurnkeyLinux
Posts: 51

Original Poster
Rep: Reputation: 16
Turns out I had to recompile the kernel, in order to disable the NTFS kernel driver. Was convinced there was some other way, in fact I actually saw indications of same, but apparently not for block devices. Regardless, I have the system I always wanted, w/ full NTFS-3g R/W support....
 
  


Reply

Tags
konqueror, ntfs3g, slax



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
grub commands for slax /slax frodo Paridoth Linux - General 2 07-15-2006 11:05 PM
SLAX Live CD Installation WSTGangsta Linux - Newbie 6 01-16-2006 09:19 PM
Need to install "Make" for Slax HD installation dauphinfay Linux - Software 3 07-22-2005 10:27 PM
I have a working Slackware "ports" system -- help me refine it for release ponds Slackware 24 01-27-2005 04:57 PM
Nvidia Driver Installation on Live(Ram-based system, like slax/knoppix) drdroid Linux - General 3 06-17-2004 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:32 PM.

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