LinuxQuestions.org
Review your favorite Linux distribution.
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 08-27-2005, 08:31 PM   #1
PulsarSL
Member
 
Registered: Apr 2005
Distribution: SuSE 9.3 Personal
Posts: 78

Rep: Reputation: 15
How can I mount a FAT32 Partition


Hey

During install, I made a 200 mb partition with FAT32 and chose a /windows mount point. I finish setup and boot into windows, to see I now have a drive F. Yay. Try to open it and it says "not formatted" so I formatted it (fat32) and I can now use it in windows. But it doesn't appear in linux. How can I mount it ?

Thanks
 
Old 08-27-2005, 08:40 PM   #2
Ay-Karamba!
Member
 
Registered: Aug 2005
Location: Sydney
Distribution: Ubuntu, FC4
Posts: 43

Rep: Reputation: 15
Hi, I'm a linux noob, but I've read some about mounting partition from a mags. Try this:
1. Login as root
2. mkdir for a mount point e.g /win
3. use 'mount /dev/hdaN /win' where N is your partition number (i'm not sure how to check this, just try it 1 by 1 ?
4. if it works, when you open /win dir, your partition should be there
 
Old 08-27-2005, 08:59 PM   #3
PulsarSL
Member
 
Registered: Apr 2005
Distribution: SuSE 9.3 Personal
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Ay-Karamba!
Hi, I'm a linux noob, but I've read some about mounting partition from a mags. Try this:
1. Login as root
2. mkdir for a mount point e.g /win
3. use 'mount /dev/hdaN /win' where N is your partition number (i'm not sure how to check this, just try it 1 by 1 ?
4. if it works, when you open /win dir, your partition should be there
Thanks... but I still need to figure out how to get the partition number...


anyone know how?
 
Old 08-27-2005, 09:26 PM   #4
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Quote:
Originally posted by Ay-Karamba!
Hi, I'm a linux noob, but I've read some about mounting partition from a mags. Try this:
1. Login as root
2. mkdir for a mount point e.g /win
3. use 'mount /dev/hdaN /win' where N is your partition number (i'm not sure how to check this, just try it 1 by 1 ?
4. if it works, when you open /win dir, your partition should be there
Wow.
Okay, noobs, here's a good piece of information.
EVERY device is listed in /dev. If it's not in /dev, either the kernel can't detect it, the modules didn't load properly (or aren't there in the first place), or you don't have such a device. Hard disk partitions are also recognized as devices.

In *nix, regular IDE hard drives are named by "hd" followed by a letter (I think it goes a-z but seeing as I don't have 26 hard drives I don't know). SCSI drives are named by "sd" followed by a letter (FOR THE COMPUTER ILLITERATE: if you don't know whether your computer hard drive is IDE or SCSI, it's probably IDE unless you're using a Mac). Your "primary master" is (hd/sd)a, your "primary slave" is (hd/sd)b, your "secondary master" is (hd/sd)c, and your "secondary slave" is (hd/sd)d. Note that if your CD or DVD drive is hooked up to the IDE or SCSI bus (which is true for most of them) then it also will be named using this naming scheme, even though it's not a hard disk.

The partitions on each drive are named as the drive's name followed by the partition number. For example, if your root partition is the 4th partition on the primary master hard drive, it's /dev/hda4. Note that the partition number has nothing to do with how many partitions are on the drive - of course, by default, the installers name the first partition hda1 and the second hda2, but if you formatted the drive manually (by running tools like "fsck" or "qtparted") then maybe you didn't do it that way.

Of course, the quickest way to figure out the correct partition is to use a tool like QTPartEd but if you can't for some reason you can always look through /etc/fstab and use the process of elimination to figure out which disk/partition it is ("Okay, hda1 is the root partition, and hdb has no partitions so it's the CD drive. . . well the only other drive is hdc and the only partition on it is hdc1 so that must be it")
 
Old 08-27-2005, 09:30 PM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hello,

To see various partitions
Code:
fdisk -l
time being its down, but you must check it later on for a detailed information on mounting etc.

regards
 
Old 08-27-2005, 09:44 PM   #6
PulsarSL
Member
 
Registered: Apr 2005
Distribution: SuSE 9.3 Personal
Posts: 78

Original Poster
Rep: Reputation: 15
thanks
 
Old 08-27-2005, 11:48 PM   #7
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
Quote:
Originally posted by NetRAVEN5000
Wow.
Okay, noobs, here's a good piece of information.
EVERY device is listed in /dev. If it's not in /dev, either the kernel can't detect it, the modules didn't load properly (or aren't there in the first place), or you don't have such a device. Hard disk partitions are also recognized as devices.

In *nix, regular IDE hard drives are named by "hd" followed by a letter (I think it goes a-z but seeing as I don't have 26 hard drives I don't know). SCSI drives are named by "sd" followed by a letter (FOR THE COMPUTER ILLITERATE: if you don't know whether your computer hard drive is IDE or SCSI, it's probably IDE unless you're using a Mac). Your "primary master" is (hd/sd)a, your "primary slave" is (hd/sd)b, your "secondary master" is (hd/sd)c, and your "secondary slave" is (hd/sd)d. Note that if your CD or DVD drive is hooked up to the IDE or SCSI bus (which is true for most of them) then it also will be named using this naming scheme, even though it's not a hard disk.

The partitions on each drive are named as the drive's name followed by the partition number. For example, if your root partition is the 4th partition on the primary master hard drive, it's /dev/hda4. Note that the partition number has nothing to do with how many partitions are on the drive - of course, by default, the installers name the first partition hda1 and the second hda2, but if you formatted the drive manually (by running tools like "fsck" or "qtparted") then maybe you didn't do it that way.

Of course, the quickest way to figure out the correct partition is to use a tool like QTPartEd but if you can't for some reason you can always look through /etc/fstab and use the process of elimination to figure out which disk/partition it is ("Okay, hda1 is the root partition, and hdb has no partitions so it's the CD drive. . . well the only other drive is hdc and the only partition on it is hdc1 so that must be it")

Interesting, If I switch to /dev directory and ls h*

I get the following:

hda hda5 hdb19 hdc14 hdd1 hdd6 hde2 hdf15 hdg10 hdg7 hdh20
hda1 hda6 hdb2 hdc15 hdd10 hdd7 hde20 hdf16 hdg11 hdg8 hdh3
hda10 hda7 hdb20 hdc16 hdd11 hdd8 hde3 hdf17 hdg12 hdg9 hdh4
hda11 hda8 hdb3 hdc17 hdd12 hdd9 hde4 hdf18 hdg13 hdh hdh5
hda12 hda9 hdb4 hdc18 hdd13 hde hde5 hdf19 hdg14 hdh1 hdh6
hda13 hdb hdb5 hdc19 hdd14 hde1 hde6 hdf2 hdg15 hdh10 hdh7
hda14 hdb1 hdb6 hdc2 hdd15 hde10 hde7 hdf20 hdg16 hdh11 hdh8
hda15 hdb10 hdb7 hdc20 hdd16 hde11 hde8 hdf3 hdg17 hdh12 hdh9
hda16 hdb11 hdb8 hdc3 hdd17 hde12 hde9 hdf4 hdg18 hdh13
hda17 hdb12 hdb9 hdc4 hdd18 hde13 hdf hdf5 hdg19 hdh14
hda18 hdb13 hdc hdc5 hdd19 hde14 hdf1 hdf6 hdg2 hdh15
hda19 hdb14 hdc1 hdc6 hdd2 hde15 hdf10 hdf7 hdg20 hdh16
hda2 hdb15 hdc10 hdc7 hdd20 hde16 hdf11 hdf8 hdg3 hdh17
hda20 hdb16 hdc11 hdc8 hdd3 hde17 hdf12 hdf9 hdg4 hdh18
hda3 hdb17 hdc12 hdc9 hdd4 hde18 hdf13 hdg hdg5 hdh19
hda4 hdb18 hdc13 hdd hdd5 hde19 hdf14 hdg1 hdg6 hdh2

I dont have that many drives and partitions !
 
Old 08-28-2005, 02:30 PM   #8
PulsarSL
Member
 
Registered: Apr 2005
Distribution: SuSE 9.3 Personal
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by greengrocer
Interesting, If I switch to /dev directory and ls h*

I get the following:

hda hda5 hdb19 hdc14 hdd1 hdd6 hde2 hdf15 hdg10 hdg7 hdh20
hda1 hda6 hdb2 hdc15 hdd10 hdd7 hde20 hdf16 hdg11 hdg8 hdh3
hda10 hda7 hdb20 hdc16 hdd11 hdd8 hde3 hdf17 hdg12 hdg9 hdh4
hda11 hda8 hdb3 hdc17 hdd12 hdd9 hde4 hdf18 hdg13 hdh hdh5
hda12 hda9 hdb4 hdc18 hdd13 hde hde5 hdf19 hdg14 hdh1 hdh6
hda13 hdb hdb5 hdc19 hdd14 hde1 hde6 hdf2 hdg15 hdh10 hdh7
hda14 hdb1 hdb6 hdc2 hdd15 hde10 hde7 hdf20 hdg16 hdh11 hdh8
hda15 hdb10 hdb7 hdc20 hdd16 hde11 hde8 hdf3 hdg17 hdh12 hdh9
hda16 hdb11 hdb8 hdc3 hdd17 hde12 hde9 hdf4 hdg18 hdh13
hda17 hdb12 hdb9 hdc4 hdd18 hde13 hdf hdf5 hdg19 hdh14
hda18 hdb13 hdc hdc5 hdd19 hde14 hdf1 hdf6 hdg2 hdh15
hda19 hdb14 hdc1 hdc6 hdd2 hde15 hdf10 hdf7 hdg20 hdh16
hda2 hdb15 hdc10 hdc7 hdd20 hde16 hdf11 hdf8 hdg3 hdh17
hda20 hdb16 hdc11 hdc8 hdd3 hde17 hdf12 hdf9 hdg4 hdh18
hda3 hdb17 hdc12 hdc9 hdd4 hde18 hdf13 hdg hdg5 hdh19
hda4 hdb18 hdc13 hdd hdd5 hde19 hdf14 hdg1 hdg6 hdh2

I dont have that many drives and partitions !
same here
 
Old 08-28-2005, 03:49 PM   #9
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Quote:
Originally posted by greengrocer
Interesting, If I switch to /dev directory and ls h*

I get the following:

hda hda5 hdb19 hdc14 hdd1 hdd6 hde2 hdf15 hdg10 hdg7 hdh20
hda1 hda6 hdb2 hdc15 hdd10 hdd7 hde20 hdf16 hdg11 hdg8 hdh3
hda10 hda7 hdb20 hdc16 hdd11 hdd8 hde3 hdf17 hdg12 hdg9 hdh4
hda11 hda8 hdb3 hdc17 hdd12 hdd9 hde4 hdf18 hdg13 hdh hdh5
hda12 hda9 hdb4 hdc18 hdd13 hde hde5 hdf19 hdg14 hdh1 hdh6
hda13 hdb hdb5 hdc19 hdd14 hde1 hde6 hdf2 hdg15 hdh10 hdh7
hda14 hdb1 hdb6 hdc2 hdd15 hde10 hde7 hdf20 hdg16 hdh11 hdh8
hda15 hdb10 hdb7 hdc20 hdd16 hde11 hde8 hdf3 hdg17 hdh12 hdh9
hda16 hdb11 hdb8 hdc3 hdd17 hde12 hde9 hdf4 hdg18 hdh13
hda17 hdb12 hdb9 hdc4 hdd18 hde13 hdf hdf5 hdg19 hdh14
hda18 hdb13 hdc hdc5 hdd19 hde14 hdf1 hdf6 hdg2 hdh15
hda19 hdb14 hdc1 hdc6 hdd2 hde15 hdf10 hdf7 hdg20 hdh16
hda2 hdb15 hdc10 hdc7 hdd20 hde16 hdf11 hdf8 hdg3 hdh17
hda20 hdb16 hdc11 hdc8 hdd3 hde17 hdf12 hdf9 hdg4 hdh18
hda3 hdb17 hdc12 hdc9 hdd4 hde18 hdf13 hdg hdg5 hdh19
hda4 hdb18 hdc13 hdd hdd5 hde19 hdf14 hdg1 hdg6 hdh2

I dont have that many drives and partitions !
Do you know if your hard drives are IDE or not? Maybe they're SATA or SCSI.
 
Old 08-28-2005, 04:38 PM   #10
PulsarSL
Member
 
Registered: Apr 2005
Distribution: SuSE 9.3 Personal
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by NetRAVEN5000
Do you know if your hard drives are IDE or not? Maybe they're SATA or SCSI.
Mine are IDE and I have a ton also.
 
Old 08-28-2005, 04:43 PM   #11
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Quote:
Originally posted by PulsarSL
Mine are IDE and I have a ton also.
Did you run the "makedev" script in /dev?
 
  


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
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
Can't mount FAT32 partition EcceVery Debian 5 09-13-2004 05:53 AM
mount of fat32 partition mys71 Red Hat 2 05-09-2004 02:54 PM
Mount fat32 partition? CletusJones Slackware 19 12-28-2003 08:13 PM
How to mount a new fat32 partition IceOnly Linux - Software 2 06-11-2003 01:10 PM


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