LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   IDE HD Won't Mount (https://www.linuxquestions.org/questions/linux-hardware-18/ide-hd-wont-mount-380325/)

reyzero87 11-05-2005 07:53 PM

IDE HD Won't Mount
 
I have a box with Slackware 9.1 and I just installed a 20gb hard drive on secondary slave. It shows up in cfdisk and fdisk but it won't let me mount it. Here is the dmesg:

Code:

VFS: Can't find a valid FAT filesystem on dev 16:41.
FAT: bogus logical sector size 63222
VFS: Can't find a valid FAT filesystem on dev 16:41.
FAT: bogus logical sector size 63222
VFS: Can't find a valid FAT filesystem on dev 16:41.
FAT: bogus logical sector size 63222
VFS: Can't find a valid FAT filesystem on dev 16:41.
 hdd: hdd1
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 16:41.

The filesystem SHOULD be there. Here is the output from "fdisk /dev/hdd -l":

Code:

Disk /dev/hdd: 20.5 GB, 20576747520 bytes
16 heads, 63 sectors/track, 39870 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/hdd1            1    39870  20094448+  b  Win95 FAT32

I'd like to use FAT32 since I may be using this hard drive on a windows machine in the future.

Don't know what is going on. I'd really appreciate some help!

Thanks,

Rey

perfect_circle 11-05-2005 08:06 PM

Quote:

The filesystem SHOULD be there. Here is the output from "fdisk /dev/hdd -l":
This is not true. The fdisk command tells you that you have a partition and that the partition type is FAT 32.
The partition may or may not have a filesystem yet.
If the hd is never used, you need to create a filesystem (something like what the DOS format command does),
with mkfs command

reyzero87 11-05-2005 08:09 PM

I tried doing mkfs earlier but it formatted it as a linux filesystem. I tried it with vfat but it didn't work. What would be the command to format it for FAT32?

Electro 11-05-2005 10:37 PM

You have to do 'mkfs.vfat -F 32 /dev/hdd1'. Some systems its mkdosfs instead of mkfs.vfat.

reyzero87 11-05-2005 10:42 PM

I tried mkfs and it didn't work, so then I tried mkdosfs and it worked great! Thanks!


All times are GMT -5. The time now is 01:44 AM.