Detailed Linux operating system using Windows partition

  

We are all using computers, but we know how the computer works? The essential part of the computer is the operating system. Today I talk about using Windows partitions in the Linux operating system. I hope you remember to use Windows partitions in the Linux operating system. The Linux operating system supports a wide variety of file systems, including fat32 and ntfs for Windows.

Support for fat32 is very good, can be used directly, and support for ntfs is not very good, can only read, and writing is extremely dangerous, and support for ntfs is not the default, that is Say you want to use ntfs, you need to recompile the kernel. //This article transferred from www.45it.com computer software and hardware application network

In view of the complexity of reprogramming the kernel for beginners, here only explain the use of fat32 partitioning methods to give two solutions to the above problems: 1 In the installation system (Linux operating system), when you select the mount point to the partition, you can create several mount points, such as /mnt/c, /mnt/d, etc., then select your Windows fat32 partition and put them Mount them separately to the mount point created earlier. (Note, as mentioned earlier, here you can't mount an ntfs partition to a mount point, it should be ntfs not supported by default.) This way you can use your Windows fat32 partition directly after installing the system.

For example, if you mount the Windows c drive (/dev/hda1 in the Linux operating system) to /mnt/c, then you can find your c drive in the /mnt/c directory. All the data. 2. If you did not mount your fat32 partition as described in scenario 1 when you installed the system, it does not matter, it is still very convenient to solve this problem. First, open /etc/fstab with a text editor (such as vi) and add a few lines like the following at the end of the file

/dev/hda1 /mnt/c vfat default 0 0

The modification you have to make is to change /dev/hda1 to the device number of the fat32 partition you want to mount in the Linux operating system, and change /mnt/c to the corresponding mount point. Note that the mount point is a directory that must be created beforehand. As an example, I have three fat32 partitions, which are c, d, and e disks in Windows. The device numbers in the Linux operating system are /dev/hda1, /dev/hda5, /dev/hda6. Then I have to create 3 mount points first, such as /mnt/c, /mnt/d, /mnt/e, and then add these lines to /etc/fstab:

/dev/Hda1 /mnt/c vfat default 0 0

/dev/hda5 /mnt/d vfat default 0 0

/dev/hda6 /mnt/e vfat default 0 0

Save to exit the editor. In this way, after you restart the machine, you can directly use the c, d, e three fat32 format Windows partition, so you have completed the use of Windows partition in the Linux operating system.

Copyright © Windows knowledge All Rights Reserved