clean
rem == CreatePartitions-UEFI.txt ==rem == These commands are used with DiskPart torem create four partitionsrem for a UEFI/GPT-based PC.rem Adjust the partition sizes to fill the driverem as necessary. rem select disk 0rem clean ==convert gptrem == 1. System partition =========================create partition efi size=100rem ** NOTE: For Advanced Format 4Kn drives,rem change this value to size = 260 ** format quick fs=fat32 label="System"assign letter="S"rem == 2. Microsoft Reserved (MSR) partition =======create partition msr size=16rem == 3. Windows partition ========================rem == a. Create the Windows partition ==========create partition primary rem == b. Create space for the recovery tools ===shrink minimum=500rem ** NOTE: Update this size to match therem size of the recovery tools rem (winre.wim) plus free space **rem == c. Prepare the Windows partition ========= format quick fs=ntfs label="Windows"assign letter="W"rem === 4. Recovery tools partition ================create partition primaryformat quick fs=ntfs label="Recovery tools"assign letter="R"set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"gpt attributes=0x8000000000000001list volumelist parexit
Комментариев нет:
Отправить комментарий