netboot rescue disk with FAI
Thomas Lange
lange at informatik.uni-koeln.de
Tue Mar 3 15:12:46 CET 2009
>>>>> On Tue, 03 Mar 2009 14:51:49 +0100, Jean Spirat <jeanspirat at squirk.org> said:
> I wanted to know if anyone use fAI to netboot a rescue disk on their
> system. I mean when a server is having issue and do not boot use the pxe
> boot and fai to use it to netboot a live system that will be used with
> parted and other filesystem tools to repair the system and chroot into
> /target etc ?
> It seems sysinfo FAI_FLAGS is near what i look for, anyone know how to
> duplicate the sysinfo hook with for exemple mount RW instead of read
> only etc.. One important feature would be to have a root password setup
> that is different on each "netboot" etc... :) Any ideas ?
you can define actions on your own (for e.g. myaction) and boot them
with FAI_ACTION=myaction. Therefore create the file hooks/myaction
in the config space which will automatically be executed.
--
regards Thomas
More information about the linux-fai
mailing list