Linux new hard disk is partitioned with Fdisk

Source: Internet
Author: User

    1. First add a hard disk, here Select the IDE interface, different from the system of the original SATA interface of the hard disk

      650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/8B/18/wKiom1hENEfws7tWAAAvzaSznss039.png "title=" 1.png " alt= "Wkiom1henefws7twaaavzasznss039.png"/>

    2. Start and look at the system using FDISK See Add Success No

      650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8B/14/wKioL1hENOTw3DCjAABfTHeSnck168.png "title=" 2.png " alt= "Wkiol1henotw3dcjaabfthesnck168.png"/> Here can see the system identified, for HDA, and said no partition table

    3. We are going to partition, using the command fdisk,fdisk as an interactive command, we can use the M to view the help, the common operation is marked with a red box

      650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8B/14/wKioL1hENTrjl_mvAAAGgNut9k4757.png "title=" 3.png " alt= "Wkiol1hentrjl_mvaaaggnut9k4757.png"/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/8B/14/wKioL1hENZPhSq6BAABKLwiWClc097.png "title=" 4.png " alt= "Wkiol1henzphsq6baabklwiwclc097.png"/>

4. Create a new primary partition, 2G size

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8B/18/wKiom1hENiajUPYtAABO_nkpdFk998.png "title=" 5.png " alt= "Wkiom1heniajupytaabo_nkpdfk998.png"/>5. Build a primary partition 4G size

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/14/wKioL1hENnrQo1kEAABTVNgX-xo027.png "title=" 6.png " alt= "Wkiol1hennrqo1keaabtvngx-xo027.png"/>

6. The system partition limit can only allocate up to 4 partitions, up to 3 primary partitions, one extended partition, and the extended partition can separate multiple logical partitions, then put all the space to the extended partition

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/18/wKiom1hEN3_hi3xLAABcDzo04TI342.png "title=" 7.png " alt= "Wkiom1hen3_hi3xlaabcdzo04ti342.png"/>

7. Extended partitions are not directly available, we divide the extended partition into 2 logical partitions

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/8B/14/wKioL1hEN9STwE75AAAmERcdaoI658.png "title=" 8.png " alt= "Wkiol1hen9stwe75aaamercdaoi658.png"/>

You can see two logical partitions HD5,HD6 carved up the Hda3

8. Finally don't forget to hit a W save, and then use FDISK-L to see the effect

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8B/14/wKioL1hEOL3xNlQEAAA9mxEuIWY881.png "title=" 9.png " alt= "Wkiol1heol3xnlqeaaa9mxeuiwy881.png"/>

You can see the partition has been divided well, no longer say that this disk does not have a partition table, so it can not be used, the next time to write formatting and mount use!

Linux new hard disk is partitioned with Fdisk

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.