Article Title: Steps for mounting a USB flash drive 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.
Look at the disk first recognized by the system:
If not recognized, load the module
Then mount:
# Mount-t vfat/dev/sdax/mnt/flash_memory
Look at the disk first recognized by the system:
Check the system partition status, mainly to see whether the USB disk is recognized by the system. Generally, it is considered as a sda * (scsi disk)
# Cat/proc/partitions
If not recognized, load the module
Enter the Module Directory. The module is a component for the kernel and needs to be loaded because it consumes resources.
# Cd/lib/modules/2.4.x-x/kernel/drivers
# Insmod./scsi/scsi_mod.o
# Insmod./scsi/sd_mod.o -- this is generally a USB hard drive (USB drive ).
# Insmod./scsi/ide_scsi.o
# Insmod./usb/usbcore. o
# Insmod./usb/usb_uhci.o
# Insmod./usb/usb_ohci.o
Let's look at the disks recognized by the system:
# Cat/proc/partitions
Then mount:
# Mount-t vfat/dev/sdax/mnt/flash_memory
Unmount usb after use
# Umount/mnt/flash_memory
Uninstall the module to release the resources of the kernel.
# Rmmod./scsi/sd_mod.o