LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2023, 01:42 PM   #16
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068

https://paste.debian.net/
https://pastebin.com/
 
Old 11-28-2023, 02:23 PM   #17
Racho
Member
 
Registered: Oct 2021
Posts: 59

Rep: Reputation: Disabled
Hi beginstart

If I were you, I would use a live distro to backup all my documents.
And then, install from scratch a beginner-friendly distro.
This can be easier and faster than trying to fix the problem.

There are a lot of distros to try, a good one is linux mint cinnamon edition. It also runs as a live distro before the install so you can do any backup and try it before install.
 
Old 11-29-2023, 12:12 PM   #18
beginstart
Member
 
Registered: Nov 2023
Posts: 92

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Racho View Post
Hi beginstart

If I were you, I would use a live distro to backup all my documents.
And then, install from scratch a beginner-friendly distro.
This can be easier and faster than trying to fix the problem.

There are a lot of distros to try, a good one is linux mint cinnamon edition. It also runs as a live distro before the install so you can do any backup and try it before install.

Im sorry.
We do backup every day.
So data files are no problem.
So my first idea was
download Debian 11
burn it

boot with DVD
and make a new Debian.

This didnt work.

Only recovery does his job.

Im sorry.
Thank You.


https://paste.debian.net/
https://pastebin.com/
This is for long messages/files,
isnt it.
Thank You.
 
Old 11-29-2023, 12:47 PM   #19
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
I asked in post 9 if Debian ever booted successfully. What I meant was did the upgrade to Debian 11 ever boot successully. If you did the update/upgrade from within the older Debian using apt get, it should have installed new Grub files and updated Grub before the installation finished.

A possible reason for the kernel panic is the grub menuentry pointing to an old kernel which no longer exists. Look at the menuentry when booting as explained above, then boot a 'live' system and check the /boot directory on Debian to see what vmlinuz (kernel) files are there.

No one here can be more specific as you are the only one with that information.
 
Old 11-30-2023, 08:59 AM   #20
beginstart
Member
 
Registered: Nov 2023
Posts: 92

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
I asked in post 9 if Debian ever booted successfully. What I meant was did the upgrade to Debian 11 ever boot successully. If you did the update/upgrade from within the older Debian using apt get, it should have installed new Grub files and updated Grub before the installation finished.

A possible reason for the kernel panic is the grub menuentry pointing to an old kernel which no longer exists. Look at the menuentry when booting as explained above, then boot a 'live' system and check the /boot directory on Debian to see what vmlinuz (kernel) files are there.

No one here can be more specific as you are the only one with that information.
Sorry.

I have to study all.
Short naswer.
" asked in post 9 if Debian ever booted successfully. What I meant was did the upgrade to Debian 11 ever boot successully. If you did the update/upgrade from within the older Debian using apt get, it should have installed new Grub files and updated Grub before the installation finished."

Old Debian.
Boot ok.
Also after some updates upgrades.

Fresh update to 11.
update upgrade on HD.
Debian said:
Update successful,
please boot for complete.
Panic.
Again my stupid question.
Is it easy for newbie:
Boot in recovery.
Debian is active.
I do copy system files and post them here for find the bug.

Thank You all.
Regards.

Short:
Never DEBIAN 11 could boot "normal".
 
Old 11-30-2023, 10:48 AM   #21
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
There isn't enough information for us to know exactly what the problem is. Did you try what I suggested in the second paragraph of my earlier post, #19?
 
Old 11-30-2023, 04:23 PM   #22
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,830
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Don't panic, you need to analyze this problem. The best way to do that is with a "live CD" or "rescue cd", Slackware just happens to work excellently as a rescue "cd" as well as a distro. So I suggest that if you can, you download it and put it on a DVD or USB.

You need to boot into such a disk and analyze your situation, in particular your partition situation. Are they there? Can you mount them? Is the content there? If so, everything should be fine, so take care not to destroy things further. With Slackware, you can boot from the disk using the disc Kernel and setting your root partition to any available partition on your system. This is very handy in case there is something wrong with your Kernel and/or boot process.

From such a disk, you can do a range of things, you can repair your system and/or your grub setup, or backup files and many other things.
 
Old 11-30-2023, 06:51 PM   #23
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
Fresh update to 11.
Maybe the upgrade didn't complete,
Code:
apt upgrade 
apt dist-upgrade
 
Old 12-01-2023, 10:55 AM   #24
beginstart
Member
 
Registered: Nov 2023
Posts: 92

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
Maybe the upgrade didn't complete,
Code:
apt upgrade 
apt dist-upgrade
This sounds very easy.
I ll try it.

The other post I can only understand 90%.
If the update fails
I ll ask for details.
Thank You.

Only this 2 tasks
I have to do.

apt upgrade
apt dist-upgrade
 
Old 12-01-2023, 08:21 PM   #25
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
You can try those two commands as root or sudo.

