paroxy

parition-bios

Jan 9th, 2022 (edited)
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.17 KB | None | 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. diskpart
  8. rem # MAKE SURE TO SELECT THE CORRECT DISK YOU IDIOT
  9. select disk 0
  10. clean
  11. rem == 1. System partition ======================
  12. rem == Use a larger parition size for SYSTEM (250MB)
  13. rem    if you plan to convert to EFI booting
  14. rem    later. ==
  15. create partition primary size=100
  16. format quick fs=ntfs label="System"
  17. assign letter="S"
  18. active
  19. rem == 2. Windows partition =====================
  20. rem ==    a. Create the Windows partition =======
  21. create partition primary
  22. rem ==    b. Create space for the recovery tools  
  23. rem       ** Update this size to match the size of
  24. rem          the recovery tools (winre.wim)
  25. rem          plus some free space.
  26. shrink minimum=650
  27. rem ==    c. Prepare the Windows partition ======
  28. format quick fs=ntfs label="Windows"
  29. assign letter="W"
  30. rem == 3. Recovery tools partition ==============
  31. create partition primary
  32. format quick fs=ntfs label="Recovery"
  33. assign letter="R"
  34. set id=27
  35. list volume
  36. exit
Add Comment
Please, Sign In to add comment