SLES8: No reboot after autoyast
Hi, I'm also having a reboot problem, this one is with SLES8. Up to now all installations went fine: after autoyast completes the system does a reboot and executes my own startup scripts in rc3.d to finish the installation. Yesterday I installed a similar machine (HP DL380 G3, other machines were IBM x235, x360 and HP ML370/570), but after autoyast finished the server didn't reboot but entered runlevel 5. This is due to a bug in autoyast. We specify runlevel 3 in autoyast.xml and then configure X11, but this sets the runlevel to 5 in /etc/inittab. So as a workaround (suggested by SuSE support) we added the "3" as a kernel parameter for the bootloader to force the machine to runlevel 3 (and then execute the startup script). All the other machines did a reboot after autoyast installation finished, this one doesn't... What can be the reason? Only differences between installations are in network configuration (ip address, nic modules etc.) and partitioning (1 or 2 RAIDs). All machines are configured with forceboot=false and reboot=false in the general section. AFAIK the reboot parameter is only for a reboot before the first initial reboot takes place (and doesn't work at all) and forceboot is documented nowhere... Oliver -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
I wrote:
I'm also having a reboot problem, this one is with SLES8. Up to now all installations went fine: after autoyast completes the system does a reboot and executes my own startup scripts in rc3.d to finish the installation.
Yesterday I installed a similar machine (HP DL380 G3, other machines were IBM x235, x360 and HP ML370/570), but after autoyast finished the server didn't reboot but entered runlevel 5.
Sorry for bothering you, found the problem... Oliver -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
Oliver Schwabedissen wrote:
I wrote:
I'm also having a reboot problem, this one is with SLES8. Up to now all installations went fine: after autoyast completes the system does a reboot and executes my own startup scripts in rc3.d to finish the installation.
Yesterday I installed a similar machine (HP DL380 G3, other machines were IBM x235, x360 and HP ML370/570), but after autoyast finished the server didn't reboot but entered runlevel 5.
Sorry for bothering you, found the problem...
And it was? Might help others having same issue :-) Anas
Oliver
I'm also having a reboot problem, this one is with SLES8. Up to now all installations went fine: after autoyast completes the system does a reboot and executes my own startup scripts in rc3.d to finish the installation.
Yesterday I installed a similar machine (HP DL380 G3, other machines were IBM x235, x360 and HP ML370/570), but after autoyast finished the server didn't reboot but entered runlevel 5.
Sorry for bothering you, found the problem...
And it was? Might help others having same issue :-)
It was related to the bug that SLES8 sets the default runlevel to 5 when configuring X11 in autoyast.xml. The workaround is to add a "3" as a kernel parameter. Since we replace LILO with GRUB in our postinstall script we have to set runlevel 3 twice: 1. in the bootloader section: <kernel_parameters>acpi=off 3</kernel_parameters> so that it boots to runlevel 3 after autoyast finishes and 2. in our grub configuration (/boot/grub/menu.lst) I forgot to set it in the bootloader section, so when the machines boots from the hard disk for the first time it goes to runlevel 5 after autoyast finishes (and ignores my postinstall scripts in /etc/init.d/rc3.d). Oliver -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
Hi, Oliver Schwabedissen wrote:
I'm also having a reboot problem, this one is with SLES8. Up to now all installations went fine: after autoyast completes the system does a
reboot
and executes my own startup scripts in rc3.d to finish the installation.
Yesterday I installed a similar machine (HP DL380 G3, other machines
were
IBM x235, x360 and HP ML370/570), but after autoyast finished the server didn't reboot but entered runlevel 5.
Sorry for bothering you, found the problem...
And it was? Might help others having same issue :-)
It was related to the bug that SLES8 sets the default runlevel to 5 when configuring X11 in autoyast.xml. The workaround is to add a "3" as a kernel parameter. Since we replace LILO with GRUB in our postinstall script we have to set runlevel 3 twice:
Why do you install lilo in the first place? SLES8 had a bug where lilo always was installed, but it was fixed in SP3. Anas
Oliver
It was related to the bug that SLES8 sets the default runlevel to 5 when configuring X11 in autoyast.xml. The workaround is to add a "3" as a kernel parameter. Since we replace LILO with GRUB in our postinstall script we have to set runlevel 3 twice:
Why do you install lilo in the first place? SLES8 had a bug where lilo always was installed, but it was fixed in SP3.
This was already the way to install it when I joined this project (and I'll leave it tomorrow :-). I think it was done this way before SP3 was released and wasn't changed since. However, we also have to fix grub's device.map since it doesn't recognize HP's cciss driver. We have to add "(hd0) /dev/cciss/c0d0" in our postinstall script, I'm not sure if installing grub will work without problems. The installed version is grub-0.93-109. I didn't find anything in PSDB about the problem and according to http://savannah.gnu.org/bugs/?func=detailitem&item_id=8899 this bug was fixed in July 2004. But I'll forward your comment to our autoyast maintainer to check this for the next version. Oliver -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
I wrote:
I'm also having a reboot problem, this one is with SLES8. Up to now all installations went fine: after autoyast completes the system does a reboot and executes my own startup scripts in rc3.d to finish the installation.
Yesterday I installed a similar machine (HP DL380 G3, other machines were IBM x235, x360 and HP ML370/570), but after autoyast finished the server didn't reboot but entered runlevel 5.
Sorry for bothering you, found the problem... Oliver -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl
participants (2)
-
Anas Nashif
-
Oliver Schwabedissen