LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-21-2002, 03:25 AM   #1
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
Question my windows partitions


how can i read my fat32 partitions from linux
i can 't see except the partition E: inside the mnt in root directory
but i also have C: and F:
what shall i do



 
Old 03-21-2002, 03:41 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You'll need to add them to your /etc/fstab
Look for the line for e:. It will be something similar to
/dev/hda2 /mnt/windows vfat *********************
what is important is this vfat. It's for Windows partitions.
Then you'll need to create similar lines for c: and f:
I guess c: will be /dev/hda1 and f: may be 5 or 6.
So copy the line for e:, change hdx numbers and this /mnt/windows into /mnt/win_c (for c, /mnt/win_f. You'll need also to create directories win_c and win_f in /mnt
 
Old 03-22-2002, 02:18 PM   #3
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
Talking yahoooooooooooooooooo

i have succseded to see my fat32 partions
except the c: which have the windows installed on
i tried every thing but i can't see it also
i trued the fstab
but i didn't find the mount commmand
were can i found on mandrake
 
Old 03-22-2002, 02:51 PM   #4
Slestak
LQ Newbie
 
Registered: Mar 2002
Location: Grand Rapids, MI
Distribution: Linux Mint, Ubuntu, Redhat
Posts: 12

Rep: Reputation: 0
I had this prob too, but the mount command says my kernel doesn't support vfat. It is the stock kernel from up2date (dont have release number, Im at work) really hoped to avoid compiling my own kernel, is this a loadable module?
 
Old 03-22-2002, 03:13 PM   #5
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
I think that the c: for windows 9x/me must be on the primary partition of the fist disk. in linux that is /dev/hda1 for IDE or /dev/sda1 for SCSI.
My /etc/fstab has these lines for my windows partitions.
  • /dev/hda1 /windows/C vfat noauto,user 0 0
    /dev/hda2 /windows/D vfat noauto,user 0 0
You can change noauto to auto to have them mount on every boot - but they will be checked after so many mounts which slows the boot process. Hope this helps.
 
Old 03-22-2002, 03:26 PM   #6
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Sorry! I forgot to add that once these are in the fstab you only need use the mount command like so...
  • mount /dev/hda1 /windows/C
the filesystem options are taken from the fstab file.
If your having trouble executing the mount command, you should su to root and try it. It could be that the mount command is not in the systems search path. mount is located in /bin on my machine (suse 7.2)
 
Old 03-22-2002, 05:05 PM   #7
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Actually, once you add the entry into fstab, you won't need to mount it manually anymore. Just reboot and it'll mount everytime at startup hence the reason for fstab. If your win part. is the first one on the drive as probable, per suggested above, then you may want an entry such as:

/dev/hda1 /windows/C vfat defaults 1 0

That should get you where you wanna be.
 
Old 03-22-2002, 06:37 PM   #8
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
Unhappy it didn't work

all what u have said about the partitionc:
didn't work
it didn't find it
and i can't open it unitl now

 
Old 03-22-2002, 07:09 PM   #9
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
taz.devil, that line is OK for an ext2 file system, but on a non ext2(3?) filesystem the fourth field, ie defaults, should have options specified. like 'auto' or 'noauto' (for mount on boot[mount -a] or not ) and 'user' (set to enable users to mount the volume). there are other options but I don't know what they are as my setup works for me. The fifth field is to specify if a dump should take place on the mountpoint. Dump is a backup utility. Mine is set to zero because I cant backup my files even if I wanted to (which I dont)
Check man fstab and man dump for more info.
 
Old 03-22-2002, 07:17 PM   #10
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
safrout, which version of windows are you using? Is the c: formatted to fat,fat32 or ntfs.? If its ntfs then try changing the entry 'vfat' to 'ntfs'
 
Old 03-22-2002, 07:42 PM   #11
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
Unhappy ..............

it is windows XP
and it is fat32 partition


what shall i do now




 
Old 03-22-2002, 08:35 PM   #12
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by fatgod
taz.devil, that line is OK for an ext2 file system, but on a non ext2(3?) filesystem the fourth field, ie defaults, should have options specified. like 'auto' or 'noauto' (for mount on boot[mount -a] or not ) and 'user' (set to enable users to mount the volume). there are other options but I don't know what they are as my setup works for me. The fifth field is to specify if a dump should take place on the mountpoint. Dump is a backup utility. Mine is set to zero because I cant backup my files even if I wanted to (which I dont)
Check man fstab and man dump for more info.
Actually the line I suggested is just fine for fat32.

safrout: I would take alook and see if you are sure you didn't actually format it as NTFS. If it was, you could just add ntfs into the fstab line instead of vfat as long as your kernel has support for it or it's been made a module that you can load. Also, a stupid question but, are you making sure that the directory you are trying to mount to is actually there?
 
Old 03-23-2002, 03:35 AM   #13
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
i'll tell u all something.............

BUT plz don't be angry or hate me

I have found that the c drive is NTFS not fat32
i was wrong



so i'll try now writting ntfs inxtead of vfat and see what will happen

sorry all for my tiny mistake
 
Old 03-23-2002, 03:53 AM   #14
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
Unhappy i am crying..............

i have tried this command on fstab:

/dev/hda1 /mnt/win_c ntfs fefaults 1 0

but it didn't wokr either
do anyone have another idea for the command
 
Old 03-23-2002, 06:28 AM   #15
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Like taz.devil says, make sure that the directory /mnt/win_c does already exsit. And check the line in fstab, here you have posted fefaults rather than defaults. and I would change 'defaults' to 'noauto,user' and the '1' to '0' unless you plan to use dump. But hey, thats just me
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why cannot i browse my windows partitions? ramchowdary Linux - Software 3 02-18-2005 03:01 PM
mounting windows partitions shahzadiub Programming 1 04-22-2004 04:49 AM
fstab and windows partitions fedetxf Linux - Newbie 6 12-29-2003 06:09 PM
my windows partitions linuxtm2005 Red Hat 1 12-29-2003 11:35 AM
Mount Windows Partitions? RedHatMN Linux - Newbie 9 12-15-2001 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:30 AM.

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