diskpartscript.txt 494 B

12345678910111213141516171819202122232425262728
  1. list disk
  2. select disk 0
  3. clean
  4. convert gpt
  5. create partition primary size=500
  6. format quick fs=fat32 label="BOOT"
  7. create partition primary size=60000
  8. format label="SYSTEM" fs=ntfs quick
  9. assign letter=c
  10. create partition primary
  11. format label="DATA" fs=ntfs quick
  12. assign letter=d
  13. create vdisk file=c:\bootmgr.vhd maximum=32 type=fixed
  14. attach vdisk
  15. select disk 2
  16. create partition primary offset=1024
  17. active
  18. format label=bootmgr quick
  19. assign letter=b
  20. list volume
  21. exit