Code: Select all
SET VOLUME_ID=
format "%a2%" /FS:fat32 /V:%VOLUME_ID% /x /q
"%~dp0\syslinux" -ma -d boot\syslinux %a2% -f
xcopy "%a1%\*" %a2% /s /h /q
I also have put together a prep-guide of what you need to do to the USB HDD before running the install script:
Is it possible to integrate the Dispart portion into the script (assume you would have to indicate whether you installing to a USB stick or USB HDD in the beginning though).Only required on USB HDDs! Don’t use on USB STICKS!
1. Run administrator command prompt
2. diskpart
3. list disk
4. select Disk 1 (Replace 1 with number reflecting your USB Drive)
5. clean ----- NOTE: THIS WILL DELETE ALL DATA AND PARTITIONS OFF THE DRIVE.
6. create partition primary size=16000 - I choose 16GB but its up to you
7. select partition 1
8. format fs=fat32 quick
9. active
10. assign
11. You now have a 16GB partition that we can install GoldStick to.
thanks,
dpc