Re: VCL - xCAT- BladeCenter - Windows 7 - Partimage - Restore

2011-06-27 Thread Andy Kurth
I think it may be easiest to recreate your Windows base image using
non-UEFI partitions.  Although I didn't seem to have trouble loading
the image, I did have difficulties getting xCAT to boot to the Windows
partition after it was loaded.  The problem I encountered was that the
Windows installer changed the boot order for the blade in the BIOS.
It replaced Local Disk with something like Windows Boot Partition.
 The image would not boot when it was loaded on other blades which
still had Local Disk in the boot order.

I disabled the UEFI extension in the BIOS, set the boot order back to
Local Disk, and reinstalled Windows 7.  This caused the Windows
installer to create normal partitions and it didn't mess with the BIOS
settings.  This captured image then worked on other blades.

Hope this helps,
Andy


On Fri, Jun 24, 2011 at 3:12 PM, Prem Kumar prem.it.ku...@gmail.com wrote:
 hi Josh,

 i will give it a try with the latest partimage-ng, so that i can
 recreate rootimg.gz with new partimage, could you provide pointers to
 creating the rootimg.gz, i am amazed how tiny it is.

 you mention that you heavily use partimage, from this i understand
 that it takes care of creating the efi, msr and primary partition
 required for windows? do i get this wrong that we need these sets of
 partitions for windows.

 hoping to hear from you on the above questions before you leave for
 your break, - in any case have a wonderful break. hopefully i will
 understand this better by then.

 regards,
 prem.


 On Fri, Jun 24, 2011 at 3:03 PM, Josh Thompson josh_thomp...@ncsu.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Prem,

 We're not using partimage-ng.  So, I haven't worked with it since I initially
 wrote the code to handle it.  partimage can definitely handle a mix of 
 windows
 and linux images.  We use it quite heavily.  Also, I see there is a newer
 version of partimage-ng than the one I compiled into the rootimg.gz image, 
 and
 it can even handle LVM partitions.  So, it may be worth giving that a shot.  
 I
 was hoping to see if I could replicate your problem soon but didn't have time
 to.  I'm out all next week.  So, it'd be the first week of July before I'll
 have any time to do any testing with it.

 Josh

 On Thursday June 23, 2011, Prem Kumar wrote:
 hi Josh,

 i seem to get a feeling that partimage-ng cannot support 'UEFI; based
 partitions, hence when it tries to restore an image to a disk with a
 previously installed linux partition, results in an error.

 could you confirm that if partimage/partimage-ng could be used to
 capture/restore bare metal images of Windows? if this isn't true, then
 is WinPE the only option?

 ??

 regards,
 prem.

 On Thu, Jun 23, 2011 at 11:14 AM, Prem Kumar prem.it.ku...@gmail.com
 wrote:
  hello again,
 
  i have not been able to restore a 'windows 7' image back onto a node
  that initially had an 'rhel' installed, essentially due to difference
  in partitions.
 
  since i ended up using partimage-ng for creating 'rhel' images by
  setting usepartimageng=1 in the /install/postscripts/partimageng
  script. now i am married to using partimage-ng section of the
  /install/postscripts/partimageng script.
 
  -- any idea how i could resolve this? I missing something again?
 
  could we zero out the partition on restore and would it work?
 
  regards,
  prem.
 - --
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University

 my GPG/PGP key can be found at pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)

 iEYEARECAAYFAk4E35MACgkQV/LQcNdtPQO05gCfbH4CDcaJxg6ZNgwRxGb+tSe5
 ny4AmQGBSkyO+lb0FeJoGdl7HMHpHnbz
 =1imX
 -END PGP SIGNATURE-




Re: VCL - xCAT- BladeCenter - Windows 7 - Partimage - Restore

2011-06-24 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Prem,

We're not using partimage-ng.  So, I haven't worked with it since I initially 
wrote the code to handle it.  partimage can definitely handle a mix of windows 
and linux images.  We use it quite heavily.  Also, I see there is a newer 
version of partimage-ng than the one I compiled into the rootimg.gz image, and 
it can even handle LVM partitions.  So, it may be worth giving that a shot.  I 
was hoping to see if I could replicate your problem soon but didn't have time 
to.  I'm out all next week.  So, it'd be the first week of July before I'll 
have any time to do any testing with it.

Josh

On Thursday June 23, 2011, Prem Kumar wrote:
 hi Josh,
 
 i seem to get a feeling that partimage-ng cannot support 'UEFI; based
 partitions, hence when it tries to restore an image to a disk with a
 previously installed linux partition, results in an error.
 
 could you confirm that if partimage/partimage-ng could be used to
 capture/restore bare metal images of Windows? if this isn't true, then
 is WinPE the only option?
 
 ??
 
 regards,
 prem.
 
 On Thu, Jun 23, 2011 at 11:14 AM, Prem Kumar prem.it.ku...@gmail.com 
wrote:
  hello again,
  
  i have not been able to restore a 'windows 7' image back onto a node
  that initially had an 'rhel' installed, essentially due to difference
  in partitions.
  
  since i ended up using partimage-ng for creating 'rhel' images by
  setting usepartimageng=1 in the /install/postscripts/partimageng
  script. now i am married to using partimage-ng section of the
  /install/postscripts/partimageng script.
  
  -- any idea how i could resolve this? I missing something again?
  
  could we zero out the partition on restore and would it work?
  
  regards,
  prem.
- -- 
- ---
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk4E35MACgkQV/LQcNdtPQO05gCfbH4CDcaJxg6ZNgwRxGb+tSe5
ny4AmQGBSkyO+lb0FeJoGdl7HMHpHnbz
=1imX
-END PGP SIGNATURE-


Re: VCL - xCAT- BladeCenter - Windows 7 - Partimage - Restore

2011-06-24 Thread Prem Kumar
hi Josh,

i will give it a try with the latest partimage-ng, so that i can
recreate rootimg.gz with new partimage, could you provide pointers to
creating the rootimg.gz, i am amazed how tiny it is.

you mention that you heavily use partimage, from this i understand
that it takes care of creating the efi, msr and primary partition
required for windows? do i get this wrong that we need these sets of
partitions for windows.

hoping to hear from you on the above questions before you leave for
your break, - in any case have a wonderful break. hopefully i will
understand this better by then.

regards,
prem.


On Fri, Jun 24, 2011 at 3:03 PM, Josh Thompson josh_thomp...@ncsu.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Prem,

 We're not using partimage-ng.  So, I haven't worked with it since I initially
 wrote the code to handle it.  partimage can definitely handle a mix of windows
 and linux images.  We use it quite heavily.  Also, I see there is a newer
 version of partimage-ng than the one I compiled into the rootimg.gz image, and
 it can even handle LVM partitions.  So, it may be worth giving that a shot.  I
 was hoping to see if I could replicate your problem soon but didn't have time
 to.  I'm out all next week.  So, it'd be the first week of July before I'll
 have any time to do any testing with it.

 Josh

 On Thursday June 23, 2011, Prem Kumar wrote:
 hi Josh,

 i seem to get a feeling that partimage-ng cannot support 'UEFI; based
 partitions, hence when it tries to restore an image to a disk with a
 previously installed linux partition, results in an error.

 could you confirm that if partimage/partimage-ng could be used to
 capture/restore bare metal images of Windows? if this isn't true, then
 is WinPE the only option?

 ??

 regards,
 prem.

 On Thu, Jun 23, 2011 at 11:14 AM, Prem Kumar prem.it.ku...@gmail.com
 wrote:
  hello again,
 
  i have not been able to restore a 'windows 7' image back onto a node
  that initially had an 'rhel' installed, essentially due to difference
  in partitions.
 
  since i ended up using partimage-ng for creating 'rhel' images by
  setting usepartimageng=1 in the /install/postscripts/partimageng
  script. now i am married to using partimage-ng section of the
  /install/postscripts/partimageng script.
 
  -- any idea how i could resolve this? I missing something again?
 
  could we zero out the partition on restore and would it work?
 
  regards,
  prem.
 - --
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University

 my GPG/PGP key can be found at pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)

 iEYEARECAAYFAk4E35MACgkQV/LQcNdtPQO05gCfbH4CDcaJxg6ZNgwRxGb+tSe5
 ny4AmQGBSkyO+lb0FeJoGdl7HMHpHnbz
 =1imX
 -END PGP SIGNATURE-



Re: VCL - xCAT- BladeCenter - Windows 7 - Partimage - Restore

2011-06-23 Thread Prem Kumar
hi Josh,

i seem to get a feeling that partimage-ng cannot support 'UEFI; based
partitions, hence when it tries to restore an image to a disk with a
previously installed linux partition, results in an error.

could you confirm that if partimage/partimage-ng could be used to
capture/restore bare metal images of Windows? if this isn't true, then
is WinPE the only option?

??

regards,
prem.




On Thu, Jun 23, 2011 at 11:14 AM, Prem Kumar prem.it.ku...@gmail.com wrote:
 hello again,

 i have not been able to restore a 'windows 7' image back onto a node
 that initially had an 'rhel' installed, essentially due to difference
 in partitions.

 since i ended up using partimage-ng for creating 'rhel' images by
 setting usepartimageng=1 in the /install/postscripts/partimageng
 script. now i am married to using partimage-ng section of the
 /install/postscripts/partimageng script.

 -- any idea how i could resolve this? I missing something again?

 could we zero out the partition on restore and would it work?

 regards,
 prem.