Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
56
rated 0 times [  56] [ 0]  / answers: 1 / hits: 577635  / 1 Year ago, fri, january 6, 2023, 11:33:15

I want to mount a partition to an auxiliary folder via mount to fix a damaged grub.



I used the command.



sudo mount /dev/sdb2 /home/ubuntu/temp


and got as error:



mount: you must specify the filesystem type


Why?


More From » mount

 Answers
7

You need to add the -t FILESYSTEMTYPE argument to the command, replacing FILESYSTEMTYPE with your filesystem type. This specifies the filesystem type of the filesystem to be mounted. In your case, this would be /dev/sdb2. Some common, valid filesystem types are:




  • auto - this is a special one. It will try to guess the fs type when you use this.

  • ext4 - this is probably the most common Linux fs type of the last few years

  • ext3 - this is the most common Linux fs type from a couple years back

  • ntfs - this is the most common Windows fs type or larger external hard drives

  • vfat - this is the most common fs type used for smaller external hard drives

  • exfat - is also a file system option commonly found on USB flash drives and other external drives


[#38028] Saturday, January 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rvousnove

Total Points: 456
Total Questions: 130
Total Answers: 98

Location: El Salvador
Member since Sun, Sep 12, 2021
3 Years ago
;