LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-29-2009, 05:42 AM   #1
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Question How do you transfer files from Windows to Linux with Windows mounted to Linux ?


Hey LQ, I was wondering how to transfer files from Windows to Linux when I mount Windows to Linux....I'm trying to get ndiswrapper off my Windwows Desktop onto my Linux system.

I sincerely thank you,

leopard
 
Old 03-29-2009, 06:10 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,828

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
You need a working connection between the two systems. This can be a ethernet hard wired connection, wireless, a direct attach cable or even dial up.

You need to be able to ping in both directions. This is to verify the connection only.

You can use ftp. You would need a ftp server on windoze. You should be able to find one in freeware. Then open a ftp client in linux.

You could use ssh. You need a ssh server for windoze. Freeware also. It needs a little configuration.

If this is to be used a lot, then samba is worth the effort. Linux comes with samba client installed. Depending on desktop you installed, the samba client will be different. If it is KDE, Konqueror will work. On windows you have to set the desktop up as a windoze share. Then connect from Konq to windoze, drag and drop will copy the file(s).

Sneaker net. Copy the file to a CD, walk to the other machine...

Lots of ways.
 
Old 03-29-2009, 06:10 AM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
EDIT: I got the impression that you were talking about getting files from a Windows installation on the same machine to a Linux installation, not through ethernet from another machine..so what follows is based on that assumption. In the case of network file transfer, see the above post from camorri; I'd just use sftp or scp, if your Linux machine had an ssh server running. Another thing is that you didn't specify which distribution you're using, so the instructions are fairly general..you should edit your profile information and include your distribution there.

Provided that you have ntfs filesystem support in your kernel, basically just mount the data partition you have the files on, then [use a file manager (or shell) to navigate to the correct directory inside the mount point if you don't know what it is and] copy the files as usual.

For example if the files were on Windows partition /dev/sda1 (if "C:" was the first primary partition on your primary harddisk) and /mnt existed and was empty, you could do something like
Code:
mount /dev/sda1 /mnt
cp -R /mnt/Users/yourWindowsUserName/Desktop/ndiswrapperdirectory /home/yourLinuxUserName/ndiswrapperdirectory
umount /mnt
In practise you probably need to have root privileges (so either put 'sudo ' in front of the commands OR use 'su -' to become root before issuing the commands), and there might be a lot easier way depending on your distribution. For example it could be that you can just open your file manager (say Nautilus on Gnome desktop), click the Windows partition icon in the directory tree if present, maybe type in your password if asked and then just grab the files from the partition as usual.

Last edited by b0uncer; 03-29-2009 at 06:15 AM.
 
Old 03-29-2009, 07:02 AM   #4
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Original Poster
Rep: Reputation: 146Reputation: 146
Thank you, b0uncer! I successfully transferred my two files from windows to Linux!
 
  


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
Can i transfer files from linux server to windows via RSH barde General 3 03-13-2009 05:04 AM
I canít transfer files from my Windows machine to my Linux box. kingkongadp64 Suse/Novell 10 11-04-2005 12:16 PM
How to transfer files from Linux to Windows SentralOrigin Linux - General 7 10-31-2005 04:29 PM
Software to transfer files from windows to linux b123coder Linux - Software 12 01-30-2005 02:48 PM
Floppy drive acting strange (I'm trying to transfer files from linux to windows) jolly_good2000 Linux - General 10 11-19-2002 09:32 AM


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