Making a FAT32 FS
I was wondering how I can make a FAT32 filesystem under slackware for my external hdd. Using fdisk, I changed the partition to "win95 fat32." There's also a "win95 fat32 (lba);" what are the differences between these two? My ext hdd was labeled ntfs prior to the change. When I go to make the fat32 fs, it doesn't work.
The command I use is "mkfs -t fat32 /dev/sda." But the output I get is "mkfs.fat32: No such file or directory." |
the LBA thing is for extended partitions (so you
can have win read logical drives in an extended partition). The tool to use for formatting it is mkdosfs man mkdosfs for details It appears that your external HDD is not being picked up as sda. Have a look at /proc/scsi/scsi. You also don't want to format the raw-device but a partition in it /dev/sd<a-z><1-9> Cheers, Tink |
Thanks, it's working now.
|
Okay, maybe not all is working fine. It won't let me mount saying that "mount: fs type fat32 not supported by kernel." I made sure to check off support for msdos fs and vfat in my .config, but it still doesn't want to mount.
|
I tried changing my fstab... It doesn't seem to work... When I type in mount /dev/sda1, it gives me the error
Code:
mount point /st3 does not exist Code:
/dev/sda1 /st3 vfat defaults 1 0 |
Quote:
|
Yeah, they're built as modules; how do I check if they were loaded? Anyways, I think under fstab, it should be considered "fat32" in the first place, but "vfat" instead. So I changed it to vfat. Ok, one problem after another... I did mkdir /st3, then mount /dev/sda1, but get!!!
Code:
mount: special device /dev/sda1 does not exist Code:
mount point /st3 does not exist |
Ok, so I figured out that my sda1 partition somehow just dissappeared, AGAIN. So I had to remake it blah blah blah... Then I had to mkdosfs -F 32 /dev/sda1... But now, of course, I get a different problem...
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sda1, |
Nice, I got it to work using ext2 fs; now it's time to try to get it working with fat32.
|
Wow, still no luck with the fat32.... Can someone tell me where I went wrong? Does this code below look good or is it off?
Code:
root@gHost:/home/jgo# mkdosfs -v -F 32 /dev/sda1 |
That worked fine! :)
Oh yeah: modprobe vfat is what you're looking for. ;) |
Ok, I typed in modprobe vfat, and got fatal error. This was when vfat was not built as module, so I built it as a module, and now it doesn't give me anything. I just type in modprobe vfat, and it doesn't appear to do anything. What does modprobe do? Anyways, I checked on my Windows XP, and it doesn't detect the FAT32 either, so something has to be wrong. I still get the error
Code:
mount: wrong fs type, bad option, bad superblock on /dev/sda1, |
Quote:
and only give you feed-back if something fails. Quote:
happy with that :) Quote:
you make a fstab entry that differs from what you're typing on the command-line? What's the output of mount cat /etc/fstab lsmod Cheers, Tink |
Well...if you have Windoze XP, just format the drive with that. It'll let you select FAT32.
|
Oops, my windows xp does detect the fat32, but only with firewire connection, not usb (strange)...
Okay so out put for mount: Code:
/dev/hda7 on / type ext2 (rw) Code:
/dev/hda6 swap swap defaults 0 0 Code:
Module Size Used by |
All times are GMT -5. The time now is 07:30 PM. |