Mount USB under Linux

Source: Internet
Author: User

1. Do not insert a USB flash drive. Check whether USB-storage exists in/sbin/lsmod. If not:
CD/lib/modules/2.4.20-8/kernel/Drivers/USB
For V in *. O storage/*. O; do/sbin/insmod $ V; done
2. Here/sbin/lsmod should include USB core, USB-OHCI (or USB-uhci, depending on the Motherboard chipset), USB-storage, scsi_mod, etc. The USB-storage status should be
(Unused ).
3. Insert a USB flash drive without stopping/sbin/lsmod. During this period, the USB-storage status should be initializing. The duration is about half a minute. In fact, it is equivalent that Windows keeps popping up the balloon in the lower right corner.
4. After initialization,/sbin/fdisk-l should be able to see the/dev/sda1 device. Then, execute
Mount/dev/sda1/mnt/udisk. If you want to see Chinese characters again in msdos format, you can

Mount-T vfat/dev/sda1/mnt/USB-O iocharset = gb2312.

/Dev/sda1 may not be recognized if there is no train.

Mount/dev/SDA/mnt/USB

Unmount USB

Umount/dev/sda1/mnt/USB or umount
/Dev/sda1

* Ntfs usb flash drives may not be recognized in Linux.

Mount Mount-o loop XXX. ISO/mnt/viso to the ISO file in Linux
In Linux, you can create an ISO file: mkisofs-r-J-V test-o xxx. ISO xxxdir.

Related Article

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.