[SOLVED] Randomly freezing after rebooting

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Randomly freezing after rebooting

Postby pernel » Feb 15th, '25, 21:24

On a new computer with fresh MGA 9 when I issue the command "reboot" from a console or pressing off and on power button, the computer around 50% of the times will be freezing during the boot procedure. First I get the normal plymouth splash screen but after a few seconds a black terminal window on top of the splash sceen shows:

"Booting 'Mageia'
Loading Linux 6.6.74-desktop-1.mga9 ..."

This happens before the Plymouth login screen occurs.
When this occurs I can't do anything with the keyboard, mouse or access the pc over the network.
This window freezes endless until computer is restarted with the power button, or by completely switching off and on the main power switch.

Where would be the best place to search for some logs showing what went wrong? I have rsyslog installed and running.
I have been searching in the kernel, messages and syslog files but unfortunately i don't know how to understand these. I also have a "boot.log" file but I can't see anything in this file except the successeful bootups.

Maybe I can't expect to see why this happens in any log file?
Maybe some UEFI settings are not correct?
Any help would be much appreciated!
Per
Last edited by pernel on Feb 23rd, '25, 13:09, edited 1 time in total.
pernel
 
Posts: 66
Joined: Mar 21st, '12, 20:13

Re: Randomly freezing after rebooting

Postby morgano » Feb 16th, '25, 16:24

To see log lines on screen during boot, remove "splash" and "quiet" from kernel boot parameters, see https://wiki.mageia.org/en/How_to_set_u ... otloader_2
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1491
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Randomly freezing after rebooting

Postby doktor5000 » Feb 16th, '25, 16:49

pernel wrote:First I get the normal plymouth splash screen but after a few seconds a black terminal window on top of the splash sceen shows:

"Booting 'Mageia'
Loading Linux 6.6.74-desktop-1.mga9 ..."

This happens before the Plymouth login screen occurs.

Hi there, plymouth is the bootsplash, which shows after the bootloader has loaded initrd/kernel. So if the kernel is not loaded, then you don't see plymouth, but the graphical menu from the bootloader (called gfxboot).
For the logs, apart from what is shown on screen, if your box does not pivot from early boot to regular boot, the logs from early boot simply cannot be written to disk.

Only thing you can do as morgano mentioned show verbose boot messages, and note where the boot stops, and how long.
Another option would be to enable systemd debug logging, but that will not help if your box does not succeed to load the kernel.

On a related note, I'd rather not use reboot command nor use power button to power off your box.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Randomly freezing after rebooting

Postby daniewicz » Feb 17th, '25, 02:31

Is this a newly built computer?

It is also possible you have a hardware problem. We need to see the boot messages.
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: Randomly freezing after rebooting

Postby pernel » Feb 23rd, '25, 13:08

Solved somehow but I don't no exactly why.

I had kernel desktop in the box but decided to try kernel server and used the MCC/Boot/Setup boot system to boot with kernel server. After this the box reboots reliably with with both kernel server or kernel desktop.
The error that prevented booting before was:
Kernel Panic - not syncing : VFS: Unable to mount root fs on unknown-block (0,0)


Maybe MCC Setup boot system somehow fixed the problem?

Now I have to decide whether to use kernel server or desktop for this box tha is a simple headless server for email, webserver, local samba file sharing, ssh etc. Been trying to understand the difference between kernel server and desktop. Any recommendations?

doctor5000:
On a related note, I'd rather not use reboot command nor use power button to power off your box.
what would be the most safe command to reboot the box remotely?

Per
pernel
 
Posts: 66
Joined: Mar 21st, '12, 20:13

Re: [SOLVED] Randomly freezing after rebooting

Postby doktor5000 » Feb 23rd, '25, 15:14

If you only want to reboot remotely, then reboot command or systemctl reboot would be the way to go.
Although if you have a graphical session running you should do it via the means of the desktop environment.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron