Disk management tools diskpart in EFI bios, efifmt and efichk _ transferred from Xin xiaochen

Source: Internet
Author: User

A senior from an EFI manufacturer

As an innovative BIOS architecture, the efi bios naturally has its own uniqueness. Today I will show you several disk management tools developed by Microsoft in the EFI shell environment. when the Windows Server Longhorn supporting EFI and the 64-bit Vista supporting EFI are launched in the future, these tools that support innovative GPT disk partitioning will become very useful.

(1) how to obtain these tools

You can renew your subscription.

(2) What can they do?

The biggest benefit of diskpart is that it supports GPT disk partitioning. I always believe that GPT will be a common disk Partitioning technology in the future.ArticleFocuses on the GPT partition format. now let us know a little bit about it: the EFI version of Windows Server Longhorn can only be installed on the GPT partition. therefore, we need tools to partition our hard disk into GPT. therefore, GPT support in the efi bios is taken for granted. therefore, diskpart was born.

To partition the hard disk, we also need to format it. In fact, the essence of formatting is to organize the given disk space according to a selected file system. therefore, efifmt, that is, the EFI format, appears as a formatting tool under EFI.

We have chkdsk in DOS and disk check tools in windows, and efichk appears naturally in EFI. This tool is also quite useful.

(3) Use

Next I will teach you how to use these tools to make a hard disk into a GPT hard disk. First we boot to the EFI shell, then we will insert the USB flash disk with these tools in advance, and then play it under shell:

Map-R

In this way, the system recognizes the newly added USB device and assigns the disk symbol. If fs1: is identified, we enter fs1: And then execute diskpart. in this way, the diskpart is started.

You can find that diskpart is an interactive command line-based operation. You can call help to see what commands are supported.

List

Command to check the number of available Block devices in the system. We can find the device with the largest BLK count on the hard disk, which is assumed to be blk0 and diskpart number is 0. so let's create

Select 0

Indicates that the device number 0 is selected for operation.

Clean

Restore the disk to the so-called raw state, that is, the status at the factory. diskpart will fill the disk with 0. Then you can create a partition.

New GPT

You can create a GPT disk immediately, and diskpart will generate a guid for the disk. Then we need to create at least one partition on the GPT disk. You can run this command to meet the requirements.

Create name = Part1 sys = efisys or create name = Part1 sys = msdata

Efisys is the start partition. For example, server Longhorn must be installed in this partition, while msdata is a normal partition and can be compatible with the current OS, A system like XP can also see such partitions.

Finally

Exit

To exit diskpart. Now the GPT hard disk has been created.

Execute efifmt to format the partition you just created. It is very simple, just like the operation of MS in DOS is almost the same.

 

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/prostar/archive/2007/01/28/1496129.aspx

Read the full text

Category:View BIOS comments

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.