Re: [Clonezilla-live] 'Upgrade' windows systems with clonezilla?
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Les M. <les...@gm...> - 2015-02-11 16:20:10
|
Thanks for the response, but these run in the context of the linux clonezilla-live system don't they? I was hoping someone would have examples or pointers to documentation showing how to set the IP, netmask and gateway on the freshly cloned disk with a windows 2008 OS, and in particular how to tie them to the correct NIC where the machine may have several. Or, if this can't be done from a linux script, is there some way to include a program that runs at first boot on a windows image? (And in that case I still need to find the commands to make the settings in a script). -Les On Tue, Feb 10, 2015 at 7:41 PM, Steven Shiau <st...@nc...> wrote: > Yes, you can run your own script before and after Clonezilla job is run. > The boot parameters you can use are ocs_prerun* and ocs_postrun*: > http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc > Just place your script in the appropriate path and use that parameters > to run it. You should be able to make it. > > Steven. > > On 1/29/2015 AM 12:32, Les Mikesell wrote: >> We will need to upgrade a large number of windows 2003 servers to 2008 >> or 2012 in the near future. Most of these are headless and have >> multiple network connections. I know I can build a usb disk/key that >> will install a standard image with clonezilla, but is there a way to >> also: >> a) run a script on the machine before rebooting that gathers the >> hostname and NIC/IP settings - and maybe a few other things and write >> to the USB device. >> and >> b) after the newly cloned image comes up, have it run a matching >> script to recreate the original settings? >> >> Has anyone done something like this already? Alternatively, we might >> pre-build a database of all the MAC addresses and IP's and include >> that in the installed image so a script could get it back on the >> network to do the rest of the work. >> > > -- > Steven Shiau <steven _at_ stevenshiau org> > Public Key Server PGP Key ID: 4096R/47CF935C > Fingerprint: 0240 1FEB 695D 7112 62F0 8796 11C1 12DA 47CF 935C > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live |