You can try the boot parameters ocs_prerun*, as shown in: http://clonezilla.org/clonezilla-live/doc/fine-print.php?path=./99_Misc/00_live-initramfs-manual.doc#00_live-initramfs-manual.doc
Of course, you have to make it unattended. There are some examples /opt/drbl/samples/create-*pt-sf in the Clonezilla live which you might be interested. Steven. Shameem Ahamed wrote: > Hello Steven, > > Thanks for the reply. Can we achieve this from clonezilla live itself ?. > > I have PXE server with Clonezilla live image, once i have booted in the > Clonezilla live in the client machine, i am using the ssh option to get the > disk image and clone it. > > Is there any provision to run custom command before cloning from within the > CLonezilla live image ?. > > Regards, > Shameem > > --- On Mon, 12/14/09, Steven Shiau <ste...@nchc.org.tw> wrote: > > >> From: Steven Shiau <ste...@nchc.org.tw> >> Subject: Re: [Clonezilla-live] Custom partition with clonezilla >> To: "Shameem Ahamed" <shameem.aha...@yahoo.com> >> Cc: clonezilla-live@lists.sourceforge.net >> Date: Monday, December 14, 2009, 1:26 PM >> Yes. You can create such a customized >> partition on the target disk before you cloning/restoring, >> and when you clone or restore it, remember to use the option >> "-k" (do not create partition table) in the expert mode. >> >> Steven. >> >> Shameem Ahamed wrote: >> >>> Hi All, >>> >>> I just want to check whether it is possible to create >>> >> custom partition before disk cloning with clonezilla. >> >>> I have a disk image of the entire centos server (Which >>> >> has 4 partitions ) and want to clone the server image on a >> different server , for which i need a different partition >> layout. >> >>> Is it possible with clonezilla ?. >>> >>> Regards, >>> Shameem >>> >>> >>> >>> >>> >>> >> ------------------------------------------------------------------------------ >> >>> Return on Information: >>> Google Enterprise Search pays you back >>> Get the facts. >>> http://p.sf.net/sfu/google-dev2dev >>> _______________________________________________ >>> Clonezilla-live mailing list >>> Clonezilla-live@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >>> >> -- Steven Shiau <steven _at_ nchc org tw> <steven >> _at_ stevenshiau org> >> National Center for High-performance Computing, Taiwan. >> http://www.nchc.org.tw >> Public Key Server PGP Key ID: 1024D/9762755A >> Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 >> 9762 755A >> >> > > > > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Clonezilla-live mailing list Clonezilla-live@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clonezilla-live