In our installation of Red Hat Linux. Half of the machines are configured for the primary server, with no desktop environment. When copying files from a USB stick, you are puzzled. I found it on the Internet. To access the USB drive, you must first mount them to the/mnt folder in your Linux system. The process of loading a USB flash drive is as follows:
Before mounting the U-disk, execute the command cat/proc/partitions to see which partitions are present in the system. After inserting the U-disk, execute the above command again to see what partition is out (generally sda1. Because I was installed under the virtual machine, so it is SDB1).
1) Insert USB stick
2) Enter Fdisk-l/DEV/SDA to view the output, for example I am this:
disk/dev/sda:131 MB, 131104768 bytes
3 heads, Sectors/track, 2667 cylinders
Units = Cylinders of * 49152 bytes
Device Boot Start End Blocks Id System
/DEV/SDB1 * 1 2668 128016 6 FAT16
3) Look at the above output to know the device that the U disk is located. For example, mine is/DEV/SDB1. Then it is mounted, if I mount the USB drive to the/mnt/usb folder (no, new). It is
Mount-t Msdos/dev/sdb1/mnt/usb. Pay attention to the storage format of the USB flash drive when loading.
Let's say FAT16 uses the following command
Assuming it's FAT32, the USB drive we're using now is in this format by default.
If it is ext2 format, use the command:
4) Open/mnt/usb to see what's on your USB flash drive!
5) The Unload command is: UMOUNT/MNT/USB.
It is important to note that. When you run this command, the LEDs on your USB flash drive may still be on, and this is not an uninstallation failure. Linux's management of the USB stick is a kernel-module. Only the kernel module of the USB device is not removed, the indicator light should be lit after the uninstall.
When installing the desktop environment for the system, the same problem encountered the need to mount resources.
The installation file for the desktop is in the system installation image, assuming you want to install the desktop file. To mount the image file first, the mount process is as follows:
A. Build a folder, such as: mkdir/mnt/a
b. Attach the ISO file to the folder: Mount-o loop Xxxx.iso A
Now the contents of the folder/mnt/a are the contents of the ISO file.
When the installation command is executed. The system is on its own initiative to the file down the search.
The mounting resources are clear, and red Hat is much easier to use.
Red Hat Linux Mounts External resources