bsquirle Posted January 4, 2004 Share Posted January 4, 2004 Hi, I want to mount my Fat32 partition in Linux using Fedora Core 1. I've always used live-cd's which did all that kind of stuff for me, so this is the first time I have to do it on my own. :blush: My partitions are: type - OS - Pri/Log -------------------------------------- NTFS - Windows 2000 - Primary FAT32 - No OS installed - Logical EXT3 - Fedora Core 1 - Primary This is how I tried to mount my logical FAT32 partition: [root@localhost root]# mkdir /mnt/hda2 [root@localhost root]# cd /mnt [root@localhost mnt]# dir cdrom floppy hda2 [root@localhost mnt]# mount -t vfat /dev/hda2 /mnt/hda2 And this is what I get as a result: FAT: bogus logical sector size 0 VFS: Can't find a valid FAT filesystem on dev 03:02. mount: wrong fs type, bad option, bad superblock on /dev/hda2, or too many mounted file systems (aren't you trying to mount an extended partition, instead of a logical partition inside?) Seems like I'm trying to mount the extended partition. But how do I mount the logical FAT32 partition inside??? (hda3 is my ext3 ("/") linux partition) Link to comment Share on other sites More sharing options...
Tek Posted January 4, 2004 Share Posted January 4, 2004 The first logical drive would be hda5, not hda2. Link to comment Share on other sites More sharing options...
+BudMan MVC Posted January 4, 2004 MVC Share Posted January 4, 2004 You can always use /sbin/fdisk /dev/drive(hda, hdb, sda, sdb, etc..) then use the print command to show you a listing of the partitions on that disk. If your confused to what partition you would like to mount. Link to comment Share on other sites More sharing options...
bsquirle Posted January 4, 2004 Author Share Posted January 4, 2004 Thx Tek, it works. and thanks for the tip BudMan Ow yeah, is it possible to have a swap partition set as logical partition??? Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted January 4, 2004 Veteran Share Posted January 4, 2004 You can always use /sbin/fdisk /dev/drive(hda, hdb, sda, sdb, etc..) then use the print command to show you a listing of the partitions on that disk. Hey, I have never done that before! :woot: Gotta keep records of my partitions (for the "just in case" scenario), and this is great! Thanks! EDIT: As far as "Logical Partitions" go, I think that is a hold-over from your DOS experience. As far as I know, you can add up to the limit of ext partitions without having to do the Primary/Secondary thing... (or else EXT is doing the same thing, and I am just unaware of it) :blush: Link to comment Share on other sites More sharing options...
RoboStac Posted January 4, 2004 Share Posted January 4, 2004 I believe you can have everything except the boot partition as logical - I don't think logical partitions can be made active. Link to comment Share on other sites More sharing options...
bsquirle Posted January 4, 2004 Author Share Posted January 4, 2004 EDIT: As far as "Logical Partitions" go, I think that is a hold-over from your DOS experience. As far as I know, you can add up to the limit of ext partitions without having to do the Primary/Secondary thing... (or else EXT is doing the same thing, and I am just unaware of it) :blush: Thanks for the info RoboStac! markjensen: I think Primary/logical are set automatically. But since you can only have 4 Primary partitions, I always set them manually. (correct me if i'm wrong, because I'm not sure about this) Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted January 4, 2004 Veteran Share Posted January 4, 2004 markjensen:I think Primary/logical are set automatically. But since you can only have 4 Primary partitions, I always set them manually. (correct me if i'm wrong, because I'm not sure about this) Now that you mention this, it sparked a memory synaptic junction deep inside the old, dusty gray matter. I think you are exactly right. It seems that it is the BIOS's way of dealing with the hard drives. My bad. :whistle: EDIT x5: Why won't this let me type "s-y-n-a-p-s-e"? It replaces that word with << spam >>... :wacko: Link to comment Share on other sites More sharing options...
neowin_hipster Posted January 4, 2004 Share Posted January 4, 2004 fdisk -l will display a nice list for you. Link to comment Share on other sites More sharing options...
Recommended Posts