LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-11-2002, 09:12 PM   #1
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Rep: Reputation: 15
Exclamation Win2k/Linux system, need to share the FAT32 partition, help!!


Hi all,
I am so glad to come across a place like this I installed Linux for the very first time this past weekend (RedHat 7.1) on a system with Win2k already installed. Here is my predicament: I want to save graphics files from Linux to be opened in Win2k. I have created a special FAT32 partition from within Windows (was this my first fatal error??) and I mounted it -- well, I placed it into /mnt as hdb4 using this command:
mount/dev/hdb4 -t vfat32 /mnt/hdb4. I was able to then copy some of my image files into that partition from within Linux and could view them inside that folder. I then booted up into Win2k and opened my special fat32 partition -- which showed as empty. The space is approx. 6GB. What am I doing wrong, or what do I need to do differently? I need to get these files out from Linux into Windows but they are much too large for a floppy Thank you in advance to whomever can assist me!!!!
 
Old 06-12-2002, 01:44 AM   #2
manaskb
Member
 
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121

Rep: Reputation: 15
What u did is correct. Just check if hdb4 is actually the "special" fat32 partion. Try fdisk or even kcontrol->Information->Block Devices will tell u this.
 
Old 06-12-2002, 03:29 AM   #3
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
did you create a fat file system on the patition. ?

if not create fat file system and try again.
 
Old 06-12-2002, 09:11 AM   #4
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
"Just check if hdb4 is actually the "special" fat32 partion. Try fdisk or even kcontrol->Information->Block Devices will tell u this."

Hi, I am not sure what kcontrol is -- I went into kde control system and the harddrive petitions show the 7 partitions that exist on the proper harddrive. . . although I cannot tell anything else from there. . .
 
Old 06-12-2002, 09:18 AM   #5
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
"did you create a fat file system on the patition. ?"

Hi,
I created the partition itself (including setting it to FAT32) from Windows. I know it is a FAT32 partition because when I look at the drive in Windows Explorer, it shows that it is FAT32.

Someone else gave me that command that I used in Linux to create this drive -- how does Linux know that hdb4 refers to the space I just allotted? How do I know it's not just pulling some space from the existing Linux partition, and that is what I see from within Linux? I guess I'm asking: how does Linux know from that command that I gave it that I am specifically referring to that partition, the vfat32 reference? Hmmmm. . . .
 
Old 06-12-2002, 09:50 AM   #6
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Quote:
Someone else gave me that command that I used in Linux to create this drive -- how does Linux know that hdb4 refers to the space I just allotted?
The Linux reference of "hdb4" is the fourth primary partition on the second physical hard drive. The second physical hard drive being the slave drive on the primary IDE connector (IDE0). Does that sound like the space that you formatted in Windows as a FAT32 partition?
 
Old 06-12-2002, 09:51 PM   #7
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
"The Linux reference of "hdb4" is the fourth primary partition on the second physical hard drive. The second physical hard drive being the slave
drive on the primary IDE connector (IDE0). Does that sound like the space that you formatted in Windows as a FAT32 partition?"

Hi. I double-checked and this hdb4 was not the right partition. However, when I try to mount hd5 (which would be the correct partition/position) it gives me a read-only error. And whatever I managed to do since that, I now have, listed under my /mnt directory, the hdb5 directory, inside which is a complete copy of all the folders and files of the / directory. . . aaargh!!! Well I guess if all else fails I can just reinstall, right?
 
Old 06-13-2002, 12:17 AM   #8
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
As an update, I ended up reinstalling Linux. When I deleted all those files, well, I deleted the OS Well, ya live and learn. . . but I still haven't figured out how to share a fat32 partition.
 
Old 06-13-2002, 05:21 AM   #9
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
As root, run the command fdisk -l /dev/hdb in a terminal window or virtual console. This will give you a list of all the partitions on hdb.

Last edited by linuxcool; 06-13-2002 at 05:24 AM.
 
Old 06-13-2002, 09:25 AM   #10
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
Hi Linuxcool,

Okay, I ran that command and it shows my fat32 partition is hdb7. This is of course the new partition I made last night after crashing Linux entirely. Let me attempt to mount this drive. . . I will be back later to post my results.
 
Old 06-13-2002, 11:16 AM   #11
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
IT WORKED!

Hi all,

Thanks for your help. I am now completely able to share files between the two OS' using the shared FAT32 partition. Thank you!!! Now, I'll be submitting my next post in the newbie thread about problems with my sound. . . .
 
Old 06-13-2002, 09:33 PM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
Old 06-13-2002, 11:52 PM   #13
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
Still got an error, but can share nonetheless!

Yup,I get some kind of an error even though the partition is mounted when I move stuff over. BUT, I can still go into Windows and the files are there safe -n- sound. Wonder why?? I maybe shouldn't mess with it though since it just ACTS like it doesn't work, but actually works. . .
 
Old 06-13-2002, 11:55 PM   #14
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
What is the exact error you're getting?

Last edited by linuxcool; 06-13-2002 at 11:56 PM.
 
Old 06-14-2002, 09:23 AM   #15
toob
LQ Newbie
 
Registered: Jun 2002
Distribution: Red Hat 8
Posts: 25

Original Poster
Rep: Reputation: 15
I think I know what the problem is. . . . I added a command in the startup to mount hdb7. . . . now I don't get the error anymore. I believe the error I got before was that I didn't have permission to move things to that drive and that it was 'read only' and the operation was cancelled (although things still showed up in the drive in Windows). I will try to add the startup command to my other ID as well so I shouldn't have problems in the future.
 
  


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
Windows/Linux Fat32 Share partition problem Halsafar Linux - General 1 09-23-2005 07:17 PM
How can I create a Fat32 Windows share partition on my RH9 install(dual boot w/XP) andrewc Linux - Newbie 1 07-21-2004 08:28 AM
How can I share a fat32 partition? fabre Mandriva 7 06-10-2004 03:16 AM
Want to share a fat32 partition over a LAN el_pajaro! Linux - Networking 5 02-06-2004 02:02 PM
Win2K sees linux, no access to share suselinux Linux - Networking 3 09-06-2001 02:19 PM

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

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