LINUX Mount USB CD share file

Source: Internet
Author: User

LINUX Mount USB CD share file

Fdisk-l Viewing disks
Parted-l Viewing disks
Mount device file name mount point
Mount/dev/cdrom/mnt/cdrom Mounting Discs
Umount/dev/cdrom Uninstalling Discs
MOUNT/DEV/SDB1/MNT/USB Mount USB
UMOUNT/DEV/SDB1 Uninstalling USB
Mount-t cifs-o username= user name, password= password//192.168.0.102/share/mnt/share # mount Windows shared folder
Umount/mnt/share # Uninstalling Windows share
Set up boot mount Windows shared files

Edit the/etc/fstab file to increase the Mount command:

ip/shared directory Name/mount location CIFS USERNAME=USER,PASSWORD=123456,VERS=2.0,RW 0 0 Mount Windows share
/dev/hdb1/home/new ext4 default 0 0 Mount HDD

Linux mount Windows shared folder error # (add vers=2.0 parameters, use CIFS new version)
Mount Error (*): Host is down Refer to the Mount.cifs (8) manual page (e.g. Mans mount.cifs)

Mount-t cifs-o username= user name, password= password, vers=2.0//192.168.0.102/share/mnt/share # mount Windows shared folder

Linux mount USB flash drive, error mount:unknown filesystem type ' NTFS ' errors
Workaround: Solve the problem by installing NTFS-3G, the following steps:

Download the NTFS-3G installation package and download it directly to the Linux system via the wget command:

wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz
Go to directory execution:
./configure
Make
Make install

Execute./configure Error
Checking for gcc ... no
Checking for cc ... No
Checking for cl.exe ... no

Install Yum install-y gcc-c++

Mount–t Ntfs-3g/dev/sdb1/mnt/usb

LINUX Mount USB CD share file

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.