How do you mount a WIM image in XImage for Longhorn?

Discuss Windows Vista/Server 2008 to Windows 10.
Post Reply
winlego3210
Posts: 221
Joined: Sun Dec 23, 2012 9:56 am
Location: Singapore

How do you mount a WIM image in XImage for Longhorn?

Post by winlego3210 »

I have XImage and I want to mount a WIM image. I've used the append command as there is no mount command like imagex, but it will not mount. How do I mount it?
Image
x86 assembly: imperial
68k assembly: metric

Lukas Marsik
Posts: 1268
Joined: Thu Mar 29, 2012 4:14 pm

Re: How do you mount a WIM image in XImage for Longhorn?

Post by Lukas Marsik »

You don't. Apply it somewhere, for example create a VMDK in VMWare and mount it

yourepicfailure
User avatar
Donator
Posts: 1317
Joined: Mon Jul 23, 2012 9:40 pm
Location: Lufthansa DC-10

Re: How do you mount a WIM image in XImage for Longhorn?

Post by yourepicfailure »

I believe PantherXP has some utilities to mount a 4074 .wim to a drive. Download it from here: http://thuun.boot-land.net/PantherXP/
Extract it and navigate to PantherXP\panther_template\[ROOT]\sources and place the install.wim into that folder, overwriting the one currently present. Run 2_winmain_mount.cmd located in PantherXP\panther_template\[ROOT]\support\service\svcres. It should tell you what drive the wim was mounted to. Be sure to run 7_unmount.cmd when you're finished.
*Note, this only works with 4074 (possibly 4051 & 4053) install.wims and will not commit any changes you make to it. I didn't make PantherXp.
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off"
Image
You will never tear me from the grasp of the Pentium M!

Lukas Marsik
Posts: 1268
Joined: Thu Mar 29, 2012 4:14 pm

Re: How do you mount a WIM image in XImage for Longhorn?

Post by Lukas Marsik »

Ummm... PantherXP does commit changes, what the heck would be the point of those CMD files then...
Also, this will only work with 4053 and 4074

It basically creates a virtual Z drive and applies it to there.

winlego3210
Posts: 221
Joined: Sun Dec 23, 2012 9:56 am
Location: Singapore

Re: How do you mount a WIM image in XImage for Longhorn?

Post by winlego3210 »

When I try to mount the WIM using the .cmd file, I get this:
Image
However, the drive mounted, but it was empty. How do I get around this?
Image
x86 assembly: imperial
68k assembly: metric

rhobariii
Donator
Posts: 158
Joined: Tue Jun 24, 2014 7:02 pm
Location: Polska

Re: How do you mount a WIM image in XImage for Longhorn?

Post by rhobariii »

Umm? Are you Administrator?

hounsell

Re: How do you mount a WIM image in XImage for Longhorn?

Post by hounsell »

He was not in an Administrative prompt, as evidenced by the lack of "Administrator: " in the command prompt title.

It's error messages were written to be ignored.

Right click "Command prompt", "Run as Administrator", try again.

winlego3210
Posts: 221
Joined: Sun Dec 23, 2012 9:56 am
Location: Singapore

Re: How do you mount a WIM image in XImage for Longhorn?

Post by winlego3210 »

hounsell wrote:He was not in an Administrative prompt, as evidenced by the lack of "Administrator: " in the command prompt title.

It's error messages were written to be ignored.

Right click "Command prompt", "Run as Administrator", try again.
I ran it as Adminstrator, but it exited without any output or progress bar. The drive mounted, but it was empty. Why?
Offtopic Comment
The .cmd file runs fine on my XP VM though.
Image
x86 assembly: imperial
68k assembly: metric

Lukas Marsik
Posts: 1268
Joined: Thu Mar 29, 2012 4:14 pm

Re: How do you mount a WIM image in XImage for Longhorn?

Post by Lukas Marsik »

winlego3210 wrote:
hounsell wrote:He was not in an Administrative prompt, as evidenced by the lack of "Administrator: " in the command prompt title.

It's error messages were written to be ignored.

Right click "Command prompt", "Run as Administrator", try again.
I ran it as Adminstrator, but it exited without any output or progress bar. The drive mounted, but it was empty. Why?
Offtopic Comment
The .cmd file runs fine on my XP VM though.
99% of BATs/CMDs which rely on directory paths do this if you have UAC on...
Just run CMD as admin, navigate to the pantherxp script directory and launch it from there

winlego3210
Posts: 221
Joined: Sun Dec 23, 2012 9:56 am
Location: Singapore

Re: How do you mount a WIM image in XImage for Longhorn?

Post by winlego3210 »

Lukas Marsik wrote:
winlego3210 wrote:
hounsell wrote:He was not in an Administrative prompt, as evidenced by the lack of "Administrator: " in the command prompt title.

It's error messages were written to be ignored.

Right click "Command prompt", "Run as Administrator", try again.
I ran it as Adminstrator, but it exited without any output or progress bar. The drive mounted, but it was empty. Why?
Offtopic Comment
The .cmd file runs fine on my XP VM though.
99% of BATs/CMDs which rely on directory paths do this if you have UAC on...
Just run CMD as admin, navigate to the pantherxp script directory and launch it from there
I tried it, still the same result. Maybe I should temporarily turn off UAC...
Image
x86 assembly: imperial
68k assembly: metric

Post Reply