Tip one:
Linux is not like Windows, after the new hardware can be automatically recognized, in Linux cannot automatically identify new hardware, need to manually identify. USB Mobile storage devices are usually identified as SDA1, which can be queried by fdisk-l command.
Before using a U disk, we have to create a new subdirectory for the plug-in point, the general point of the subdirectory is built in the/mnt inside, we also built there, of course, can also be built in the/directory, the name can be set, we will be named USB, terminal commands as follows:
Mkdir/mnt/usb
Then we can connect to my USB drive, and then enter the command at the terminal and hit the ENTER key:
Mount/dev/sda1/mnt/usb
Under Windows when we run out of u disk, before we remove the U disk we want to delete, also in Linux we also want to delete the starting point, the method is:
Umount/dev/sda1/mnt/usb or UMOUNT/DEV/SDA1
If you do not umount off the U disk, it would easily result in loss of data.
Tip Two:
USB support is the key to drive, without the drive device mount execution is certainly not. The common way I use U disk in Red Hat is as follows.
1. Do not insert U disk,/sbin/lsmod see whether there are usb-storage. 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 again/sbin/lsmod, should have Usbcore, USB-OHCI (or USB-UHCI, according to the motherboard chipset and different), Usb-storage, Scsi_mod and so on. Where the usb-storage state should be
(unused).
3. Insert U disk, Non-stop/sbin/lsmod, this period usb-storage state should be initializing, lasted about half a minute, in fact, the equivalent of windows in the lower right corner of the balloon balloons:)
4. After initialization,/SBIN/FDISK-L should be able to see the/DEV/SDA1 device. At this time, the execution of Mount/dev/sda1/mnt/udisk to succeed. If it is msdos format, and want to see Chinese, you can
Mount-t Vfat/dev/sda1/mnt/udisk-o iocharset=gb2312.
(For the convenience can/etc/fstab add a line, later can mount/mnt/udisk on the line).
5. Strange is sometimes fdisk is not see SDA1, but can also mount on the use of the above steps to hang a U disk basically can be said to be "foolproof." Desktops, notebooks, VMware are the same.
Mkdir/mnt/usb
Mount/dev/sda1/mnt/usb
Install Linux usage on notebooks like desktop
Ps:
First check the Lsmod|grep usb-storage This is a USB-enabled module. If not, it is the device that cannot operate the USB interface.
If not, can hand work modprobe usb-storage, general view USB disk can use Fdisk-l can be very clear to see this hardware device name, than guess hardware name to be more accurate.
Linux is not like windows, so the operation of U disk in Linux is also different from the Windows operating system, the user is proficient in the introduction of the U disk under Linux must know the operation skills, the user correct use of U disk will have a great help.
Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join