Another thing you can try:
The current Debian is version 12 available from a mirror site near you if you want to do a fresh install of the latest.

If you prefer to stay with Debian 11, you can get installation media from here. Choose the latest version which is 11.8.0

If you would like to try repairing the current upgraded installation you have, I suggest just downloading the CD image, which should be around 450/550 MB, (Netinstall image), burn it to a USB stick, boot the stick and select Advanced/Rescue/Repair Grub or repair boot loader. It will go through a few questions similar to installing Debian but will eventually ask which drive is the Debian root drive, you will enter the proper information and if you have a UEFI based system you will be asked if you want to also mount the EFI boot partition to which you select yes. If everything goes correctly, I believe it'll just fall back to the rescue menu when done where you select "Reboot".

Last edited by Brains; 12-01-2023 at 08:25 PM.
 
Old 12-02-2023, 12:22 PM   #26
beginstart
Member
 
Registered: Nov 2023
Posts: 92

Original Poster
Rep: Reputation: 0
Thank You for Your patience.


I do check these strange tasks.

I did find:


vmlinuz
https://debian-handbook.info/browse/...tallation.html



boot with e
https://www.redhat.com/sysadmin/inte...x-boot-process


efibootmgr
https://packages.debian.org/de/sid/efibootmgr


paste.debian.net but pastebin.com sounds more easy.



But I dont understand what do I have to do.
Please an instruction
I can follow.

I did update upgrade dist
problem us the same.


I try to follow:


If you would like to try repairing the current upgraded installation you have, I suggest just downloading the CD image, which should be around 450/550 MB, (Netinstall image), burn it to a USB stick,

Isnt it more easy to burn on CD or DVD?

boot the stick and select Advanced/Rescue/Repair

OK

Grub or repair boot loader. It will go through a few questions similar to installing Debian but will eventually ask which drive is the Debian root drive,

What is the answer?


you will enter the proper information and if you have a UEFI


Do I?
How can I check this?


based system you will be asked if you want to also mount the EFI boot partition to which you select yes.

Only a "yes.

If everything goes correctly, I believe it'll just fall back to the rescue menu when done where you select "Reboot"

OK.
 
Old 12-02-2023, 12:49 PM   #27
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,813
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Code:
# efibootmgr
EFI variables are not supported on this system.
#
When you run the efibootmgr command and get the above response, you are not booted in UEFI mode. However, when booted from CD, DVD or USB, it is not determinative of whether the installed system is installed for UEFI mode. In such case, examine the content of /etc/fstab on the / filesystem of the installed system. If there is a line containing /boot/efi, then the installed system was configured for UEFI booting.
 
Old 12-02-2023, 01:34 PM   #28
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
If running a 32 bit system it seems almost certain that the PC would not boot into efi mode. After all those systems did not have support for efi as that was a bios update to support 64 bit systems.

In the first post the OP said he was using debian 11 and 32 bit.
In later posts he said he had upgraded from [debian] 7 to 8 and so on.
 
1 members found this post helpful.
Old 12-03-2023, 06:07 AM   #29
beginstart
Member
 
Registered: Nov 2023
Posts: 92

Original Poster
Rep: Reputation: 0
Im sorry.
Im confused.
DEBIAN was installed long time ago.
I dont know why
I did install 32 bit.
I did install LXDE
because it looks most easy
and I can do gedit
gimp
firefox
and thunderburd.

No speicual software is installed, only the "classics".


Please tell me a task
not dangerous
I can check the system or the system files.

And until the last but one update.
I was looking for help for update
but it worked.

I think
not important.
Once a week I do the normal update.
This is working.

Thank You all and a relaxed Sunday.
 
Old 12-03-2023, 12:04 PM   #30
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
My understanding of your problem is that you updated/upgraded to Debian 11 and since that time have been unable to boot unless you select recovery mode. Is that correct? If so, boot in recovery mode and open a terminal. In the terminal run the following command and post the output here:

Code:
ls /boot
Make a note of the output or put it in a text file. It will show files in that directory including the kernels, files beginning with vmlinuz. Then go to the /boot/grub/grub.cfg file and scroll down to the first menuentry and check whether the kernel (line beginning with linux) for the first entry is shown in the previous ls command. You could also copy and paste the menuentry which is problematic, at least the line beginning with linux.

Did the upgrade also update grub when you did it? I don't use Debian so...? I would expect that it would if there was a new kernel installed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 'I'm sorry, your lift has had a problem and had to shut down' LXer Syndicated Linux News 0 09-05-2016 07:20 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Hello. I've had this computer for five years and have had MANY different distros on i graeyhat Linux - Desktop 2 10-08-2013 01:12 AM
I had a windows xp pro 64 & ubuntu 10.4 dual boot in which I had to reload windows. JEBUP2JE Ubuntu 2 09-24-2010 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration