Linux hangs in other format partitions

xiaoxiao2021-03-06  93

First, manually mount

First create a folder in / mnt directory, such as: Win_D

Run Terminal: In the panel menu. . After finding a look at MS-DOS, enter the following commands at the terminal.

Mount -t vfat / dev / hda5 / mnt / win_d -o defaults, codepage = 936, octharset = cp936, rw

This way, you can access the D disk (Windows file system) in the directory you just established.

Command format: Mount [- System Type] [Hardware Device] [Mount Point] [- Set Parameters]

MOUNT is Mount Command -T FAT32 format of VFAT Windows 98 usually used NTFS Windows NT, 2000 file system EXT2 / 3 Linux private file system - O Common parameter defaults This parameter contains some default settings CodePage = XXX code page such as: 936 IoCharset = xxx character set, such as: CP936 is Simplified Chinese CP950 is Traditional Chinese.

Because the WINDOWS file system is mounted, Linux cannot display Chinese, so add this parameter. RO mounts the RW read and write mode in a read-only mode

Second, the automatic mount first in the / mnt directory is created, such as:

Win_D is written to the following characters in / etc / fstab (this file is read when the system is started)

/ dev / hda5 / mnt / win_d vfat defaults, codepage = 936, ocharset = cp936, rw 0 0

Third, mount -t smbfs -o usrname =, password = //192.168.0.x/doc / mnt / net

LAN information, such as mount mount -o loop / mnt/win_c/ps.iso / mnt / cdrom ISO mirror, like

Fourth, give you a specific example, the Linux Commune Nettoobad used / mnt / Exchange is FAT32 partition / MNT / Play, / mnt / study is the NTFS partition below is my FSTAB file, mainly

========================================

Label = / / ext3 defaults 1 1 label = / boot / boot ext3 defaults 1 2 None / dev / pts devpts gid = 5, Mode = 620 0 0 None / Proc Proc Defaults 0 0 None / dev / shm TMPFS DEFAULTS 0 0 0 / DEV / HDA2 SWAP SWAP DEFAULTS 0 0 / DEV / CDROM / MNT / CDROM UDF, ISO9660 NOAUTO, OWNER, KUDZU, RO 0 0 / DEV / FD0 / MNT / FLOPPY Auto Noauto, Owner, Kudzu 0 0 / DEV / HDB7 / MNT / Exchange vfat defaults, codepage = 936, ocharset = cp936 0 0 / dev / hdb8 / mnt / play ntfs iocharset = cp936 0 0 / dev / hdb9 / mnt / study ntfs ocharset = cp936 0 0 This sentence is suspiciously displayed. .

转载请注明原文地址:https://www.9cbs.com/read-105008.html

New Post(0)