LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting Problem (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-problem-4175446618/)

sudo_su 01-21-2013 12:08 PM

Mounting Problem
 
Dear Experts,

I used to mount the same scenario before but today it resulted in the below mentioned error,


Quote:

[root@server ~]# fdisk -l | grep sdb
Disk /dev/sdb: 80.0 GB, 80026361344 bytes
/dev/sdb1 * 1 13 102400 83 Linux
/dev/sdb2 13 3200 25600000 83 Linux
/dev/sdb3 3200 3455 2048000 82 Linux swap / Solaris
/dev/sdb4 3455 9729 50396768+ 5 Extended
/dev/sdb5 3456 4109 5253094 b W95 FAT32
/dev/sdb6 4110 9729 45142619 83 Linux
[root@server ~]# mount /dev/sdb5 /mnt/usb
mount: you must specify the filesystem type
Please assist,

Regards.

yancek 01-21-2013 12:31 PM

The command below should work for a FAT32 partition:

mount --t vfat /dev/sdb5 /mnt/usb

goumba 01-21-2013 02:23 PM

Yeah but as he stated, a simple mount would usually work.

I hate to think of such, but the only time I can't get it to work simply like that is if there was a problem with the FS.

BTW it's only one hyphen with t (I tried out of curiosity with '--t' and got an error that --t is ambiguous.).

yancek 01-21-2013 03:30 PM

Quote:

BTW it's only one hyphen with t
Pays to proofread before submitting. Thanks for pointing that out.
I expect there is some other problem if it worked before and now doesn't?


All times are GMT -5. The time now is 01:11 PM.