[opensuse] System shuts down during boot
After installing 13.1 on it, my computer shuts down in the middle of boot process. It happens very quickly, so I can't read or reproduce the messages on the console. But, boot goes OK if booting to init 3. So, I boot to init 3, log in as root and do init 5. That way, system acts normally. But this is annoying and I would like to solve this. I need help with where to look for further investigation. Of course any other help is welcome! Best regards, ~rs~ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-10-20 14:15, Radule Šoškić wrote:
After installing 13.1 on it, my computer shuts down in the middle of boot process. It happens very quickly, so I can't read or reproduce the messages on the console.
Send log over the network to another machine. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 10/20/2014 04:00 PM, Carlos E. R. wrote:
On 2014-10-20 14:15, Radule Šoškić wrote:
After installing 13.1 on it, my computer shuts down in the middle of boot process. It happens very quickly, so I can't read or reproduce the messages on the console.
Send log over the network to another machine.
I managed to get boot.log with the records of the process. It is attached to this message, in case that anybody on this list can make a comment on it. Best regards ~rs~
On 2014-10-23 12:25, Radule Šoškić wrote:
On 10/20/2014 04:00 PM, Carlos E. R. wrote:
I managed to get boot.log with the records of the process. It is attached to this message, in case that anybody on this list can make a comment on it.
[[32m OK [0m] Reached target Shutdown. Starting /etc/init.d/halt.local Compatibility... [[32m OK [0m] Started /etc/init.d/halt.local Compatibility. [[32m OK [0m] Reached target Final Step. Starting Power-Off... You told it to power-off. That is, most likely your default/final status is "power-off", so that's what it does. :-) Change the default run-level or status. How exactly, I'm unsure. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Le 23/10/2014 13:37, Carlos E. R. a écrit :
Change the default run-level or status. How exactly, I'm unsure.
this I know adapt: linux-zckr:/etc/systemd/system # ll de* lrwxrwxrwx 1 root root 40 8 déc. 2013 default.target -> /usr/lib/systemd/system/runlevel5.target from a rescue cd, the best I could think of was to use relative linking to build the link (the path is not the same). chroot could also work of course one have to link to the relevant target in lib jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos, jdd, thank you both very much. My default was set to "shutdown.target" indeed. I don't know how that happened but that was it. I edited grub menu (press E during boot) and added "5" to the main line. The machine booted to level 5 (graphical.target). I found that there is a new module in Yast2 system section (called service manager or services, I don't remember). It is there now instead of old runlevel editor. It has a drop down menu by which one can set default target. So, it is easy to fix and easy to break. Now, I wander why would we need an option to set shutdown as a default? Best regards, ~rs~ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-10-27 09:08, Radule Šoškić wrote:
Carlos, jdd, thank you both very much.
My default was set to "shutdown.target" indeed. I don't know how that happened but that was it.
Several people have fallen into the same trap, that's why I knew.
I edited grub menu (press E during boot) and added "5" to the main line. The machine booted to level 5 (graphical.target).
Ah! That was much easier than booting a live and changing the symlink. I'd completely forgotten that method.
I found that there is a new module in Yast2 system section (called service manager or services, I don't remember). It is there now instead of old runlevel editor. It has a drop down menu by which one can set default target.
So, it is easy to fix and easy to break.
Now, I wander why would we need an option to set shutdown as a default?
Not needed, just not avoided. You simply can setup any target you wish, even some of your own. Why that yast module does offer it, I have no idea, maybe worth a bug report so that they filter out some sane values except in expert mode or something. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (3)
-
Carlos E. R.
-
jdd
-
Radule Šoškić