Raspberry Pi mount NTFS USB flash drive

Source: Internet
Author: User

Step One: Unzip the installation ntfs-3g, using the following command.
  
sudo apt-get install ntfs-3g

Step Two: Configure the mounted NTFS-formatted removable hard disk

1. First get the NTFS partition information
sudo fdisk-l | grep NTFS

[[email protected] klb]# sudo fdisk-l | grep NTFS
/DEV/SDC1 * 1 244 1955776+ 7 Hpfs/ntfs
  
2. Set the mount point to mount with the following command:

To create the Mount directory first, for example, I mount the/MNT/USBHD1, then:

Cd/mnt

sudo mkdir usbhd1

The Mount command is as follows:
Mount-t ntfs-3g <ntfs partition> <mount point>
  
For example, the resulting NTFS partition information is/DEV/SDC1, and the mount point is set under/MNT//USBHD1, which can be used
Mount-t NTFS-3G/DEV/SDC1/MNT/USBHD1
or directly with
NTFS-3G NTFS-3G/DEV/SDC1/MNT/USBHD1

3. If you want to automatically mount the boot, you can add the following format statement in the/etc/fstab
<ntfs partition> <mount point> ntfs-3g Silent,umask=0,locale=zh_cn.utf8 0 0
This enables the display of Chinese file names in NTFS partitions.
  
4. The Unload partition can be implemented with Umount, with
Umount <ntfs partition> or Umount <mount point>

Raspberry Pi mount NTFS USB flash drive

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.