How to share files with WinXP?
Posted 25 December 2003 - 07:59 AM
I know that in order to share files between WinXP and Linux, I need to resore files in FAT32 format. But I don't know how to retrieve the file which is restored in FAT32 format when my PC is in the Linux (Mandrake 9.2) environment.
Can someone please teach me how to do retrieve a file in FAT32 from the Linux environmnet?
Posted 25 December 2003 - 12:30 PM
But, use a fat32 partition for a share drive. Save all your files that you would like to share in that partition. Again, if you already have an existing fat32 partition, then you can use this.
Create a directory in the /mnt directory, say share. You can either use the file manager to do this, or at a command line type mkdir /mnt/share. Make sure there is a space between mkdir and /mnt.
Mount the share partition by typing in a konsole, as root user,
mount -t vfat /dev/hdxx /mnt/share, where xx equals the partition that is the fat32 one.
Fore example, if the fat32 partition is on the "windows" c: drive, on the third partition, then it would be hda3. If you only have one hard drive n the system, then it will be hda, (whatever the partition designation is).
Use your file manager to navigate to the /mnt/share directory and your files should be visable.
Setting this up automatically, if you don't have an existing partition available is a little more tricky with Mandrake, but let us know what your system has currently.
Posted 26 December 2003 - 03:28 AM
This will tell you which partition the vfat partition is on. Then try to mount the partition and see if you can view it in the file manager.
Posted 27 December 2003 - 07:21 AM
Red Hat 9 seems not setting up these FAT32 folders in /mnt automatically.
And I'm not able to create a directory by using the function mkdir.
here is the info in the /etc/fstab:
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 swap swap defaults 0 0
/dev/sda /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
Posted 27 December 2003 - 12:18 PM
If you are using the command line, do so as root. So type in a konsole;
su (hit the enterkey)
You should be prompted for your root password that you selected during the install, not your user password. Enter the password and hit the enter key.
Then try the mkdir command.
Then try to mount the partition command.
If you on't have multiple partitions or hard drives; and only have windows installed, then it is probably hda1.
Posted 27 August 2004 - 02:14 AM
Worked great for me, now I can save and share audio samples from one to another (files too of course).
here is what I did:
- installed win2K
* with 100kb for boot loader non-formatted (hda1)
* with no partition on a 5G drive (c:/hda2)
* format FAT32 on 5G on second drive
- installed linux with an extra partition in vfat
* on 10G drive (hdb1)
* vfat as/ on the FAT32 (5G) (f:/hdb2)
- logged in as /root su
- created share dir: mkdir share
- mounted hdb2 with: mount -t vfat /dev/hdb2 /mnt/share
the link works
when rebooting it doesn`t work, so...
edited fstab with emacs:
- emacs /etc/fstab
and added /dev/hdb2 /mnt/share vfat default 0 0 in it
now works great!
THX for the tip!
I`ll try to implement with XP next...
FYI the distro I use is Fedora Core 3 Test and it rocks as far as I`m concerned!
In the past, on a dual boot with XP I encountered the following on reboot:
here is what I did to recover:
sfdisk -d /dev/hda | sfdisk --force -H255 /dev/hda
more infos can be found at the following url: