Mount Windows file system in Linux

xiaoxiao2021-03-06  161

Mount Windows file system in Linux

Increase the simple form of a simple form user can specify some commonly used drives in the system's configuration file / etc / fstab to load them with a more concise instruction, and give a C-disc progress of adding a Windows system An example of file: Use the file editing tool VI (you can also use other file editing tools you are familiar with you), we will see that the system has specified the file system for the root directory "/", soft disk drive, disc drive, etc. Types and device file names and loaders (possibly because the Linux version used is different, the specified drive will be sent, but the user can refer to the example below). You can change their preset values ​​or add new drives therein. Move the cursor to the last line with an arrow, add the following line: / dev / hda1 / mnt / Winc vfault DEFAULTS 0 0 If you still want to load other partitions in your hard disk, you can join. Save the file and exit after completing. Don't forget the corresponding creation of directory / MNT / Winc. After that, you can load the C drive of the Windows system with the following instructions: Mount / MNT / WINC startup automatic loading disk drive Users may wish that the system can use the disk drive you usually use (such as Windows partitions in the hard disk or Optical drives are automatically loaded to reduce the trouble of loading manually after each startup. You can use the following methods to automatically load the function: open / etc / fstab with the file editing tool, change the defaults in the line we joined to Auto, such as: / dev / hda1 / mnt / winc vfat auto 0 0 Others want to load the disk drive when starting, can change Defaults to Auto. It should be noted that such changes are required for Linux partitions (including EXT2 and SWAP) on the hard disk. After restarting the system, in the / mnt / winc directory, you can see that the system is loaded with a good Windows system at startup.

You can also add a parameter to display the Chinese name. Here is my / etc / fstab configuration file label = / / ext3 defaults 1 1 none / dev / pts devpts gid = 5, mode = 620 0 0 label = / home / home ext3 defaults 1 2 None / Proc Proc Defaults 0 0 None / dev / shm tmpfs defaults 0 0 Label = / TMP / TMP EXT3 DEFAULTS 1 2 / DEV / HDA11 SWAP SWAP DEFAULTS 0 0 / DEV / CDROM / MNT / CDROM UDF, ISO9660 NOAUTO, OWNER, KUDZU, RO 0 0 / DEV / hda1 / mnt / c vfat codepage = 936, octharset = cp936 0 0 auto, umask = 0 0 0 / dev / hda5 / mnt / d vfat code = 936, IoCharset = cp936 0 0 auto, umask = 0 0 0 / dev / hda6 / mnt / e vfat codepage = 936, octharset = cp936 0 0 auto, umask = 0 0 0 / dev / hda7 / mnt / f vfat code = 936, iocharset = cp936 0 0 auto, umask = 0 0 0

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

New Post(0)