Use USB memory _unix Linux in Linux environments

Source: Internet
Author: User

How do I use a USB port storage device in a Linux environment? This is a large number of computer forums appear more than a problem, with this can be seen in many computer players in front of a problem. This article will provide you with a perfect solution, you can only easily use USB disk in Linux environment, USB hard drive box, but also the digital camera as a USB mass storage. This is a step-by-step example of how to use USB memory in a Linux environment with red Hat Linux 7.2.

1. Open the "Control center" in the x-windows environment, expand the "Information →usb Devices" console tree to see if Linux has correctly identified your USB memory, if you do not see the USB device information, then you should check whether the USB port has been opened in the BIOS, or USB memory is connected with the physical connection of the computer. Figure 1 shows the author's FinePix Digital camera information.




2. In the console state, enter the following command:

Fdisk-l/DEV/SDA

Note: Do not add the wildcard "*" or "?" after the SDA, otherwise the information returned after the command is run is not normal. If you have more than one USB device, the device name is shown under Linux as SDA, SDB, SDC, and so on.

After running the above command, the author of the computer returned as shown in Figure 2 information, indicating that the system has found the author's USB device, the device name is/DEV/SDA1, bootable (the one under the boot is active partition), capacity 8MB, file system for FAT12.




3. Create a directory of mounted USB memory in the/MNT directory:

Mkdir/mnt/usb

4. Then run the load Device command and mount the USB device to the/MNT/USB directory:

Mount-t Msdos/dev/sda1/mnt/usb

Note: If the file system for your USB device is FAT32 in Figure 2, use the mount-t vfat/dev/sda1/mnt/usb command to mount the USB device.

5. Run the following command to view the file information in the USB memory:

Ls/mnt/usb

You can then copy, delete, and manipulate the data in the USB memory as you would a hard disk.

If you are not accustomed to hammering under the console, you can also create a shortcut to the USB memory on the KDE desktop, and use the mouse to complete all file operations, as simple as in Windows, the easy way to make shortcuts is to use your mouse to click in a blank space on your desktop, Choose New/Hard drive from the pop-up shortcut menu, right-click the newly created shortcut, select the Properties menu command, switch to the Devices tab, and enter the device name, installation point, and file system type for the USB memory, as shown in Figure 3. You can easily access the USB memory by simply clicking the shortcut later.



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.