[CentOS] kexec for CentOS 4?

Tue Mar 2 13:44:48 UTC 2010
Tom Georgoulias <tomg at mcclatchyinteractive.com>

On 03/02/2010 05:10 AM, Tony Mountifield wrote:
> I have a remote CentOS 4 machine on a network where I can't put a DHCP
> or PXE server, and I want to do a complete reinstall. So what I want to
> do is, from the currently-running system, to invoke an installation
> kernel and initrd in just the same way that GRUB would, giving it a boot
> command line that specifies a remote kickstart file, installation tree,
> and other required info.

> If not, are there any other ways to achieve what I've described?

I would use cobbler and koan for this.  Once you have a cobbler server 
setup for the kickstart (which is super easy to do), you can use koan 
with the --replace-self and -k options and do exactly what you want.

Tom