?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1. @echo off
  2. rem Create sd & hdd images
  3. echo create vdisk file="%cd%\sd_nedo.vhd" MAXIMUM=64 TYPE=FIXED > VHDcreate.txt
  4. echo select vdisk file="%cd%\sd_nedo.vhd" >> VHDcreate.txt
  5. echo attach vdisk >> VHDcreate.txt
  6. echo create part primary >> VHDcreate.txt
  7. echo select part 1 >> VHDcreate.txt
  8. echo format label="SD_NEDOOS" quick fs=FAT32 >> VHDcreate.txt
  9. echo detach vdisk >> VHDcreate.txt
  10. echo create vdisk file="%cd%\hdd_nedo.vhd" MAXIMUM=128 TYPE=FIXED >> VHDcreate.txt
  11. echo select vdisk file="%cd%\hdd_nedo.vhd" >> VHDcreate.txt
  12. echo attach vdisk >> VHDcreate.txt
  13. echo create part primary size=60  >> VHDcreate.txt
  14. echo create part primary >> VHDcreate.txt
  15. echo select part 1 >> VHDcreate.txt
  16. echo format label="NEDOOS" quick fs=FAT32 >> VHDcreate.txt
  17. echo select part 2 >> VHDcreate.txt
  18. echo format label="TESTVOL" quick fs=FAT32 >> VHDcreate.txt
  19. echo detach vdisk >> VHDcreate.txt
  20. diskpart /s VHDcreate.txt
  21. del VHDcreate.txt