From single player to the all-rounder, Windows7 AIO handmade

Multiboot USB / DVD Builder with SARDU
In this section is permitted only the English language
Forum rules
In this section is permitted only the English language

From single player to the all-rounder, Windows7 AIO handmade

Postby wolfs44 » September 19th, 2011, 9:30 am

"Wonderful," they say, or "brilliant idea", "something I've always wanted", and "fantastic, how many systems have space on a partition"
Yes, Sardu can start pretty much every system from CD or USB.
And yet there's a catch:
Windows 7 on two discs, this is probably the most common presence, as x86 and 64-bit version.
Sardu wrote only one version of Windows 7 to stick or DVD, both in parallel, not folded.
Also applies to other multi-boot tools.
What no one has, one can often make themselves.
So, from 2 becomes 1.
What we need?
- Windows 7 x86 DVD or ISO, then extract
- Windows 7 64-bit DVD or ISO, then extract
-WAIK (Windows Automated Installation Kit)
http://www.microsoft.com/downloads/de-d ... c26d3b3b34
- HexEditor, e.g. Hxd (Freeware, German)
http://mh-nexus.de/de/downloads.php?product=HxD
Both install.

Short directories on the root to make the shorter commands.
Create the following:

D:\AIO\DVD
D:\AIO\DVD\sourc64
D:\AIO\WIMs

The entire contents of the Windows 7 x86 DVD copy to D:\AIO\DVD.
Then in D:\AIO\DVD\sources\ delete all *.clg files and delete the ei.cfg.
Move, not copy, the install.wim from D:\AIO\DVD\sources to D:\AIO\WIMs, then rename in ULTx86.wim.
Now from the Windows 7 DVD 64-bit from the directory sources extract the install.wim to D:\AIO\WIMs, then rename in ULTx64.wim.
From the Windows 7 64-bit DVD extract the rest of the contents of the directory sources (excluding the install.wim and ei.cfg) to D:\AIO\DVD\sourc64.
And most recently the setup.exe from the root of the Windows 7 64-bit DVD.
Here we need an intermediate station, to rename it in setup64.exe and then can copy to D:\AIO\DVD, so that there is already located setup.exe from the Windows 7 x86 DVD is not overwritten.

The following commands with the imagex.exe, I recommend just copy and paste them back in the DOS window, from the WAIK tools are command-line companies.
So, please, one at a time when the previous one was successful.

Imagex /export "D:\AIO\WIMs\ULTx86.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 STARTER"
Imagex /export "D:\AIO\WIMs\ULTx86.wim" 2 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME BASIC"
Imagex /export "D:\AIO\WIMs\ULTx86.wim" 3 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME PREMIUM"
Imagex /export "D:\AIO\WIMs\ULTx86.wim" 4 "D:\AIO\DVD\sources\install.wim" "Windows 7 PROFESSIONAL"
Imagex /export "D:\AIO\WIMs\ULTx86.wim" 5 "D:\AIO\DVD\sources\install.wim" "Windows 7 ULTIMATE"

Imagex /export "D:\AIO\WIMs\ULTx64.wim" 1 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME BASIC (x64)"
Imagex /export "D:\AIO\WIMs\ULTx64.wim" 2 "D:\AIO\DVD\sources\install.wim" "Windows 7 HOME PREMIUM (x64)"
Imagex /export "D:\AIO\WIMs\ULTx64.wim" 3 "D:\AIO\DVD\sources\install.wim" "Windows 7 PROFESSIONAL (x64)"
Imagex /export "D:\AIO\WIMs\ULTx64.wim" 4 "D:\AIO\DVD\sources\install.wim" "Windows 7 ULTIMATE (x64)"

So can the subsequent setup of Windows 7 AIO select any Windows version and install.

The Windows 7 installation DVD can even be used as recovery and repair disk, with the Windows 7 AIO that works but usually only on x86-based systems.
We change that and also create a "Recovery Mode x64"

Open the command prompt as administrator, navigate to D:\AIO\DVD.
Now a copy of the default loader created.
The following command, perhaps copying again:

bcdedit /store boot\bcd /copy {default} /d "x64 Recovery Mode"

Watch out, the command in the echo from a long number with dashes provided in curly brackets,
about {xxxxxxx-xxx ................}
It is the GUID of the newly created copy of the default loader.
This number must remember, write down or copy, it shall be in the next following two commands instead of the word {GUID} are used. (Instead of {GUID} is {xxxxxxx-xxx ........}

bcdedit /store boot\bcd /set {GUID} device ramdisk=[boot]\sourc64\boot.wim,{7619dcc8-11d9-B411-fafe-000476eba25f}
bcdedit /store boot\bcd /set {GUID} osdevice ramdisk=[boot]\sourc64\boot.wim,{7619dcc8-11d9-B411-fafe-000476eba25f}

The new loader will also allow the 64-bit mode, recovery and repair.

For the boot menu even a timeout:

bcdedit /store boot\bcd /timeout 5

Open D:\AIO\DVD\setup64.exe with the hex editor.
Find and replace all entries of the Unicode string "sources\" with "sourc64\"
Open D:\AIO\DVD\sourc64 the autorun.dll with the hex editor and replace all entries of the Unicode string "sources\setup.exe"
with "sourc64\lunch.cmd". (Applies only naturally without arrival and transfer lines)
The file itself lunch.cmd we create in D:\AIO\DVD\sourc64\ with the following contents:

setup.exe /m:sourc64 /installfrom:\sources\install.wim

If you already have SP1 integrated into Windows 7 DVDs, then this command in the lunch.cmd:

setup.exe /installfrom:\sources\install.wim

The happy ending of a change in the autorun.inf on the root of the new AIO so setup64.exe on 64-bit systems will start:

[Autorun.Amd64]
open=setup64.exe
icon=setup64.exe,0

[Autorun]
open=setup.exe
icon=setup.exe,0

Everything nice store, now it is an ISO:

OSCDimg.exe -l7_AIO -m -bD:\AIO\DVD\Boot\etfsboot.com D:\AIO\DVD D:\7_AIO.ISO

Between -b and the path is D:\AIO\DVD should be no space.

At the root of D:\ you will find the finished ISO to include in Sardu, AIO Windows Seven, as InstallWin7.iso

It looks complicated, but it is not, accurate reading and converting protected from errors.
And who is desperate to prove himself, after the 20-most times no one looks at the paper.
wolfs44
wolfs44
 
Posts: 7
Joined: September 18th, 2011, 9:19 am

Re: From single player to the all-rounder, Windows7 AIO hand

Postby davidecosta » September 19th, 2011, 10:07 am

Thanks, :cheers:
User avatar
davidecosta
 
Posts: 2543
Joined: January 9th, 2011, 12:44 pm
Location: Sardinia

Re: From single player to the all-rounder, Windows7 AIO hand

Postby wolfs44 » September 19th, 2011, 3:18 pm

Thank you, I think, now everything is correct.
wolfs44
 
Posts: 7
Joined: September 18th, 2011, 9:19 am

Re: From single player to the all-rounder, Windows7 AIO hand

Postby UFdFan » September 19th, 2011, 3:59 pm

I am happy to see you! :D Thank you for re-registration and your application here.
Important information: Don't change the SARDU screen or menu's when you want a fine working SARDU. 8-)
UFdFan
 
Posts: 699
Joined: May 15th, 2011, 2:34 pm
Location: in the center of my life

Re: From single player to the all-rounder, Windows7 AIO hand

Postby karebet » September 26th, 2011, 3:35 am

What a great tutorials
but WAIK is to big to download what if i only install and used imagex.exe without installing WAIK??

greeting from Indonesians
karebet
 
Posts: 2
Joined: September 26th, 2011, 3:31 am

Re: From single player to the all-rounder, Windows7 AIO hand

Postby karebet » September 27th, 2011, 10:27 am

i've try without installing WAIK only copy two file imagex.exe and OSCDimg.exe to windows/system32 and work

so http://www.mediafire.com/file/m95kn3ye949xy8o/ImageX.zip the file maybe can ussefull
karebet
 
Posts: 2
Joined: September 26th, 2011, 3:31 am

Re: From single player to the all-rounder, Windows7 AIO hand

Postby wolfs44 » September 27th, 2011, 10:35 am

The "WAIK" is thus always said you need to and it can be downloaded from Microsoft.
Well, WAIK is about 1.7 GB and what it really needed are 3 files with a total area of just under 1MB.
2 of them are also included in the WinBuilder that works so well on WAIK-based and is promoted here in collaboration with Sardu:
imagex.exe and bcdedit.exe.
The final assembly of ISO takes OSCDimg.exe individually to find the net, but could be accomplished as well with ImgBurn (as in WinBuilder)
wolfs44
 
Posts: 7
Joined: September 18th, 2011, 9:19 am


Return to English Forum

Who is online

Users browsing this forum: Bing [Bot]

cron