Oiler Works
  • Home
    • My resume
    • Free premium
    • Privacy Policy
  • Portfolio
  • Blogs
    • Computing
    • Science & MBA
    • Gaveta de remédios
    • Canadá
    • Presentes

Windows GPT partition

22/4/2016

0 Comments

 
Source Windows
Source Intel Rapid Start
WARNING: This will destroy all your data.

HINTS:
  • You can run DISKPART commands using only the first three letters
  • You can save DISKPART commands as a script and run them using DISKPART /S SCRIPT.TXT
  • You can list windows mounted drives using WMIC LOGICALDRIVES GET CAPTION,FILESYSTEM


:: == CreatePartitions-UEFI.txt ==
:: == These commands are used with DiskPart to
::    create five partitions
::    for a UEFI/GPT-based PC.
::    Adjust the partition sizes to fill the drive
::    as necessary. ==
select disk 0
clean
convert gpt
:: == 1. Windows RE tools partition ===============
create partition primary size=300
format quick fs=ntfs label="Windows RE tools"
assign letter="T"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
:: == 2. System partition =========================
create partition efi size=100
rem    ** NOTE: For Advanced Format 4Kn drives,
rem               change this value to size = 260 ** 
format quick fs=fat32 label="System"
assign letter="S"
:: == 3. Microsoft Reserved (MSR) partition =======
create partition msr size=128
:: == 4. Windows partition ========================
:: ==    a. Create the Windows partition ==========
create partition primary 
:: ==    b. Create space for the recovery image ===
shrink minimum=15000
::       ** NOTE: Update this size to match the size
::                of the recovery image           **
:: ==    c. Prepare the Windows partition ========== 
format quick fs=ntfs label="Windows"
assign letter="W"
:: === 5. Recovery image partition =================
:: ==    a. Create the Recovery partition ==========
create partition primary 
:: ==    b. Create space for the Intel Rapid Start =
shrink minimum=8192
::       ** NOTE: Update this size to match the exact
::                side of the RAM memory           **
:: ==    c. Prepare the Windows partition ========== 
format quick fs=ntfs label="Recovery image"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000000
:: === 6. Intel Rapid Start Hibernation=============
create partition primary
set id="D3BFE2DE-3DAF-11DF-BA40-E3A556D89593"
gpt attributes=0x8000000000000001
list volume
exit


Fonte.
[WinRE] [EFI] [MSR] [Windows] [Recovery] [Data]

WinRE: Windows Recovery Enviroment. 300MB+50MB ntfs id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
EFI: System partition. 100MB Fat32
MSR: Microsoft Reserved Partition. 128MB
Windows: Operation System. >16GB for 32b. >20GB for 64b. +10GB
Recovery: Recovery image. ntfs id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
Data: What is left. ntfs

rem == PartitionsUEFI.txt ==
rem    These commands are used with DiskPart to
rem    create five partitions
rem    for a UEFI/GPT-based PC.

select disk 0
clean
convert gpt

rem == 1. Windows RE tools partition ===============
create partition primary size=350
format quick fs=ntfs label="Windows RE tools"
assign letter="T"

set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001

rem == 2. System partition =========================
create partition efi size=100
format quick fs=fat32 label="System"
assign letter="S"

rem == 3. Microsoft Reserved (MSR) partition =======
create partition msr size=128

rem == 4. Windows partition ========================
create partition primary size=100000
format quick fs=ntfs label="Windows"
assign letter="W"

rem === 5. Recovery image partition ================
create partition primary size=15000
format quick fs=ntfs label="Recovery image"
assign letter="R"

set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001

rem == 6. Data partition ========================
create partition primary
format quick fs=ntfs label="Windows"
assign letter="K"

list volume
exit

0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Arquivos

    November 2021
    August 2021
    August 2020
    August 2019
    November 2018
    October 2018
    August 2017
    March 2017
    April 2016
    March 2016
    November 2013
    March 2013
    February 2013
    November 2012
    October 2012

    Categorias

    All
    Linux
    Openwrt
    Windows 8

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • Home
    • My resume
    • Free premium
    • Privacy Policy
  • Portfolio
  • Blogs
    • Computing
    • Science & MBA
    • Gaveta de remédios
    • Canadá
    • Presentes