Debian update failed

Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
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
248
Reaction score
123
Credits
1,748
what's the output of:
Code:
sudo apt-get update && sudo apt-get -y dist-upgrade
?
 
OP
W
Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
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.
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
905
Reaction score
847
Credits
8,547
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
338
Reaction score
100
Credits
4,524
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
Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
OP
W
Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
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
905
Reaction score
847
Credits
8,547
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
338
Reaction score
100
Credits
4,524
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
Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
"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
905
Reaction score
847
Credits
8,547
"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
338
Reaction score
100
Credits
4,524
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.
 
OP
W
Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
I did install Debian 8.
Ok
Update to 9.
OK
Update to 10
"panic".
So I tried update to 11.
Same problem.

What do I have to do?


Is there a checksoftware
can the PC use 10 or 11?

We do use LXDE 32 bit.
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,633
Reaction score
3,121
Credits
34,429
OK go back to your debian8/9 [either will do] open a terminal and type inxi -Fnxxz and enter, then copy and paste the results back, this will tell us what we need to know about your computer
 
OP
W
Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
What will happen with software
when I kill Debian 11 and 10 and I ll go back to 9?
Thank You
Regards



Can those threads help?


 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,633
Reaction score
3,121
Credits
34,429
at the moment you do not have to re-install 8/9, all you need to do is run it live from a Pen-drive as you would testing, make sure you connect to the internet, then run inxi if it is not installed you can do so from the software manage [it will install to your ram the same as the live os. so will not change anything]
 
OP
W
Joined
Mar 29, 2023
Messages
41
Reaction score
3
Credits
297
Thank You.
2 questions.
1
Can i do/start inxi now?
2
I do download Debian 9 to the HD
Then from there I create a starting USB USB.
What do I have to do when there is panic?

Regards
Thank You.


I did read Debian 11 can use every hardware.
Is this wrong?

Debian 11 is running on every hardwre,
is thw
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,633
Reaction score
3,121
Credits
34,429
at the moment you do not have to re-install 8/9, all you need to do is run it live from a Pen-drive as you would testing, make sure you connect to the internet, then run inxi if it is not installed you can do so from the software manage [it will install to your ram the same as the live os. so will not change anything] you do not even need to use Debian, 8/9 for this exercise you can use Ubuntu, Mint, MX, Parrot or even a 32 bit distro like mx-32, peppermint respin, Debian 32 bit, they all have inxi in their repos's, just download one to a working computer and use Balena etcher, to write the bootable ISO
 

Members online


Top