Article Title: how to mount Windows partitions and USB flash disks in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
For example, the Windows and Linux operating systems are the same as the machines. Generally, Linux does not support the partition format of Windows. While Windows systems are the most commonly used by our individual users. In learning, we have to exchange files between two systems. Fortunately, the mount command is provided in Linux to mount partitions in Windows. Therefore, we can use this command to mount Windows partitions in Linux to achieve file exchange between two systems. (Note: The current Linux system does not seem to support the NTFS partition format very well, so it is best to use the FAT32 partition format. In this example, the FAT32 format is used as an example)
1. log on to Linux as a root user.
2. Enter the mnt directory and create a new folder (used to mount the Windows partition to be mounted below). For example, run the command "mkdir/mnt/windisk" to create a folder named windisk.
3. Run the mount command mount-t vfat/dev/hda5/mnt/windisk.
* Note: The "hda5" in the command indicates the partition number on your hard disk. Generally, the first disk Number of the primary partition is 1, the number of the second disk is 2. That is to say, the c disk can be expressed as hda1. If your primary partition has more than one c disk, the other partitions are pushed accordingly. The number of the first disk in the logical partition is 5, that is, the D disk can be represented as hda5, the E disk can be represented as had6, and the rest can be pushed accordingly.
4. If there is no execution error prompt, you should be able to access the partitions in your Windows system in your Linux. Run the command cd/mnt/windisk and press Enter. Then run the command ls to press Enter. Check whether the files in Windows have been listed.
Mount the USB flash drive in the same way as the preceding steps. The only difference is to change the hda5 in step 3 to sda1. The reason is that Linux treats all external disk devices as scics devices.