Advertisement
LaDEEKill3R

Disk#0_BIOS

Nov 2nd, 2022 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | Source Code | 0 0
  1. rem == CreatePartitions-BIOS.txt ==
  2. rem == These commands are used with DiskPart to
  3. rem create three partitions
  4. rem for a BIOS/MBR-based computer.
  5. rem Adjust the partition sizes to fill the drive
  6. rem as necessary. ==
  7.  
  8. rem WinNTSetup_Boot=S:
  9. rem WinNTSetup_Install=W:
  10.  
  11. select disk 0
  12. clean
  13. rem == 1. System partition ======================
  14. create partition primary size=350
  15. format quick fs=ntfs label="System"
  16. assign letter="S" NOERR
  17. active
  18. rem == 2. Windows partition =====================
  19. rem == a. Create the Windows partition =======
  20. create partition primary
  21. rem == b. Create space for the recovery image
  22. shrink minimum=980
  23. rem ** Note, adjust the size to match
  24. rem the size of the recovery image.
  25. rem == c. Prepare the Windows partition ======
  26. format quick fs=ntfs label="Windows"
  27. assign letter="W" NOERR
  28. rem == 3. Recovery image partition ==============
  29. create partition primary
  30. format quick fs=ntfs label="Windows RE Tools"
  31. assign letter="R" NOERR
  32. set id=27
  33. list volume
  34. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement