Jump to content











Photo
- - - - -

x86 and x64 on one medium with multi-wim


  • Please log in to reply
28 replies to this topic

#1 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 23 October 2011 - 07:16 PM

*
POPULAR

Hi friends,

I will publish a improvement for use different source-architectur on one medium.
This is possible only with different programs-folder for x64 and x86.
In the script 'CDDrive_X_Y' I have add an option to do this. If you enable this option, for x64 the Programs-folder a new name becomes: 'Programs x64'
The multi-WIM-script I have also updated. Here now, a folder can be specified, which includes the Programs folder.

It was also necessary to update the script dotnet, to make it works correct with 'programs x64'.

to make a multi-architectur-DVD do the follows:

1. compile the first run without enabled multiwim-script.
2. move the result-wim to folder that is define in the multiwim-script and rename the wimfile (sample boot2.wim).
3. copy also the programs-folder (or 'programs x64' for x64-source) to the same directory
4. switch the source to another architecture and enable multiwim and compile the second run.
The multiwim-script copy the wims to target and now also the saved programs-folder.
(for copy of program_x64 folder to target enable the checkbox 'Copy programs folder from previous build...'

Now you can select the Win7PE x86 or x64 from the Bootmanager.

Here can you download the updated scripts:

Attached File  zMultiWim.script   35.27KB   55 downloads

have a nice day
2aCD
  • Brito, metal03326, linuxbaby and 1 other like this

#2 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 23 October 2011 - 07:59 PM

Thanks, I have also been thinking about this - especially as more and more PC's come with the x64 version pre-installed, but there are still plenty of x86 ones around too...Need to have at least the recovery and a few other tools in the X64 version.

Seems that the "programs" could be managed - and make the "smaller" or unique programs go to the RAM image...that is basically what I did as a Quick-n-Dirty workaround...Let the 32 bit ones go to programs - i.e. the ones that are the same on both the 32 and 64 bit OS, and force only those that really matter into the "Ram" (i.e. X: drive)...

Have you thought more about all of that so that we don't duplicate things into the two different "programs" folders on the media?

#3 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 23 October 2011 - 08:21 PM

I use some of the larger scripts with different programfiles for x86 and x64, which can not all run in RAM. So my wim is over 500MB.
I think its better to split the programs-folder. It needs more spaces on media, but the wim is smaller.
To use different folders for programs is an option that you can select or not.

#4 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 23 October 2011 - 09:08 PM

Thank you very much, it's really a great things :thumbsup:
and very good to have the wim file as small as possible.

You deserve your 5 Stars ***** :worship:

#5 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 24 October 2011 - 12:13 AM

I use some of the larger scripts with different programfiles for x86 and x64, which can not all run in RAM. So my wim is over 500MB.
I think its better to split the programs-folder. It needs more spaces on media, but the wim is smaller.
To use different folders for programs is an option that you can select or not.

Yes, making it optional is good, and a lot depends on how many programs you need to "share" across the WIM's and if they work on 32 and 64 bit, etc.

#6 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 21 November 2011 - 10:55 AM

Hi friend,

a little fix for MultiWim.
Some people had problems with the backslash at the end of the path.
Now it does'nt matter if at the end of the path by a backslash or not.

Download at the first Post.

Best Regards
2aCD
  • Uvais likes this

#7 Uvais

Uvais

    Frequent Member

  • Advanced user
  • 180 posts

Posted 22 November 2011 - 05:20 AM

Thanks mate ;

#8 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 20 April 2012 - 12:39 PM

Hi Friends,

I have updated the MultiWim.script with a new option to select Grub4Dos-entries or BCD-Menu-Entries (Windows Bootmenu).
So you can use the cool GFX-Boot-Menu from latest Win7PE_SE also for the other WIM-files.
The script patched the Win7(SP0/SP1) bootmgr to start other bcd files to support more wim's (wim2,wim3,wim4) automaticaly.The patched bootmgr is most compatible to start wim's on all PC's
No userinteractive is needed for patching. Only selection your wims.

Here you can test the script before it included in Win7PE_SE.
The script is renamed to zMultiWim, so it starts as a last, its recommended. Place it in OtherOs and remove the old version.

Attached File  zMultiWim.script   35.27KB   21 downloads

happy testing and have fun
2aCD
  • ChrisR and linuxbaby like this

#9 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 20 April 2012 - 09:58 PM

A small error I have correct:


If,%pCheckBox2%,Equal,True,Run,%ScriptFile%,GRUB_WIM,4

If,%pCheckBox3%,Equal,True,Run,%ScriptFile%,GRUB_WIM,3

If,%pCheckBox4%,Equal,True,Run,%ScriptFile%,GRUB_WIM,2


to


If,%pCheckBox4%,Equal,True,Run,%ScriptFile%,GRUB_WIM,4

If,%pCheckBox3%,Equal,True,Run,%ScriptFile%,GRUB_WIM,3

If,%pCheckBox2%,Equal,True,Run,%ScriptFile%,GRUB_WIM,2


Thanks ChrisR to see it :victory:
Update the script from previous post

best regards
2aCD

#10 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 20 April 2012 - 10:18 PM

Thanks ChrisR to see it :victory:


Thank you, ALL the merit is for you with this very Usefull script :good: to use.
I'll put it on w7pese server soon

Attached File  Win7PE SE-2012-04-20-23-52-51.jpg   135.81KB   38 downloads

zMultiWim.script is on server.
Think of removing the old MultiWim.script

:cheers:

#11 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 20 April 2012 - 10:39 PM

I have updated the MultiWim.script with a new option to select Grub4Dos-entries or BCD-Menu-Entries (Windows Bootmenu).
The script patched the Win7(SP0/SP1) bootmgr to start other bcd files to support more wim's (wim2,wim3,wim4) automaticaly.The patched bootmgr is most compatible to start wim's on all PC's
No userinteractive is needed for patching. Only selection your wims.


Hello 2aCD,

Thank you very much for sharing. I have test many ours in the last days for a USB-Stick with two partitions to run a
x86 and x64PE in one stick. Now i see your posting here and jabadabadoo. :clap:
My stick works well with two partitions but i can only run my x64-system in RAM.
For now it is possible to run it without RAM, i see my programs folder in the PE.

You deserve your 5 Stars ***** ../public/style_emoticons/default/worship.gif

Thats right. Very good work.

Thanks a lot. :cheers:
P.S.: but say me please what have i do do, when i want starting (for example) Ubuntu (64 Bit) and Ubuntu (32 Bit)? Must i run it under 2 partitions? :dubbio: :whip:

#12 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 20 April 2012 - 10:48 PM

Thank you, ALL the merit is for you with this very Usefull script :good: to use.
I'll put it on w7pese server soon

Attached File  Win7PE SE-2012-04-20-23-52-51.jpg   135.81KB   38 downloads

zMultiWim.script is on server.
Think of removing the old MultiWim.script

:cheers:


Hi Chris,

ahhh ... nice to see the gfx-customizer in your projekt.
but now we are no more the only one in germany who provides the gfx-customizer. :starwars:

Thanks for build it in the script. :drunk: and in your and so as well in our german WB Win7-RettungsPE-projekt. :cheers:

#13 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 20 April 2012 - 10:57 PM

Hi Chris,

ahhh ... nice to see the gfx-customizer in your projekt.
but now we are no more the only one in germany who provides the gfx-customizer. :starwars:

Thanks for build it in the script. :drunk: and in your and so as well in our german WB Win7-RettungsPE-projekt. :cheers:

Hi LinuxBaby,

Yep, good addition, thanks to sbond for this simple and great tools B)
enhancement here with zMultiWim

:cheers:

#14 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 21 April 2012 - 05:17 PM

I have a little bit code optimized and add locale for text "Windows is loading files..."
Thanks Chris for the hint. :good:

A final v10 is uploaded on previous post.

happy weekend
2aCD

#15 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 21 April 2012 - 05:23 PM

In the script 'CDDrive_X_Y' I have add an option to do this. If you enable this option, for x64 the Programs-folder a new name becomes: 'Programs x64'
The multi-WIM-script I have also updated. Here now, a folder can be specified, which includes the Programs folder.


Where can i found the script 'CDDrive_X_Y' ?

#16 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 21 April 2012 - 05:58 PM

Hi linuxbaby,
you find CDDrive_X_Y here:

Attached File  CDDrive.jpg   60.58KB   7 downloads

download latest from here:
http://w7pese.cwcodes.net/projectindex.php

With this script you can define a different programs folder name for x64
I hope this help
best regards
2aCD

#17 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 21 April 2012 - 07:49 PM

I hope this help
best regards
2aCD


Yes it help me.
Thanks a lot and best regards,
linuxbaby

#18 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 21 April 2012 - 08:31 PM

A final v10 is uploaded on previous post.


Also in w7pese server http://w7pese.cwcodes.net/Projects/Win7PE_SE/OtherOS/zMultiWim.script
Thanks my friend :)

#19 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 21 April 2012 - 09:40 PM

@2aCD

I have make a build with the different source-architectur on one USB-medium so you have written in post 1.
I have X: (Boot) with the Folders Program Files and Program Files (x86) -
Y: Drive (USB-Stick) shows the Folders Programs and Programs_x64).

AIDA64 show me after i boot my USB-Stick by the 2 Systems, one for x86 and one for x64, only one Systemarchitektur. "X64" (Multiprocessor Free (64Bit))
with th same structure in x and y - Drive.

What is going wrong by me? Works the 32Bit-Windows now only in the compatibility mode from x64 or must be come a real 32bit-system in the System-Information?

#20 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 22 April 2012 - 07:47 AM

Hi linuxbaby,
have you look also in system properties, this show the installed system.
best regards
2aCD

#21 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 22 April 2012 - 08:21 AM

Hello 2aCD

Yes, it shows me in the two systems the same result. 64BIT
The same result in three other Notesbooks.

Thanks for help,
linuxbaby

#22 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 22 April 2012 - 02:12 PM

Hi linuxbaby,
it sounds, you use the same wim's for two systems. Do you compare the wims in your targetdir:
BootIMGboot2.wim
and
sourcesboot.wim
Have these files different filesize? If it's the same files something is wrong.

At first step:

-change the source to x64

-Make a build with disabled MultiWim.script

-copy the wim from targetdirsourceboot.wim to WorkbenchCommonMultiWimboot2.wim
-in addition copy the complete targetdirprograms_x64 to WorkbenchCommonMultiWim


At second step:

change back the source to x86

Make a complete new build with enabled MultiWim.script


With the second build the enabled MultiWim.script copyed the boot2.wim from
WorkbenchCommonMultiWim to targetdirbootimg and the programs_x64 folder in the root from targetdir.
Also a new boot.wim and a new programs folder is created from x86 source in targetdirsource

So it should work.
Can you test this so?
best regards
2aCD

#23 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 22 April 2012 - 06:53 PM

Hello 2aCD

Hi linuxbaby,
it sounds, you use the same wim's for two systems. Do you compare the wims in your targetdir:
BootIMGboot2.wim
and
sourcesboot.wim
Have these files different filesize? If it's the same files something is wrong.


I have different filesize.
1x 386.000 in boot.wim
1x 511.000 in boot2wim

When i build it "standalone". All works fine X86 and x64.
all together i have only one System in my PE. Now it is x86. I have beginning with x64.

I use for the x86-System "X17-59886Win7SP132bit.iso",
for x64 "X17-59886Win7SP164bit.iso"

There can not be a mistage.

But i have forgotten to say, i mount the Sources in VirtualCloneDrive 5.4.5.0 (Maybe is there an error-source)


At first step:

-change the source to x64

-Make a build with disabled MultiWim.script

-copy the wim from targetdirsourceboot.wim to WorkbenchCommonMultiWimboot2.wim
-in addition copy the complete targetdirprograms_x64 to WorkbenchCommonMultiWim


At second step:

change back the source to x86

Make a complete new build with enabled MultiWim.script


This is a very good tutorial. I take it one by one.

So it should work.


I use the "CDDrive_X_Y.script" with the active option for "Use different Programs-Folder for x64-Architecture"
I use the "zMultiWim.script" with the active option for "Copy folder with programs from previous build they are disabled in the master build" (maybe is here my problem?)

Thanks und best regards,
linuxbaby

#24 2aCD

2aCD

    Frequent Member

  • .script developer
  • 345 posts
  •  
    Germany

Posted 22 April 2012 - 08:02 PM

Hi linuxbaby,
can you publish the menu.lst and the log from the last build

#25 linuxbaby

linuxbaby

    Frequent Member

  • .script developer
  • 139 posts
  •  
    Germany

Posted 23 April 2012 - 07:05 PM

Hello 2aCD

Of course. I am beginning with a blend new projekt

I have download/updateted the original Win7PE_SE-Projekt with BLUpdate from the w7pese server!

Here the log and the menu.lst from my first build.
One notation: The folder MutiWim is not produced independently.

I made that by hand.

Log: http://dl.dropbox.co...E_SE_Support.7z
menue.lst.: http://dl.dropbox.co...408939/menu.lst

I have nothing change in the ISO or in the copy to USB.script.
The Build is without active Bootcustomizer.

Here 6 pictures from CD Drive X-Y and MultiWim and copy to usb device and important explorer windows.

Posted Image

Posted Image

Posted Image

Posted Image

Posted Image

Posted Image

After this i ad GFX-Boot-Customizer and the situation is the same in menu.lst.

I hope you can find a solution.

Best regards,
linuxbaby

P.S.: When you want send me a PN and you can take a look via teamviewer on my notebook.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users