Click to See Complete Forum and Search --> : How to share file of linux frm winows?


tanveer
06-03-2004, 08:24 AM
hi all,
I just want to know how to get files from linux to windows?

Dark Ninja
06-03-2004, 08:35 AM
Is Windows and Linux on the same system (dual boot) or are you talking about sharing files over a network?

In the first case, it depends on the file system (as NTFS does not have the *strongest* writing support in the world). You could always create a common FAT32 partition to use to transfer your files in between the two systems. (Or, if you are willing, try writing to NTFS.)

In the second case, you're going to need to look into Samba. There are a slew of tutorials on the web (including this site) on how to setup Samba.

tanveer
06-03-2004, 02:49 PM
dual boot; now how to have a common fat32 partition?

Icarus
06-03-2004, 02:57 PM
A few extra details will help quite a bit here...

What distro are you using
What version of Windows
What is the Windows partition formated as (NTFS or FAT)
Are they on the same drive or seperate drives?
What is the air-speed velocity of an unladen swallow?

tanveer
06-03-2004, 03:10 PM
Fedora
Win2000 FAT32 /dev/hda2

/dev/hda1 * b Win95 Fat32
/de/hda2 f Win95 Ext'd (LBA)
/dev/hda5 b Win95 Fat32
/dev/hda6 b Win95 Fat32
/dev/hda7 b Win95 Fat32
/dev/hda8 83 linux
/dev/hda9 83 linux
/dev/hda10 82 linux swap
/dev/hda11 83 linux
/dev/hda5 82 linux swap

Icarus
06-03-2004, 03:19 PM
Looks simple enough (for us that have been doing this stuff for way too long!)
Search for "mount fat" and you will find a zillion posts on this (maybe a couple less then that...)

But this will do it also

mkdir /mnt/windows
mount -t vfat /dev/hda2 /mnt/windows

done!

To make this available at boot so all users can read/write to it (at this point only root can write)
Add this to your /etc/fstab

/dev/hda2 /mnt/windows vfat umask=000 0 0

tanveer
06-03-2004, 03:47 PM
Sorry, my mistake I think I didn't make myself clear.
Sitting on a windows machine how to access files under /root of linux.

happybunny
06-03-2004, 03:52 PM
ya'll correct me if i'm wrong, but you can't.

When you installed linux, you chose ext2, etx3 or JFS as the filesystem type to install linux on. All of which MS knows nothing about.

Unless there is an add-on to your windows OS that will allow it to see these other file system types, you can't.

Maybe systernals.com might have something

Icarus
06-03-2004, 03:57 PM
http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm

That is a project that has a driver for accessing ext2/ext3 drives from a Windows system...should be what you're looking for