Works, but only on fat32 stick View attachment 24038 Also used diskpart with the above commands, but in addition diskpart [snip] exit cd E: <- mounted iso in explorer cd boot bootsect.exe /nt60 D:
Is the last part for making flashdrives with 32bit ISOs on 64bit host machines or vice versa ? I've never had to do the last bit
Makes it bootable without that part, like I say, I've never done that part and it's always booted fine
I think the "Active" and "Assign" commands make it bootable, not sure exactly, but definitely doesn't need that last part
Assign just assigns a driveletter to the partition (or volume as windows calls it). Active marks a partition as active, meaning that BIOS will check this partition for boot info in it's bootsector. Non-active partitions will simply be ignored by the BIOS. But normally there should be put info into the bootsector as to what files to load as bootsector etc, and that's what bootsect.exe does. I don't know why you have been able to boot without it. Maybe you have UEFI and have only tried with x64 isos? Cause UEFI doesn't need the bootsector and can directly load an EFI bootfile from any partition, given it can read the filesystem.
This is the way to go. Formatted to NTFS, not enough space left. Formatted to FAT32, the iso would fit. Difference = 46 Mb
I do have UEFI now, but fairly sure the last time I did this, I just had a normal EFI BIOS, I've only had to use it a couple of times when MS Tool wouldn't work for whatever reason They would have been 64bit ISOs though yea
I integrated Netfx 3.5 into wim and deleted SXS folder. works great here. BTW you make the stick bootable by adding the active command in diskpart diskpart list disk select disk ? clean create partition primary active format fs=fat32 quick (use fs=ntfs for legacy/mbr) assign exit
You can try something like this: 1. Create C:\mount 2. Create C:\ISO 3. Copy content of ISO to C:\ISO 4. Execute this: Code: @ECHO OFF DISM /Mount-Wim /WimFile:C:\ISO\sources\install.wim /index:1 /MountDir:C:\mount DISM /Export-Image /SourceImageFile:C:\mount\Windows\System32\Recovery\winre.wim /SourceIndex:1 /DestinationImageFile:C:\mount\Windows\System32\Recovery\winre2.wim /Compress:max /Bootable DEL /S /F /Q C:\mount\Windows\System32\Recovery\winre.wim REN C:\mount\Windows\System32\Recovery\winre2.wim winre.wim Dism /unmount-WIM /MountDir:C:\mount /Commit DISM /Export-Image /SourceImageFile:C:\ISO\sources\install.wim /SourceIndex:1 /DestinationImageFile:C:\ISO\sources\install2.wim /Compress:max DEL /S /F /Q C:\ISO\sources\install.wim REN C:\ISO\sources\install2.wim install.wim DISM /Export-Image /SourceImageFile:C:\ISO\sources\boot.wim /SourceIndex:1 /DestinationImageFile:C:\ISO\sources\boot2.wim /Compress:max /Bootable DISM /Export-Image /SourceImageFile:C:\ISO\sources\boot.wim /SourceIndex:2 /DestinationImageFile:C:\ISO\sources\boot2.wim /Compress:max /Bootable DEL /S /F /Q C:\ISO\sources\boot.wim REN C:\ISO\sources\boot2.wim boot.wim
Aren't there a load of files you can delete from the sources folder if you are performing a clean install only ?
Well, problem got solved by me deleting efi folder from ISO per Ultra ISO and finally I got it on my so called 4gig flash drive... Figured I don't really need an efi folder because I don't have any UEFI at all. ;]
I've been using a new loop, thx to a post CODYQX4 made quite a while ago, and rrohela bringing to my attention the install.esd recovery compression: Code: for /l %%x in (1, 1, 7) do ( dism /export-image /sourceimagefile:c:\win81x86\sources\install.wim /sourceindex:%%x /destinationimagefile:c:\win81x86\sources\install.esd /compress:recovery ) del /q /s c:\win81x86\sources\install.wim Replace the 7 with however many indexes you want from the original install.wim Also replace the c:\win81x86 folder name with whatever you use. I just happen to use that so I don't lose track. install.esd files using recovery compression are MUCH smaller and both win8.0 and win8.1 setup files can read them. Note: you need 8.1 preview adk, 8.1 final adk, or 8.1 rtm dism to do this.