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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-20-2008, 09:50 AM   #1
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Rep: Reputation: 30
copy files to xp partitions


Is possible to copy files to windows NT partitions from linux?
On slackware 11.0 seems not (with installation settings).
Should I load any module?
Thanks,
tano
 
Old 09-20-2008, 10:01 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Is ntfs-3g installed?
(find /bin -name ntfs*)

ntfs-3g is a slackware package (in AP)
 
Old 09-20-2008, 11:19 AM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
ntfs-3g is installed by default in a full Slackware 12.1 installation. If you're running 12.0 or 11.0 (as it looks from your post), you can build ntfs-3g (which requires FUSE). SlackBuilds for both are located at slackbuilds.org.
 
Old 09-21-2008, 03:59 AM   #4
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Original Poster
Rep: Reputation: 30
uh, oh! Excuse me, but seems that my slackware is 12.1, not 11, as I wrote, the installation
was the full mode but even if I could read, seems that I am no able to copy to nt partitions
?!?!
 
Old 09-21-2008, 04:05 AM   #5
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Please post here you /etc/fstab file.
 
Old 09-21-2008, 05:02 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Have you tried copying anything as root? During installation of 12.1, if you have Windows, you're offered a choice of read/write permissions for your Windows partition. I chose anyone can read, but only root can write.
 
Old 09-21-2008, 07:17 AM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Fuse is located in the l/ series and ntfs-3g is located in the a/ series. ntfsprogs is in the ap/ series, but I'm not sure if that still gets used or not (I don't have an NTFS partition to test this out on). The following commands should return something (the desired output is shown below):
Code:
$ ls /var/log/packages | grep -i fuse
fuse-2.7.3-i486-1
$ ls /var/log/packages | grep -i ntfs
ntfs-3g-1.2310-i486-1
ntfsprogs-2.0.0-i486-2
If all of those are installed, it is just a matter of a configuration error (for example, in /etc/fstab). If you don't want to use fstab to create a permanent mount point for your partition, you can try mounting the partition manually, as follows (as root):
Code:
# mount -t ntfs-3g /dev/hda2 /mnt/ntfs
Make sure you change /dev/hda2 to point to the location of your NTFS partition. You can (and may have to) pass additional options to mount (or /etc/fstab). Read `man fstab` and `man mount` for more information.

Last edited by T3slider; 09-21-2008 at 07:18 AM.
 
Old 09-21-2008, 08:53 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Here's the relevant entry in my /etc/fstab:

Code:
/dev/sda1        /winxpp          ntfs-3g     umask=022        1   0
Obviously you'd have to change the /dev/sda1 and /winxpp parts to suit your own setup.
 
Old 09-21-2008, 10:34 AM   #9
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Hello tanoatlq!

I don't have winxp installed now but I had it a month ago and this fstab entry worked perfectly well for me. It will let every user read and right in that ntfs partition. If you want that, I think it will also work for you.

Code:

/dev/sda1     /media/winntfs   	ntfs-3g	   umask=000	1   0
I hope it helps,
Glore2002.-

Last edited by glore2002; 09-21-2008 at 10:36 AM.
 
Old 09-21-2008, 10:44 AM   #10
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Original Poster
Rep: Reputation: 30
I am going to try to mount it with that options.
I did not want to mount partitions automatically so no fstab lines for external
partitions. I tried to do as root as mount /dev/sdaX /mnt.
But I do not use type option, so ntfs-3g could be a solution.
Thanks!
 
Old 09-21-2008, 02:15 PM   #11
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Original Poster
Rep: Reputation: 30
Yes : it seems that mounting an ntfs partition without the -t ntfs-3g mount it with
different options than ntfs (that mount that partition 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
in copy files or ls files the command want to invert select some files how to?? hocheetiong Linux - Newbie 3 06-27-2008 06:32 AM
Can't resize or copy ext3 partitions created by Etch? IsaacKuo Debian 0 05-17-2007 09:47 AM
copy and paste partitions over harddrives (Knoppix) blackman890 Linux - Software 1 11-19-2005 10:40 AM
Can't copy a file bigger than 4GB's between partitions GoBillsBN Linux - Software 6 10-31-2005 02:55 AM
Can I copy Files to my win partitions in Knoppix 3.1 deadlyquantizer Linux - Newbie 1 09-16-2004 04:00 PM

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

All times are GMT -5. The time now is 05:23 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