Share data between Linux and WinXP on multibooting
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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 ?
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.