LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2003, 07:40 PM   #1
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Rep: Reputation: 15
Veiwing the contents of Fat32 partitions in RH 9.1........?


Why can't I view the contents of my FAT32 partitions in Red Hat 9.1? Can anyone tell me how I can do this? It's like their not even there.........?

Regards,
Alan
 
Old 10-07-2003, 07:45 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
mount -t vfat <partition> <mountpoint>

Like this:

mount -t vfat /dev/hda1 /mnt/windows_c/

Works fine for me, but then again I don't run RedHat. You might want to check if your /etc/fstab already lists your Windows partitions. If that's the case, just run mount <mountpoint> or mount <partition> and it should also be mounted automatically on boot.

hw
 
Old 10-07-2003, 11:57 PM   #3
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Original Poster
Rep: Reputation: 15
Hey "hw-tph",

My "fstab" file doesn't lists the Windows partitions. What do I need to do now? Keep in mind I am rather green when it comes to linux and editing files within. I have a 40 gig hard drive partitioned into 4 equal partitions and am running Red Hat 9.1 along with Windows ME. I have no idea what to do next. Any advice or other help is much appreciated !!!!

Regards,
Alan
 
Old 10-08-2003, 04:38 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You need to try to find out what Linux calls the partitions you use in Windows. If you are using a hard drive connected to the first IDE controller (most likely you are), the hard drive will be called /dev/hda. The partition numbers are then named appended to the hard drive name, so if you have installed Windows on the first partition on your drive, it will be called /dev/hda1. The second partition is /dev/hda2, etc.

One thing you might want to know is that partitions 5 and up are used for logical partitions. It's quite probable that you have you have an extended partition with logical partitions in it.

A pretty easy way of finding out what partitions are available to Linux and what they are called is typing fdisk /dev/hda in a terminal. This will launch the partition editor so you don't want to save anything in it.
When the program is running, press the "p" key on your keyboard to view the current partitions and their names and types. Then enter "q" and hit enter to exit.

hw
 
Old 10-09-2003, 01:03 AM   #5
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Original Poster
Rep: Reputation: 15
I copied and pasted that command in my terminal and it returns nothing. It basically says, "No such file or directory exists". Any other ideas? Thanks..................ALAN
 
Old 10-09-2003, 01:31 AM   #6
Col Panic
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 93

Rep: Reputation: 15
look at the lilo or grub config file. It lists what partition info Linux uses for the drive.

I forget where lilo's is, but RH uses grub by default so what you probably want is /boot/grub/grub.conf

don't edit it in any way....it's what boots up your machine
 
Old 10-09-2003, 03:14 AM   #7
krussell
Member
 
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241

Rep: Reputation: 30
four partitions of ur hdd (if it is primary master) should look like: hda1, hda2......so on.
first find your LINUX partition, hda?. to do this, create a new hard disk on desktop (i am talking KDE), from Device tab choose "/" (root partition) and see what label the computer has given to / (hda-what?).
after you detect the linux partition the rest should be easy to determine the windows partition.

now, edit your fstab, like

/dev/hda5 ext3 auto (your linux partition)
/dev/hda1 vfat noauto, user

REMEMBER TO LEAVE A BLANK LINE IN fstab, ie, press enter after the last line.

you can use kwikdisk (after you edited the fstab) to quickly monunt, umount the partitions.

pls let me know if this helped
 
Old 10-09-2003, 04:40 AM   #8
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Original Poster
Rep: Reputation: 15
Hey Krussell,

My partitions, as listed by the Hardware Browser within System Tools, are as follows:

hda1 (f at32 )
hda5 ( fat32 )
hda6 ( fat32 )
hda8 ( ext3 )

Within my "fstab" file........... EXACTLY............how should it read? Thank you sooooo much !!!!

Regards,
Alan
 
Old 10-09-2003, 05:02 AM   #9
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Original Poster
Rep: Reputation: 15
Well........in case something bad happens..........I edited my "/etc/fstab" file to read as follows:


LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda9 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/hda1 vfat noauto,user
/dev/hda5 /mnt/hda5 vfat noauto,user
/dev/hda6 /mnt/hda6 vfat noauto,user
 
Old 10-09-2003, 05:24 AM   #10
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Original Poster
Rep: Reputation: 15
Well..........that didn't do it. When I navigate to the "/mnt" folder they still aren't listed. Ohhhhh.........what gives?.......lol............Anyone have any other idea? Thanks................ALAN
 
Old 10-09-2003, 07:32 AM   #11
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Original Poster
Rep: Reputation: 15
Never mind fellows. I got it !!!!!!! I read through some of the archives and finally ran across some information that set me free. All I needed to do was create the folders in my "/mnt" directory. Duh....LOL...... Once I created the directories and rebooted things seem to be ok. I also re-edited my "/etc/fstab" file to read as follows:


LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda9 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/windows_c vfat defaults,umask=000 0 0
/dev/hda5 /mnt/windows_d vfat defaults,umask=000 0 0
/dev/hda6 /mnt/windows_e vfat defaults,umask=000 0 0


This enables full access to the drives for all other users who log in. Thanks for helping out guys !!!!!!!!!!! I guess I should read the archives BEFORE posting my questions huh?

Regard,
ALAN
 
Old 10-09-2003, 07:32 AM   #12
Theoutdoorsman
Member
 
Registered: Sep 2003
Distribution: Mandriva 2009
Posts: 142

Original Poster
Rep: Reputation: 15
Never mind fellows. I got it !!!!!!! I read through some of the archives and finally ran across some information that set me free. All I needed to do was create the folders in my "/mnt" directory. Duh....LOL...... Once I created the directories and rebooted things seem to be ok. I also re-edited my "/etc/fstab" file to read as follows:


LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda9 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/windows_c vfat defaults,umask=000 0 0
/dev/hda5 /mnt/windows_d vfat defaults,umask=000 0 0
/dev/hda6 /mnt/windows_e vfat defaults,umask=000 0 0


This enables full access to the drives for all other users who log in. Thanks for helping out guys !!!!!!!!!!! I guess I should read the archives BEFORE posting my questions huh?

Regard,
ALAN
 
Old 10-09-2003, 12:49 PM   #13
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Glad you got it sorted, Alan.

hw
 
Old 11-06-2003, 12:12 AM   #14
jbeezy
LQ Newbie
 
Registered: Nov 2003
Location: Atlanta
Posts: 10

Rep: Reputation: 0
could you point to those archives, I have a similar problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fat32 contents unknown GrexMachine Linux - Newbie 4 02-03-2006 12:02 PM
SuSe Can't See Contents of Windoze FAT32 Drive deepgrewal SUSE / openSUSE 5 03-22-2005 09:22 PM
how to view contents of various partitions on disk skvasistha Linux - Software 1 11-23-2004 08:53 AM
how to see fat32 partitions yash_bartarya Linux - Software 1 10-17-2004 02:14 PM
2 fat32 partitions on fbsd5/w2k dual. Can only access one fat32 so far.. mipia *BSD 1 10-06-2003 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration