LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-15-2005, 10:34 AM   #1
manisha_css
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Share data between Linux and WinXP on multibooting


I have WinXP and Fedora4 multibooting system on my notebook (Dell inspiron 9300)


E:->WinXp
F:->Linux



What I want is, want to copy some java files which r on linux to WinXP. Is there any way to do that?


regrds
Manisha
 
Old 08-15-2005, 10:39 AM   #2
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
the safest option will be to create a fat32 partition using your linux system,
windows can then reed it... though im not sure how to make it work.

the unsafe option is to mount the windows partition - this shouldent damage windows or linux, but it might mash your files up as linux cant write to ntfs properly yet.

option one involves using fdisk and being very careful, and you can ruin boath your partitions.

option two involves issuing a command as root which should look somthing like this:
mount -t ntfs /dev/hda1 /mnt/a-folder-you-created
 
Old 08-15-2005, 10:41 AM   #3
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
If your Windows drive is FAT32 you can write to it with Linux. Otherwise you can only read from NTFS (or write experimentally, which I don't recommend). The other option is to make Windows read the Linux partition (if it is ext2 I think that is fairly easy).
If none of these situations match your computer, just transfer it with a thumb drive or zipped email.
 
Old 08-15-2005, 11:49 AM   #4
manisha_css
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply,

You said it is fairly simple if I make windows (which is on NTFS) read my Linux files. I can see the drive FWhere i hv loaded Linux) from winXP but nothing is inside. How can i view files ?

regards
Manisha
 
Old 08-15-2005, 11:52 AM   #5
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Well, it depends on what kind of filesystem you have for Linux. If it is ext2, do a Google search for something along the lines of "Window, read ext2" (which turned up these tools http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm). Basically though you need special tools to let Windows read whatever your Linux filesystem is. I don't know how well reiserfs is supported, so hopefully you have ext2.
 
Old 08-15-2005, 11:56 AM   #6
crm
Member
 
Registered: Apr 2004
Location: leeds - UK
Distribution: Gentoo Stage 1 on Riser FS 4
Posts: 204

Rep: Reputation: 30
its all about /etc/samba/smb.conf
edit that file to look a bit like this:

Code:
workgroup = *the windows workgroup name*
netbios name = *how your comp shoukld appear to it*
server string = *your domainname*
encrypt passwords = yes
load printers = yes
wins support = yes
local master = no
security = user

[homes]
read only = yes
browsable = no

[give your share a name here inside theese brackets]
path = /path/to/folder/containing/files/to/share/
public = no
browsable = yes
write list = *list of samba users who can access it*
read only = no
interfaces = 192.168.7.3/24
valid users = crm
then as root
smbpasswd -a username

(make sure username has an account on your linux box by using useradd)
 
Old 08-15-2005, 03:02 PM   #7
manisha_css
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I downloaded 'Exploreifs' (by same author as ext2ifs) and i could see one common dir and i could export java files from linux box into my windows m/c.

Samba-> i am bit confused with this. Is this to read windows files into Linux? I am on dual boot system.


i do not know what to put here.

workgroup = *the windows workgroup name*
netbios name = *how your comp shoukld appear to it*
server string = *your domainname*


Whether it works under network condition? Would appreciate if can explane more about samba. I am bit new to this..


Thanks for yr help
Manisha
 
Old 08-15-2005, 03:09 PM   #8
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
Quote:
I downloaded 'Exploreifs' (by same author as ext2ifs) and i could see one common dir and i could export java files from linux box into my windows m/c.
So this Exploreifs worked? That'll be a good fallback in case the samba idea doesn't work out.
 
Old 08-15-2005, 03:17 PM   #9
manisha_css
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
yes, at least i tried to copy java files and i could do that. i do know abput other file extentions. So it means windows can read files from linux.

Now trying to figure out opposite, i.e. Linux trying to read files from windows. Whether Samba is all about that?


regards
Manisha
 
  


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
writable 'scratch space' for data between linux and winxp filesys questions... servnov Linux - General 2 02-11-2005 01:28 AM
Copying data from redhat 9 to winxp share? Sn7 Linux - Networking 1 05-20-2004 09:38 AM
How to setup LINUX to share Internet for winxp preswang Linux - General 1 11-04-2003 08:38 AM
Multibooting with winXP ivanatora Linux - General 2 10-07-2003 02:21 PM
Need help setting up a winXP box to share DSL with Linux Digitalgoddess Linux - Networking 1 07-23-2003 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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