Debian update failed

wedolearnlinux

New Member
Joined
Mar 29, 2023
Messages
19
Reaction score
0
Credits
150
Good afternoon
I did the update to Debian 11.
Then I had to boot and this failed.
Now I cannot boot again.
What can I do to repair the OS.
What detauils shall I write here.
 


tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
182
Reaction score
86
Credits
1,312
what's the output of:
Code:
sudo apt-get update && sudo apt-get -y dist-upgrade
?
 
OP
W

wedolearnlinux

New Member
Joined
Mar 29, 2023
Messages
19
Reaction score
0
Credits
150
Sorry.
I did bad asking.
I did update to Debian 11.
The update was successfull.
Maybe.
Then after update system was asking:
Do boot.

I did
Then:

panic occured.

Now I can only boot the recovery modus.

Thank You.
 

tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
182
Reaction score
86
Credits
1,312
You could make a live ISO and Chroot into your faulty Debian installation. Then from there we can fix your installation
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
682
Reaction score
567
Credits
6,364
Sorry.
I did bad asking.
I did update to Debian 11.
The update was successfull.
Maybe.
Then after update system was asking:
Do boot.

I did
Then:

panic occured.

Now I can only boot the recovery modus.

Thank You.
There are several things that could cause a kernel panic. The first place to look is the logs.

If you can boot up with an older kernel that works, which you may be able to choose from the grub menu, if it appears, then you could look at the logs in /var/log, in particular the files syslog or syslog.1 and kern.log. To get the systemd log run something like:
Code:
journalctl -b1 | less
where -b1 means the boot before last, which I'm presuming is the kernel panic boot, and find the log entries at the time of the panic. The -b has to be adjusted to get the right boot ... see the man page.

Looking towards the end of the logs just before the panic is where some useful info is likely to be.

This command may give info on errors, but there may not be much about the kernel panic itself:
Code:
journalctl -b1 -x -p 3

Kernel panics may not leave lot of info in logs because once they panic they stop outputting, but just a few hints may be helpful.
 

wendy-lebaron

Active Member
Joined
May 3, 2023
Messages
174
Reaction score
41
Credits
2,415
I did the update to Debian 11.
Which operating system were you using before this "update"?

Where are you booting Debian from now?

If the OS was booted with BIOS before the "update" then it might cause a conflict. I'm not technically inclined. I have seen an update failing after 1500 files and four or five times "initramfs" was rebuilt. I didn't even try to reboot with it, just replaced it with something else. Might have to do a full reinstallation.
 
OP
W

wedolearnlinux

New Member
Joined
Mar 29, 2023
Messages
19
Reaction score
0
Credits
150
You could make a live ISO and Chroot into your faulty Debian installation. Then from there we can fix your installation
Thank You.
I did put in DEBIAN LIVE CD and
the same crash.
Im sorry.

Panic occured.


Before there was
DEBIAN 10.
 
OP
W

wedolearnlinux

New Member
Joined
Mar 29, 2023
Messages
19
Reaction score
0
Credits
150
Id dis this find in www
but I dont understand
or
or

Thank You

Who can help
step by step.
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
682
Reaction score
567
Credits
6,364
Id dis this find in www
but I dont understand
If you don't understand the info on the links, then another alternative is to reinstall, and presumably, since the machine did work before, that it continues to. Perhaps just stay on debian stable where the updating is mainly just security matters and bug fixes. Currently debian bookworm is about to become debian stable so you could install the current bookworm with some confidence, and it's a relatively up to date distribution with a reliable 6.1 kernel.
 
Last edited:

wendy-lebaron

Active Member
Joined
May 3, 2023
Messages
174
Reaction score
41
Credits
2,415
I agree with osprey.

If you can you could reinstall Debian "Bullseye" v11.7, using an ISO which is only about a month old, found here:


Be aware that in a 64-bit system, this OS will expect to install bootloader via UEFI. So if you were able to boot v10 "Buster" before with BIOS and you only did it that way then it could present a problem for you. If you can spare the entire internal HDD/SSD for it, you should pick "use entire disk" in partition settings of Debian Installer, to make sure an EFI System Partition and Linux "swap" partiton are created and set up properly.

If you install again and you still get a kernel panic then it must be a problem with your hardware. A device failure such as a bad chip (RAM), or something inside the computer not connected properly, or incompatible with the motherboard.
 
OP
W

wedolearnlinux

New Member
Joined
Mar 29, 2023
Messages
19
Reaction score
0
Credits
150
"If you don't understand the info on the links, then another alternative is to reinstall,"

The problem with reinstall is:

I put CD in
Do booting.

Panic occured.

Can You help me?
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
682
Reaction score
567
Credits
6,364
"If you don't understand the info on the links, then another alternative is to reinstall,"

The problem with reinstall is:

I put CD in
Do booting.

Panic occured.

Can You help me?
Is there a problem with the media you are using? Did you verify it with the checksums before running it?
 

wendy-lebaron

Active Member
Joined
May 3, 2023
Messages
174
Reaction score
41
Credits
2,415
One of two things.

Either wedolearnlinux has a computer which is not advanced enough to run Debian v11 "Bullseye" (or v12 "Bookworm"). But probably could run v10 "Buster".

Or the computer suffered an unfortunate malfunction in the process of their trying to install another operating system.

While trying to boot from an ISO which is on CD or an USB drive, if there is a kernel panic, the chance is great there is a hardware problem.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Staff online


Latest posts

Top