See those images below, it shows errors like wrong fs type, bad option, bad superblock, missing codepage or helper program, or other error….
I just tried to mount it as FAT
mount /dev/sdf /home/ubuntu/sdf -t vfat
amazon ec2hard driveUbuntu
See those images below, it shows errors like wrong fs type, bad option, bad superblock, missing codepage or helper program, or other error….
I just tried to mount it as FAT
mount /dev/sdf /home/ubuntu/sdf -t vfat
Best Answer
You get the error message you are seeing when you specify the wrong fs type to the mount command.
If you created a filesystem on the disk then you should use the same type in the mount command. If you don't know what the fstype is then you can try the
auto
optionand then you can use df -T to find the type
If you didn't create a filesystem, or you don't know what it is then you may be able to identify it using the file command
On the vfat disk above
On the same disk after mkfs to ext4
It seems that fsck will also give information about the filesystem type if it recognises it
If all that fails then chances are you don't have a filesystem on your disk so make one before mounting it with mkfs