LogoLogo
OSDeploy.comTwitterGitHubPowerShell Gallery
  • OSD PowerShell Module
  • Functions
  • Docs
    • OSDCloud
    • OSDPad
    • OSDHelp
      • Autopilot
    • Guides
      • UEFI System Firmware Update
      • In Your Code
      • New-OSDBoot.usb
      • Partitions
        • New-OSDDisk (Information)
        • New-OSDDiskWinPE (GPT)
        • New-OSDDiskWinPE (2 Disks)
        • AutoUnattend.xml
    • OSDWindowsImage
    • Windows Setup Environment
      • Execution Policy
      • WinSE Settings
      • Import Modules
      • Automation
    • Release Notes
    • Trash
      • Adk
        • Edit-ADKwinpe.wim
        • Get-ADKpaths
        • New-ADK.iso
        • New-ADKcopype
      • Appx
      • Block
      • CloudDriver
      • Dell
        • Get-DellCatalogPC
        • Get-MyDellBIOS
        • Update-MyDellBios
      • Disk
        • Backup-Disk.ffu
        • Clear-LocalDisk
        • Clear-USBDisk
        • Get-LocalDisk
        • Get-OSDDisk
        • Get-USBDisk
        • New-OSDisk
          • Old Version
            • Sandbox
            • Partition Layout
            • Partition Sizes
            • Volume Labels
            • AutoUnattend.xml
        • Get-USBVolume
      • Dism
        • Get-MyWindowsCapability
        • Get-MyWindowsPackage
        • Set-WimExecutionPolicy
        • Set-WindowsImageExecutionPolicy
      • Display
        • Get-VidConRes
      • Driver
        • Get-OSDDriverWmiQ
        • Get-OSDDriver
      • General
        • Get-OSD
        • Get-OSDClass
        • Get-OSDGather
        • Get-OSDPower
        • Get-RegCurrentVersion
        • Get-SessionsXml
        • Save-OSDDownload
      • MyBitLocker
        • Get-MyBitLockerKeyProtectors
        • Backup-MyBitLocker
        • Save-MyBitLockerExternalKey
        • Save-MyBitLockerKeyPackage
        • Save-MyBitLockerRecoveryPassword
        • Unlock-MyBitLockerExternalKey
      • OOBE
      • PSModule
        • Copy-PSModuleToFolder
        • Copy-PSModuleToWim
        • Copy-PSModuleToWindowsImage
      • WebConnection
      • WebPSScript
      • WinPEWim
      • WinPE
        • Enable-PEWimPSGallery
        • Get-OSDWinPE
Powered by GitBook
On this page
  • SizeSystemMbr
  • SizeSystemGpt
  • SizeMSR
  • SizeRecovery

Was this helpful?

  1. Docs
  2. Trash
  3. Disk
  4. New-OSDisk
  5. Old Version

Partition Sizes

19.10.11 David Segura

PreviousPartition LayoutNextVolume Labels

Last updated 5 years ago

Was this helpful?

I don't recommend changing the Partition sizes from the defaults, as I consider them 'Perfect'. The only real difference between MBR and GPT is the MSR Partition for UEFI GPT layout

SYSTEM - 260MB | GPT MSR 16MB | WINDOWS - REMAINDER | RECOVERY - 990MB

And when I say 'Perfect', this layout mirroring between MBR and GPR allows you to convert from MBR to GPR without moving around any partition data

SizeSystemMbr

#System Partition size for BIOS MBR based Computers
#Default = 260MB
#Range = 100MB - 3000MB (3GB)
#Alias = SSM, Mbr, SystemM
[Alias('SSM','Mbr','SystemM')]
[ValidateRange(100MB,3000MB)]
[uint64]$SizeSystemMbr = 260MB

SizeSystemGpt

#System Partition size for UEFI GPT based Computers
#Default = 260MB
#Range = 100MB - 3000MB (3GB)
#Alias = SSG, Efi, SystemG
[Alias('SSG','Efi','SystemG')]
[ValidateRange(100MB,3000MB)]
[uint64]$SizeSystemGpt = 260MB

SizeMSR

#MSR Partition size
#Default = 16MB
#Range = 16MB - 128MB
#Alias = MSR
[Alias('MSR')]
[ValidateRange(16MB,128MB)]
[uint64]$SizeMSR = 16MB

SizeRecovery

#Size of the Recovery Partition
#Default = 990MB
#Range = 350MB - 80000MB (80GB)
#Alias = SR, Recovery
[Alias('SR','Recovery')]
[ValidateRange(350MB,80000MB)]
[uint64]$SizeRecovery = 990MB