[K12OSN] Update from FC2 to FC5 via SSH?

Eric Harrison eharrison at mail.mesd.k12.or.us
Thu Aug 10 17:03:22 UTC 2006


Dan Young wrote:
> Jim Kronebusch wrote:
>> On Thu, 10 Aug 2006 11:43:07 -0500, Jim Kronebusch wrote
>>>> It is not a pipe dream, it can just be difficult and risky ;-)
>>>>
>>>> If you want to get *real* fancy, you can learn kickstart and do an
>>>> unattended upgrade from remote.
>>>>
>>>> Docs:
>>>>
>>>> http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-
>>>> guide/ch-kickstart2.html
>>>>
>>>> GUI front-end:
>>>>
>>>> 	system-config-kickstart
>>>>
>>>> -Eric
>>> THanks Eric, I am reading the docs right now.  I think this would be 
>>> awesome to have figured out in the future, it would really help me 
>>> deploy K12LTSP in other towns where I am not readily available.  I 
>>> can manage everything remotely other than Version upgrades at this point.
>> This all seems fairly simple, except I don't understand how to call on the
>> kickstart file without a local media to boot from and issue the "linux
>> ks=nfs:<server>:/<path>" command.  
> 
> PXE boot? You'd have to have the boot order set properly from the
> console before doing this.
> 
> http://www.stanford.edu/~alfw/PXE-Kickstart/PXE-Kickstart.html
> 

What I've done is copy the pxe-boot files (in the /images/pxeboot/ dir
on CD1) to /boot/ and add them to /etc/grub.conf and set it as the
default. The server will then boot off the installer kernel & initrd...


In theory, I have not tested this part, the kickstart upgrade process
will install a new kernel and set that to be the default. So when the
box reboots, you can log back in and remove the installer kernel from
/etc/grub.conf.

All of this is "non-trivial", but should be easy to replicate once you
understand how all of the pieces fit together.

-Eric




More information about the K12OSN mailing list