How to mount exFAT format mobile hard disk in Linux

  1. To mount an exFAT hard disk in Linux, you need to follow the steps below:

    Make sure exFAT drivers and tools are installed on your Linux system. On most distributions, you can use the following command to install:

sudo apt-get install exfat-utils exfat-fuse

  or

sudo yum install exfat-utils fuse-exfat

  If you don't have exFAT drivers and tools in your system, you need to install them first.

  1. Insert the hard disk in exFAT format into the Linux system. Make sure the drive is connected and detected by the system.

  2. Create a directory on your Linux system as a mount point. For example, you can create a directory named "exfat" under the "/mnt" directory with the following command:

sudo mkdir /mnt/exfat
  1. Use the following command to mount the exFAT-formatted hard disk to the directory just created:
sudo mount -t exfat /dev/sdb1 /mnt/exfat

  In this command, "/dev/sdb1" should be replaced with your hard disk device and partition number. You can use the following command to find hard disk devices and partition numbers:

sudo fdisk -l

  If your hard disk has multiple partitions, you can point the mount point to different partitions as needed.

  1. Confirm that the hard disk has been successfully mounted to the specified directory. You can check with the following command:
mount | grep exfat

If the command returns hard disk information, it means the mount is successful.

  1. To unmount an exFAT hard drive, you can use the following command:
sudo umount /mnt/exfat

  or

sudo umount /dev/sdb1

  If the mount point is occupied by another process, you can use the following command to force the unmount:

sudo umount -f /mnt/exfat

Guess you like

Origin blog.csdn.net/weixin_44904205/article/details/129105504