Re: "halt" option to kickstart in addition to "reboot"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 29 Apr 2003, Gene Hightower wrote:

> I've got a bunch of identical systems that I'll be installing.  I've
> put together an install CD that works without any user interaction.
> User interaction is bad for me because there is no keyboard, mouse or
> display attached to the machines.
> 
> I'd like to plop the CD in the drive, turn the box on, and turn it off
> when the install is done.
> 
> Unfortunately, kick-start seems to offer only two options at the end
> of the install.  The default is to wait for a keystroke before
> rebooting.  Not good, as I can't tell when the install is done.
> 
> The other choice is to add the "reboot" option to the kick-start
> config file.  This option is not so good because it ends up ejecting
> the CD at the end of the install, then rebooting, which causes the CD
> to get sucked back in and used as the boot device--which starts the
> install all over again.  You have about 10 seconds to grab the disk to
> avoid this endless cycle.
> 
> What I need is a "halt" option.  It should eject the CD and halt the
> box without rebooting.  It should just sit there, so it can be turned
> off safely.
> 
> I started to take a look at the python code but discovered that I
> don't know enough python to make much sense of things, so I thought
> I'd ask all you smart people on this list.


Two options I see, without much thought:
1. Boot from CD, network install. When the install starts, remove cd.
Possibly you can do this automatically with a %pre script, then grab the
CD when it ejects.

2. Grep the python source looking for where it ejects the CD. Make it
halt the system _after_ ejecting the CD.

3. Use another tool. Mondo can create a bootable backup when you can
then use to reinstall. It's written in C, so you should be able to make
it restore and halt. Another tool is systemimager which lives at
http://systemimager.org/


> 
>  -- Gene
> 
> 
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/anaconda-devel-list
> 

-- 
Please, reply only to the list.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb






[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux