Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

share a partition with windows? 3

Status
Not open for further replies.

mackey333

Technical User
May 10, 2001
563
US
this probably isn't possible but i thought i'd ask. is there any way to have a partition that holds my mp3s be acessed from linux and windows....i realize they are different file systems, but maybe somebody knows of some program to read and write to an ext2 partition from windows? -Greg :-Q

flaga.gif
 
No,

but you can mount a fat32 partition in linux easily.

[smurf]
01101000011000010110010001110011
 
ok...my fstab file says this:

Code:
LABEL=/        /              ext2    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/hda3    swap            swap    defaults        0 0
/dev/cdrom   /mnt/cdrom   iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1  /mnt/cdrom1  iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0     /mnt/floppy   auto    noauto,owner,kudzu 0 0

the partition i want to mount is hda4 which is fat32, what do i add? -Greg :-Q

flaga.gif
 
Just add;

/dev/hda4 /mnt/somewheres vfat defaults 0 0

Check out here for a bit of info on fstab


You may need to adjust the options for uid/gid to let your user write to the partition, I can't remember. but give that a go.

To mount it without having to reboot just do (as root);

mount -t vfat /dev/hda4 /mnt/somwhere

Hope this helps [smurf]
01101000011000010110010001110011
 
hads' method is the same thing I have/had done for a while now. I split a 20G drive between win98 and Mandrake, and had a second 40G drive as my data/backup/mp3s/you-name-it drive. It was fat32 filesystem, easily mountable and writable in Linux (just like hads demonstrated). Recently the Win-half of the OS drive was consumed by Mandrake, moving windows off to the other, less-used box ;-)

In case you are in Windows and need to copy some files from you ext2 partition and don't want to reboot, try this lifesaver:
 
Cool! I stand corrected about the reading of ext from windows.

Nice one flugh. [smurf]
01101000011000010110010001110011
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top