IT97 Blog

15. Februar 2024

DISKPART – Cheat Sheet

In den BCDBoot-Dokumenten finden Sie allgemeine Schritte:

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di?view=windows-11#repair-the-system-partition

Für das UEFI Partitionslayout ist das dokumentiert unter:

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions?view=windows-11

DISKPART> create partition efi size=250

DISKPART> format quick fs=fat32 label="System"
DISKPART> assign letter="S"

C:\> bcdboot C:\Windows /s S: /f UEFI
  • Create a new “system” partition of approximately 250 MB:
DISKPART> create partition efi size=250
  • Format using FAT32, and assign a temporary drive letter:
DISKPART> format quick fs=fat32 label="System"
DISKPART> assign letter="S"
  • Install the files needed by Windows boot manager, together with an UEFI NVRAM “boot entry”:
C:\> bcdboot C:\Windows /s S: /f UEFI
Erstellen einer neuen Partition
SELECT DISK 0
CREATE PARTITION PRIMARY
ASSIGN LETTER=E
SELECT PARTITION 1
FORMAT FS=NTFS LABEL="New Volume" QUICK
EXIT
Disk konvertieren
CONVERT mbr
CONVERT gpt
CONVERT dynamic
CONVERT basic
About Dirscher Martin
IT-Administrator - Tech.- & eMobility Enthusiast. - Lizenzierte Drohnen Pilot