Use Gdisk to divide the Win7 into 3 partitions

Source: Internet
Author: User

The 1,gdisk consists of three parts, namely the main menu, the Recovery menu, and the Expert menu.
The commands under different menus are not necessarily the same, so look carefully before you operate on that menu.
The main menu can be reached directly by pressing m in three menus, and R can be directly to the recovery menu and X to the expert menu.
2, each open terminal need to enter sudo-s to get permission, enter Gdisk command for Gdisk/dev/disk0
Where Disk0 is a Mac disk, other external device partitions are disk1,disk2 and the like.
Each time you re-open the terminal below, enter the above command, and then no more wordy.
3,sudo-s
Gdisk/dev/disk0
The first step, the R command goes to the recovery menu
The second step, the O command inside can show the MBR
The o command after Gdisk/dev/disk0 is a new GUID partition table.
So first the R command, then the O command is the display MBR partition table.
4, use the disk tool inside Mac OS X to divide several 3 partitions together.
One partition is Bootcamp, and the remaining two are the fat-formatted partitions.
Plus the EE protection partition, exactly 4 partitions, up to 4 partitions.
This is mainly the 3 partitions to be joined together.
While the MAC's AF partition and the AB partition are both recovery HD is both the recovery partition to be connected together.

5, rebuilding MBR
The first step, X enters the expert menu, an expert command
The second step, N rebuilds an MBR, the original is covered out.
The third step, W writes a new MBR, answers y after completion.
6. Edit the MBR partition table.
The first step, the R command goes to the recovery menu
Step two, H command to create the MBR partition table
The third step is to write the partition number to the MBR, such as 2 3 4 to write the partition number 2, 3 and 4 to the MBR
Of course, Win7 can recognize it.
Then answer whether to join the startup logo.
The fourth step, W writes the partition table. Then y confirms again.

7, Example:
Current GPT partition table:
# Start LBA End LBA Type
1 409639 EFI System (FAT)
2 411648 625620991 Basic Data
3 625620992 781606911 Basic Data
4 781869056 975503591 Mac OS X hfs+
5 975503592 976773127 Mac OS X Boot

Current MBR partition table:
# A Start LBA End LBA Type
1 1 409639 EE EFI Protective
2 411648 625620991 0c FAT32 (LBA)
3 * 625620992 781606911 NTFS/HPFS
4 781869056 975503591 af Mac OS X hfs+

This is a good example.
The first 2 are the partitions under Windows, and the last 2 are the partitions of the Mac.
You can erase the second partition with Disk utility directly under Mac and then create a new 2 data partition, a data1, a data2.
The MBR partition table then automatically squeezes out the 4th partition, mbr!

Use Gdisk to divide the Win7 into 3 partitions

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.