In linux, It is hda1 to attach a windows partition drive C and hda5 to drive D.

Source: Internet
Author: User
In linux, mounting a windows partition drive C is hda1, while disk D is hda5. For details, refer to Linux general technology-Linux technology and application information. Author: tianwaioda

Principle:

In the linux partition representation, the hard disk is hd, the first hard disk is hda, and the second is hdb. A hard disk can be divided into up to four primary partitions, namely, the dos primary partition, the dos extended partition, the linux Root partition and the linux swap partition both belong to the primary partition, and the four primary partitions are represented by numbers respectively, for the first hard disk, hda1, hda2, hda3, and hda4. the extended partitions can also be divided into logical partitions, with labels arranged in sequence from 5. in windows, drive C is the primary dos partition, which is hda1. Drive D is generally the first logical partition on the extended dos partition, which is hda5, drive e is hda6, and f is hda7. in linux, you can use the mount command to mount windows partitions to a folder (this folder is called a mount point), and then you can access windows partitions through this folder.

Mount-t vfat/dev/hda1/mnt/winc-o codepage = 936 iocharset = 936

By the way, you can use the following command to mount a CD, an iso image, and a USB flash disk:

Attach a CD and an iso Image

Mount-t iso 9660-o loop name. iso mount point

Mount a USB flash drive

Mount-t vfat/dev/sda1/mnt/usb
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.