LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 11-11-2004, 02:09 AM   #1
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Rep: Reputation: 30
What is Captive-NTFS?


I can brows my NFTS drives just fine with Mandrake 10 ...
 
Old 11-11-2004, 02:26 AM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Captive permits you to safely WRITE to the NTFS partitions in Linux.

It works by utilizing Microsoft's own drivers for NTFS, so there are few, if any problems.
 
Old 11-11-2004, 07:01 AM   #3
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 30
Talking

THAT IS GREAT! How do i get it working?

Last edited by allforcarrie; 11-11-2004 at 08:39 AM.
 
Old 11-11-2004, 05:22 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
The captive web site explains it best.

http://www.jankratochvil.net/project/captive/

It's REALLY easy to do.

The installer is very smart as well, it will go out and search for drivers in any Windows partition.

Under 10.1 Official, using the provided RPM's for some reason this process hung on my laptop.

I rebooted and ran the installer again and told it to skip the search of my existing Windows XP partition.

When I did this, it connected to Microsoft and downloaded the correct drivers from MS. Very nice.

You do need the LUFS modules installed prior to installing captive.

If you don't already have them or suspect you don't try

urpmi lufs

to get them in place.
 
Old 11-11-2004, 05:24 PM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Also there is a utility called captive-install-fstab that modifies the /etc/fstab file to use the captive drivers instead of the Linux ones.

Save off your existing /etc/fstab file...

e.g.

cp /etc/fstab /etc/fstab.sav

then run this utility AFTER installing captive as indicated.

Reboot and you can read and write to the NTFS partitions from Linux.
 
Old 11-11-2004, 11:18 PM   #6
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 30
i installed that but nothing happened, is there a setting i have to change?
 
Old 11-12-2004, 12:39 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Did you UNMOUNT your windows partition?

Then did you type mount -a or cat the /etc/fstab file to see if the captive-acquire-fstab made the proper changes?

Did the installation via captive-aquire-install work?
 
Old 11-12-2004, 05:33 AM   #8
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 30
I didnt try that, i'll check it out when i get home.
 
Old 11-12-2004, 08:36 AM   #9
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 30
Quote:
[root@localhost paul]# mount -a/mnt/win_c
mount: invalid option -- /
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
[root@localhost paul]#
I am completely lost....

Quote:
[root@localhost paul]# umount /mnt/win_c
umount: /mnt/win_c: device is busy
umount: /mnt/win_c: device is busy

Last edited by allforcarrie; 11-12-2004 at 08:40 AM.
 
Old 11-12-2004, 01:55 PM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Nah, just a little bit confused and missing a space or two in your syntax.

First print out the /etc/fstab and post it here so I can have a peek.

Then we'll take it further.
 
Old 11-14-2004, 06:45 AM   #11
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 30
so I did a clean install of 10.1 and unmounter my drive, i installed the captive RPM. here is the file:


Quote:
/dev/hde5 / ext2 defaults 1 1
/dev/hda /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdb /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hde1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hdf1 /mnt/win_c2 ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hdf1 /mnt/captive-music captive-ntfs defaults,noauto 0 0
/dev/hde1 /mnt/captive-noname captive-ntfs defaults,noauto 0 0
 
Old 11-14-2004, 06:56 AM   #12
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Does it work properly now?
 
Old 11-14-2004, 07:21 AM   #13
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 30
I have no idea. I cant open any directorys to get to the mnt Dir. I ushualy open home then hit the up botton but home keeps crashing..... the only way i can see anything is to use nautalas directly
 
Old 11-14-2004, 07:33 AM   #14
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Open a console, and su to root.

Enter the root password when prompted.

type

umount /mnt/win_c
umount /mnt/win_c2
umount /mnt/captive-music
umount /mnt/captive-noname

Disregard any errors about the device not being mounted...

Now edit the /etc/fstab file using whatever editor you know.

At worst use kwrite

e.g.

kwrite /etc/fstab

Delete the following lines

/dev/hde1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hdf1 /mnt/win_c2 ntfs umask=0,nls=iso8859-1,ro 0 0

These are redundant and will only act to screw up captive.

Save the file.

Now type

mount /mnt/captive-music
mount /mnt/captive-noname

Now go to the directory...

cd /mnt/captive

and display it's contents

ls -l

Do you see your NTFS files?

If so captive is working fine.
 
Old 11-14-2004, 08:00 AM   #15
allforcarrie
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 30
all i can see now is empty folders, before i could see everything fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
no captive-ntfs knoppix tshontikidis Linux - General 1 10-07-2005 09:43 PM
Anyone use captive-ntfs? bosewicht Linux - Newbie 1 06-03-2005 05:16 AM
Writing to an NTFS volume using captive-ntfs (repairing boot.ini) macskeeball Linux - General 3 02-06-2005 09:28 PM
anyone using Captive NTFS? grapier Linux - General 0 01-16-2004 03:51 AM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 12:29 AM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration