PDA

View Full Version : Autoyast: PXE boot install reboot between stage1 and stage2



radarwave
11-Dec-2013, 11:01
I use autoyast script to control the pxe boot install on SLES 11 SP2. But a reboot between pxe boot stage1 and stage2 is what I don't want. I see autoyast option 'forceboot' can disable it, but seems it not work.

see: http://users.suse.com/~ug/autoyast_doc/configuration.html#id324513

<forceboot config:type="boolean">false</forceboot>
openSUSE 11.0 uses the kexec feature and does not reboot anymore between stage1 and stage2. With the forceboot option you can force the reboot in case you need it for some reason. The value "true" will reboot, "false" will not reboot and a missing forceboot option uses the product's default.

I searched on website, but found nothing useful information.
Anybody knows how can I let it don't reboot after installed packages? It can reboot after all the configuration finished. Thank you very much!

radarwave
12-Dec-2013, 09:58
From the word "openSUSE 11.0 uses the kexec feature and does not reboot anymore between stage1 and stage2.", can I assume it's only affect the openSUSE 11.0, but can't work on SLES 11 SP2?

smflood
12-Dec-2013, 18:23
On 12/12/2013 09:04, radarwave wrote:

> From the word "openSUSE 11.0 uses the kexec feature and does not reboot
> anymore between stage1 and stage2.", can I assume it's only affect the
> openSUSE 11.0, but can't work on SLES 11 SP2?

A version of the AutoYaST documentation is also available with the SLES
documentation[1] which you'll note is titled "SUSE Linux Enterprise
Server 11 SP3" (though admittedly that is more likely because it was
reproduced when SLES11 SP3 was released than because it's specific to
SLES11 SP3).

Anyway section 4.1 of the SLES11 SP3 version[2] includes the following
note after the paragraphs you quoted:

--begin--
IMPORTANT: Drivers May Need a Reboot

Some drivers, for example the proprietary drivers for Nvidia and ATI
graphics cards, need a reboot and will not work properly when using
kexec. Therefore the default on SUSE Linux Enterprise products is to
always do a proper reboot.
---end---

which suggests that whilst a reboot may be required after installing
proprietary drivers it's not forced.

HTH.

[1] https://www.suse.com/documentation/sles11/
[2]
https://www.suse.com/documentation/sles11/book_autoyast/data/createprofile_general.html
--
Simon
SUSE Knowledge Partner

------------------------------------------------------------------------
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------

radarwave
13-Dec-2013, 04:11
Thanks. From below word, what I understand is SLES will reboot between stage1 and stage2 by default. So my question is do we have any other option to change the default and make it not reboot any more?

--begin--
IMPORTANT: Drivers May Need a Reboot

Some drivers, for example the proprietary drivers for Nvidia and ATI
graphics cards, need a reboot and will not work properly when using
kexec. Therefore the default on SUSE Linux Enterprise products is to
always do a proper reboot.
---end---