LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I mount a FAT32 Partition (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-mount-a-fat32-partition-357648/)

PulsarSL 08-27-2005 08:31 PM

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

Ay-Karamba! 08-27-2005 08:40 PM

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 ?:D
4. if it works, when you open /win dir, your partition should be there

PulsarSL 08-27-2005 08:59 PM

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 ?:D
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?

NetRAVEN5000 08-27-2005 09:26 PM

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 ?:D
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")

b0nd 08-27-2005 09:30 PM

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

PulsarSL 08-27-2005 09:44 PM

thanks

greengrocer 08-27-2005 11:48 PM

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 !

PulsarSL 08-28-2005 02:30 PM

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

NetRAVEN5000 08-28-2005 03:49 PM

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.

PulsarSL 08-28-2005 04:38 PM

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.

NetRAVEN5000 08-28-2005 04:43 PM

Quote:

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


All times are GMT -5. The time now is 05:27 PM.