Diskpart – Dual partition boot disk for Windows

Diskpart – Dual partition boot disk for Windows

Posted by on 30. J 2024 in Blog

If the media creation tool is failing for some reason – you can make a bootable USB yourself. This is for my reference.

  1. cmd (run as administrator)
  2. diskpart
  3. list disk
  4. (select the disk, that is the usb drive) fx: select disk 2
  5. clean
  6. convert mbr
  7. create partition primary size=1024
  8. format fs=fat32 quick
  9. assign
  10. active
  11. create partition primary
  12. select partition 2
  13. format fs=ntfs quick
  14. assign
  15. exit
  16. copy everything but sources-folder to the fat32-drive
  17. copy sources to ntfs-drive
  18. create sources-folder on fat32-drive
  19. move boot.wim from ntfs-drive->sources to fat32-drive->sources

And now you’re ready to play 🙂