LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-08-2011, 11:32 AM   #1
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Rep: Reputation: 1
Copy files between Linux and Windows


Hi Guys,

I search for the subject on the net, and found hundreds of links how to copy form linux to windows, but none of them work with me, maybe cause i am new in linux.

i am trying to copy some files from backtrack installed on virtual machine to window 7.
the steps which i did:
1- right click on computer icon to get the name of my computer, name = T1
2- create a new folder called shares, right click on it then go to share and change it to everyone.
3 - Open up file explorer (Konqueror) and in the address bar,
i typed smb://T1/share
after that pop up login appears and ask username and password for server: T1.
First i have no password for my account T1 on window 7, i tried to enter by leaving the password empty,but pop up login again appear and ask username and password.
I tried to change he password of username T1 in window 7, so i will have a password to enter, but same thing.

What password i must enter?

I tried another way, by typing
smbclient -L T1
root@bt:~# smbclient -L T1
Enter root's password:
didnt work too
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 7 Home Premium 7600] Server=[Windows 7 Home Premium 6.1]

Sharename Type Comment
--------- ---- -------
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine T1. Error was NT_STATUS_ACCESS_DENIED
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 7 Home Premium 7600] Server=[Windows 7 Home Premium 6.1]

Server Comment
--------- -------
ASPIRE-4738G
FADIHARIZ-TOSH
FAHADPARKAR
NAREG
VINCE-PC
T1

Workgroup Master
--------- -------
WORKGROUP T1

Can anyone advise please ?
Best regards
 
Old 03-08-2011, 11:36 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux
Posts: 2,766
Blog Entries: 1

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
type 'ifconfig' in your linux VM to get its IP address.

then from Windows download and run "WinSCP" and use that IP address to connect to it.

Navigate to wherever the files are that you would like to copy, drag them to your desktop or wherever you would like to put them.
 
1 members found this post helpful.
Old 03-09-2011, 10:48 AM   #3
Soadyheid
Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Posts: 720

Rep: Reputation: 121Reputation: 121
Dunno if this works on a virtual machine but it works on dual boot...

On Linux system, mount windows disk/partition then drag and drop file from Linux system to wherever you want on mounted Windows disk/partition.
Reboot to Windows to find file where you left it. Tah Dah!

Sounds too simple, maybe I'm not getting it...

Play Bonny!
 
Old 03-09-2011, 10:53 AM   #4
Soadyheid
Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Posts: 720

Rep: Reputation: 121Reputation: 121
Dunno if this works on a virtual machine but it works on dual boot... ***

On Linux system, mount windows disk/partition then drag and drop file from Linux system to wherever you want on mounted Windows disk/partition.
Reboot to Windows to find file where you left it. Tah Dah!

Sounds too simple, maybe I'm not getting it...

Play Bonny!


*** Note to self... Mounting an already mounted Windows partition on a Virtual Machine??? Don't think so, you could create a black hole and destroy the Universe!

Doh! I warned you! I ended up with a duplicate message from a parallel Universe!

Last edited by Soadyheid; 03-09-2011 at 10:58 AM. Reason: Double Post! Rats!
 
Old 03-09-2011, 12:31 PM   #5
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by szboardstretcher View Post
type 'ifconfig' in your linux VM to get its IP address.

then from Windows download and run "WinSCP" and use that IP address to connect to it.

Navigate to wherever the files are that you would like to copy, drag them to your desktop or wherever you would like to put them.
Thx a lot szboardstretcher, it work fine

Last edited by lee_can; 03-09-2011 at 12:42 PM.
 
Old 03-09-2011, 12:41 PM   #6
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Soadyheid View Post
Dunno if this works on a virtual machine but it works on dual boot... ***

On Linux system, mount windows disk/partition then drag and drop file from Linux system to wherever you want on mounted Windows disk/partition.
Reboot to Windows to find file where you left it. Tah Dah!

Sounds too simple, maybe I'm not getting it...

Play Bonny!


*** Note to self... Mounting an already mounted Windows partition on a Virtual Machine??? Don't think so, you could create a black hole and destroy the Universe!

Doh! I warned you! I ended up with a duplicate message from a parallel Universe!
Didnt quite understand as i am newbie in linux
i already solved it by using szboardstretcher comments, thx for him.

But i really like to learn how to mount the share folder on system by trying to mount the shared folder on window 7 to linux (on virtual machine)
i tried mount //winhost/share1 /mnt/smb.

Can anyone explain please what he is doing on his system how he is copying files from window 7 to a virtual machine by using mount function.

Thx guys for your help
 
Old 06-13-2011, 03:22 AM   #7
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
Hi all,
Sorry for re-opening this thread again.

In order to copy from linux to windows 7, i used as previous posts WinSCP and it work very fine.

but when i try to connect to a public network, i couldnt login in to WinSCP (connection error).

Is there another way, to mount the C drive or external hard disk to backtrack?

thanks in advance.
Regards

Last edited by lee_can; 06-13-2011 at 03:42 AM.
 
Old 06-13-2011, 03:30 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 11,006

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
You can share the drive in samba/cifs and mount it via \\ipaddresofw7\sharename if your firewalls are open.

Personally I'd suggest you use a distro supported with tools. In tools you can simply cut and paste between the two. Dunno if BT supports vm tools or guest additions.
 
  


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
Copy files from Linux onto Windows grob115 Linux - Server 3 11-29-2010 01:08 PM
how to copy windows files datas into linux ravigovind29 Linux - Newbie 4 09-29-2010 12:53 PM
copy files from Windows to Linux tigertim71 Linux - Newbie 3 01-12-2009 10:56 PM
copy files from linux dvr to windows edselrt Linux - Newbie 3 10-23-2005 10:56 PM
copy files from linux to windows turbo_acura Linux - General 4 11-23-2004 01:46 PM


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