kernel panic - computer won't boot [Solved]

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

kernel panic - computer won't boot [Solved]

Post by Jlvs2run »

I updated the Biostar computer from Linux Mint 17.2 to 17.3 from the update manager, then attempted to update the kernel. It kept asking me to do more updates, and then everything froze with kernel panic.

I'm able to get to the Bios, the boot screen and grub but that's it. Trying to install 18.2 from a USB didn't work.
I'd like to salvage some of my files if possible, then will upgrade or replace the computer.

The previous kernel was 3. something but I'm not sure which one. What can I do to get it working again?
Last edited by Jlvs2run on Fri Apr 05, 2019 6:06 pm, edited 1 time in total.
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

User avatar
JoeFootball
Level 8
Level 8
Posts: 2229
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: kernel panic - computer won't boot

Post by JoeFootball »

Jlvs2run wrote:... from Linux Mint 17.2 to 17.3 from the update manager ... The previous kernel was 3. something ...
Support for LM 17.x, and the 3.13.x kernel, are coming to a close in just a couple of weeks, so this is actually timely.
Jlvs2run wrote:What can I do to get it working again?
What's nice about kernel upgrades is that previous versions of the kernel are not replaced, so you can still boot from an older version. From GRUB, you can select Advanced Options, and should be able to select a working version of a previous kernel there to boot from.
Jlvs2run wrote:I'd like to salvage some of my files if possible, then will upgrade or replace the computer.
Given the LM version and its kernel, that's the smart move. Presuming that you don't have backups of your important stuff :shock:, you can boot to a live session of just about any Linux distro and retrieve what you need.

Unless you're eager to replace the computer, know that the matured LM 18.3 is still supported until April 2021. The current 19.x line is supported until April 2023. I'm sure you can find a workable desktop (e.g., Cinnamon, MATE, Xfce) and Linux Mint version for what you have now.

Joe

User avatar
trytip
Level 12
Level 12
Posts: 4246
Joined: Tue Jul 05, 2016 1:20 pm

Re: kernel panic - computer won't boot

Post by trytip »

and then everything froze with kernel panic
when did it freeze? as it was installing you got a kernel panic? why not boot with an older kernel? did you try that? when will people learn how to use timeshift i have it installed in mint 17.3 and mint 17.3 is my main bootloader which i will keep way past the EOL
Image

hcentaur13
Level 4
Level 4
Posts: 463
Joined: Sat May 18, 2013 5:13 pm

Re: kernel panic - computer won't boot

Post by hcentaur13 »

When neither the installed system nor a live system will boot then the computer will be defective. A person that has knowledge about hardware should look at it and repair.

Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

Re: kernel panic - computer won't boot

Post by Jlvs2run »

JoeFootball wrote:
Mon Mar 25, 2019 8:57 am
From GRUB, you can select Advanced Options, and should be able to select a working version of a previous kernel there to boot from.
The boot screen has a grub / root type option at the bottom. I'm not familiar with how to use it.

The three LM 17.3 advanced options are for LM 17.2 on /dev/sda5. The last two modes show 3.16.0-38-generic. All three of these show the kernel panic and don't boot.

I installed LM 18.2 a year+ ago but couldn't get it to boot, as shown in this thread. Thus I kept using 17.2 since it was already working fine.

The first LM 18.2 advanced option goes to a black screen and does nothing. The second option shows a green LM icon in the middle of the screen and does nothing. The recovery mode goes to: Recovery Menu (file system state: read-only), with the following options: resume, clean, dpkg, fsck, grub network, root, system summary.
JoeFootball wrote:
Mon Mar 25, 2019 8:57 am
you can boot to a live session of just about any Linux distro and retrieve what you need.
The computer Bios boot order shows USB first but won't boot my LM 18.2 live USB. However, 18.2 is already on there, somewhere.
JoeFootball wrote:
Mon Mar 25, 2019 8:57 am
Unless you're eager to replace the computer, know that the matured LM 18.3 is still supported until April 2021. The current 19.x line is supported until April 2023. I'm sure you can find a workable desktop (e.g., Cinnamon, MATE, Xfce) and Linux Mint version for what you have now.
That sounds great. I've ordered LM 19.1 and will order LM 18.3 also. I'm definitely eager to update the computer, or else to replace it with a newer one when I get this resolved.
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

User avatar
JoeFootball
Level 8
Level 8
Posts: 2229
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: kernel panic - computer won't boot

Post by JoeFootball »

Jlvs2run wrote:The computer Bios boot order shows USB first but won't boot my LM 18.2 live USB. However, 18.2 is already on there, somewhere.
When you say it won't boot the LM 18.2 USB, does it attempt to and fail? Or does it not recognize the USB drive as bootable at all?

Is this the USB drive that installed LM 18.2 previously? If so, obviously it worked at one time. Regardless, can you boot anything via USB?

The 3.16 kernel was not LTS, so support for that ended long ago. Not sure how that ended up in your LM 17.x system, as it should have been the 3.13 LTS series. (EDIT: Now I see :))

I would say that retrieving your files should be your priority. With that in mind, I would try creating a LM 17.1 bootable USB or DVD, or anything would be sufficient really, and get what you need off there. Then you can wipe the disk and start from scratch.

Joe
Last edited by JoeFootball on Tue Mar 26, 2019 11:44 am, edited 1 time in total.

User avatar
kevin987
Level 4
Level 4
Posts: 346
Joined: Fri Dec 11, 2015 12:35 pm

Re: kernel panic - computer won't boot

Post by kevin987 »

JoeFootball wrote:
Tue Mar 26, 2019 7:36 am
The 3.16 kernel was not LTS, so support for that ended long ago. Not sure how that ended up in your LM 17.x system, as it should have been the 3.13 LTS series.

Joe
Actually Mint 17.2 came with the 3.16x kernel according to Wikipedia.
https://en.wikipedia.org/wiki/Linux_Min ... on_history

You might be surprised how many people never upgrade their kernel using 17.x. Level 5 updates are listed as "Dangerous" in the Preferences menu.
Linux Mint 19.1 (Cinnamon)
LMDE 3 (Cinnamon)
GeckoLinux 150 (Cinnamon)

User avatar
JoeFootball
Level 8
Level 8
Posts: 2229
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: kernel panic - computer won't boot

Post by JoeFootball »

kevin987 wrote:You might be surprised how many people never upgrade their kernel using 17.x. Level 5 updates are listed as "Dangerous" in the Preferences menu.
I suppose an LTS vs. non-LTS kernel becomes irrelevant if such people aren't applying the security updates. :roll:

Joe

Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

Re: kernel panic - computer won't boot

Post by Jlvs2run »

JoeFootball wrote:
Tue Mar 26, 2019 7:36 am
When you say it won't boot the LM 18.2 USB, does it attempt to and fail? Or does it not recognize the USB drive as bootable at all? Is this the USB drive that installed LM 18.2 previously? If so, obviously it worked at one time. Regardless, can you boot anything via USB?
Bios boot is set up to boot USB drives first, but is skipping right over them and going to Sata.
The LM 18.2 live USB is the same one used to install LM on it and the laptop in December of 2017.
The Bios is only recognizing the LM 18.2 USB. It's possible that 17.2 was removed from the other USB.
I would say that retrieving your files should be your priority. With that in mind, I would try creating a LM 17.1 bootable USB or DVD, or anything would be sufficient really, and get what you need off there. Then you can wipe the disk and start from scratch.
I could try creating an older bootable LM, however this Acer laptop is quite slow and outdated, and the desktop Bios appears to not be booting correctly. The only thing that appears consistently is the Recovery Menu for LM 18.2. Is it possible to get 18.2 working from the Recovery Menu and possibly retrieve files from that?

Code: Select all

*Linux Mint 18.2 XFCE 64-bit
Advanced options for Linux Mint 18.2 XFCE 64-bit <-----
Memory test (memtest 86+)
Memory test (memtest 86+, serial console 115200)
Linux Mint 17.2 Rafaela (17.2) (on /dev/sda5)
Advanced options for Linux Mint 17.2 Rafaela (17.2) (on /dev/sda5)
Advanced options goes to:
Linux Mint 18.2 Xfce 64-bit, with Linux 4.8.0-53-generic (recovery mode)

Which goes to:
Recovery Menu (file system state: read-only)

system summary (one of the options) goes to:
=== General Information ===
System mode: Read/Write mode
=== Detailed Disk Usage

Code: Select all

Filesystem   Size    Used    Avail  Use$   Mounted on
udev         3.9G     0      3.9G    0%    /dev
tepfs        799M    9.0M    790M    2%    /run
/dev/sda1    28G     4.7G    22G    18%    /
tmpfs        3.9G     0      3.9G    0%    /dev/shm
tmpfs        5.0M    4.0k    5.0M    1%    /run/lock
tmpfs        3.9G     0      3.9G    0G    /sgs/fs/cgroup
Can anything be done with this?
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

User avatar
kevin987
Level 4
Level 4
Posts: 346
Joined: Fri Dec 11, 2015 12:35 pm

Re: kernel panic - computer won't boot

Post by kevin987 »

Jlvs2run wrote:
Tue Mar 26, 2019 10:25 pm
Bios boot is set up to boot USB drives first, but is skipping right over them and going to Sata.
The LM 18.2 live USB is the same one used to install LM on it and the laptop in December of 2017.
The Bios is only recognizing the LM 18.2 USB. It's possible that 17.2 was removed from the other USB.
You could try pressing the Esc key when booting up the computer to reach the boot menu. It could be a F key also. My screen gives the boot menu and setup bios options, for a only a few seconds though.

If you can get to the boot menu, you can manually choose the USB or SATA to boot from.
Linux Mint 19.1 (Cinnamon)
LMDE 3 (Cinnamon)
GeckoLinux 150 (Cinnamon)

Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

Re: kernel panic - computer won't boot

Post by Jlvs2run »

kevin987 wrote:
Tue Mar 26, 2019 10:40 pm
You could try pressing the Esc key when booting up the computer to reach the boot menu.
If you can get to the boot menu, you can manually choose the USB or SATA to boot from.
The Bios boot menu is already set to boot USB drives first.
However, since the kernel panic, the computer is not booting from the USB drives.
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

User avatar
JoeFootball
Level 8
Level 8
Posts: 2229
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: kernel panic - computer won't boot

Post by JoeFootball »

Jlvs2run wrote:Is it possible to get 18.2 working from the Recovery Menu and possibly retrieve files from that?
I'm not going to say that it's impossible, but I wouldn't know where to begin given that is an installation which has never booted at all, so efforts may be futile.

I don't think that I'd be able to conclude that a computer couldn't boot from USB at all based upon one USB drive. What if that USB drive is no longer bootable for whatever reason, which I suspect, and is therefore skipped in the boot order. Could you try to boot that USB drive on another computer? Could you try to boot the Biostar via USB with another USB drive? This would narrow down where the fault lies.

Another challenge is that all your installed kernels for LM 17 are going into kernel panic, when at least one of them formally did not. :? I don't know if there's a resolution here either.

I still think your priority should be retrieving you non-backed-up files from the hard drive, where you can then wipe the hard drive and start anew. With that, I'd say the easiest way is to boot to just about any live session using something other than that suspect LM 18.2 USB drive, which produced a faulty installation no less.

Joe

Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

Re: kernel panic - computer won't boot

Post by Jlvs2run »

JoeFootball wrote:
Wed Mar 27, 2019 7:41 am
I still think your priority should be retrieving you non-backed-up files from the hard drive, where you can then wipe the hard drive and start anew. With that, I'd say the easiest way is to boot to just about any live session using something other than that suspect LM 18.2 USB drive, which produced a faulty installation no less.
The LM 18.2 USB previously installed on this Acer, but now isn't booting on it either. 😯

I've erased the USB, created a partition, saved, and formatted with FAT32.
Should I use LM 18.3 or 19.1 for the live USB? Thanks much for all the help and suggestions.
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

User avatar
kevin987
Level 4
Level 4
Posts: 346
Joined: Fri Dec 11, 2015 12:35 pm

Re: kernel panic - computer won't boot

Post by kevin987 »

Jlvs2run wrote:
Wed Mar 27, 2019 7:59 pm
I've erased the USB, created a partition, saved, and formatted with FAT32.
Should I use LM 18.3 or 19.1 for the live USB? Thanks much for all the help and suggestions.
You might as well go with 19.1 since its support is through April 2023.

If possible it might be a good idea to max the RAM out at 4 GB also.
Linux Mint 19.1 (Cinnamon)
LMDE 3 (Cinnamon)
GeckoLinux 150 (Cinnamon)

Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

Re: kernel panic - computer won't boot

Post by Jlvs2run »

kevin987 wrote:
Wed Mar 27, 2019 8:14 pm
You might as well go with 19.1 since its support is through April 2023.
If possible it might be a good idea to max the RAM out at 4 GB also.
Thanks. Do you mean this might not work on the Acer with only 3 GB ram?
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

User avatar
kevin987
Level 4
Level 4
Posts: 346
Joined: Fri Dec 11, 2015 12:35 pm

Re: kernel panic - computer won't boot

Post by kevin987 »

Jlvs2run wrote:
Wed Mar 27, 2019 8:35 pm
kevin987 wrote:
Wed Mar 27, 2019 8:14 pm
You might as well go with 19.1 since its support is through April 2023.
If possible it might be a good idea to max the RAM out at 4 GB also.
Thanks. Do you mean this might not work on the Acer with only 3 GB ram?
19.1 Xfce might run a little slower than 17 and 18. Nothing wrong with trying it with 3 GB to see if it's ok. Older machines can use all the RAM they can get. Web browsers and some other software need more resources as time passes.

19.1 Cinnamon you would need 4 GB more than likely.
Linux Mint 19.1 (Cinnamon)
LMDE 3 (Cinnamon)
GeckoLinux 150 (Cinnamon)

User avatar
JoeFootball
Level 8
Level 8
Posts: 2229
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: kernel panic - computer won't boot

Post by JoeFootball »

Jlvs2run wrote:Do you mean this might not work on the Acer with only 3 GB ram?
If you're focusing on just getting a live session going to retrieve your files, I'd go with whatever works. Given that you had success with the 17.x series, I'd start there.

Once you get what you need off the hard drive, then you can assess what might be best for installation.

Joe

Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

Re: kernel panic - computer won't boot

Post by Jlvs2run »

Progress is made! Creation of the live USB took quite a long time on the Acer. I finally got LM18.3 installed
on the Biostar last night, and it works. The main issue right now is that shutting down takes me back to the login
screen to sign back on, so I have to pull the plug to get the computer to turn off. Besides that, the computer works fine.

Is it possible to retrive my previous files, and if so, how can I do this?
I'd like to keep LM 18.3 with my files, maybe in a smaller sda1, and then remove everything else.
An option then is to convert or shelve the Biostar, and run the peripherals from an energy efficient laptop / Thinkpad type of setup.

Code: Select all

# fdisk -l
Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048  58593279  58591232    28G 83 Linux 
/dev/sda4        58595326 488396799 429801474   205G  5 Extended
/dev/sda5       164835328 213020671  48185344    23G 83 Linux
/dev/sda6        58595328 148436991  89841664  42.9G 83 Linux
/dev/sda7       148439040 164827135  16388096   7.8G 82 Linux swap / Solaris
/dev/sda8       164829184 164835327      6144     3M 83 Linux
/dev/sda9       213022720 488396799 275374080 131.3G 83 Linux <--------------------------- LM 18.3 new install

Partition table entries are not in disk order.
#

Code: Select all

$ df --total -hl
Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G     0  3.9G   0% /dev
tmpfs           799M  9.3M  789M   2% /run
/dev/sda9       130G  5.7G  117G   5% / <---------------------------- LM 18.3 new install
tmpfs           3.9G   15M  3.9G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           799M   44K  799M   1% /run/user/1000
total           143G  5.8G  131G   5%
$

Code: Select all

$ blkid
/dev/sda1: LABEL="mint 18.2" UUID="158cf058-ff05-493f-83ca-38d7a7071d6c" TYPE="ext4" PARTUUID="000f0dd1-01"
/dev/sda5: LABEL="mint 17.2" UUID="f2679b98-970b-4b8e-bad8-860f554d7c2e" TYPE="ext4" PARTUUID="000f0dd1-05"
/dev/sda6: LABEL="home" UUID="290fc331-ebd2-45bf-ba77-9dd59fbd6f85" TYPE="ext4" PARTUUID="000f0dd1-06"
/dev/sda7: UUID="f17ab5c7-3d4e-443c-9d12-f65b78dd0e35" TYPE="swap" PARTUUID="000f0dd1-07"
/dev/sda8: UUID="6df867ed-0ba3-4e40-b8f8-eaa8b9ac3da8" TYPE="ext4" PARTUUID="000f0dd1-08"
/dev/sda9: UUID="52327154-794a-4a14-8f4b-34fe3e6f8c41" TYPE="ext4" PARTUUID="000f0dd1-09"$
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

User avatar
JoeFootball
Level 8
Level 8
Posts: 2229
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: kernel panic - computer won't boot

Post by JoeFootball »

Jlvs2run wrote:..,so I have to pull the plug to get the computer to turn off.
You'll end up corrupting your file system sooner or later that way. Best to invoke shutdown via holding down the Alt key (the left one seems to work more reliably for this, for me at least), then press SysRq (often shared with the PrtSc key, but not always) r e i s u o, waiting a second or two between keystrokes. This should shut your system down cleanly. More info here and here.
Jlvs2run wrote:Is it possible to retrive my previous files, and if so, how can I do this?
As long as you didn't format or overwrite any existing partitions, the data should be there. Just mount the partition(s), and navigate to where your files are, and copy them off the hard drive.

What I was trying to suggest is retrieving your files via a live session without installation. Once your files were safely off your hard drive, you could then wipe the disk, and start fresh. It looks like you have several partitions on there that you may not need anymore, so it might be in your best interest to consider that route, as it seems to be the simplest, to me at least.

You should also consider a good backup plan going forward. All hard drives will fail, given enough time. :)

Joe

Jlvs2run
Level 3
Level 3
Posts: 143
Joined: Wed Sep 16, 2015 11:16 pm

Re: kernel panic - computer won't boot

Post by Jlvs2run »

JoeFootball wrote:
Sat Mar 30, 2019 9:35 am
You'll end up corrupting your file system sooner or later that way. Best to invoke shutdown via holding down the Alt key (the left one seems to work more reliably for this, for me at least), then press SysRq (often shared with the PrtSc key, but not always) r e i s u o, waiting a second or two between keystrokes. This should shut your system down cleanly. More info here and here.
That's very helpful and an excellent reference. Thank you.
I put a basic shut down icon on the Acer panel, but haven't been able to find it in the new software manager.
JoeFootball wrote:
Sat Mar 30, 2019 9:35 am
As long as you didn't format or overwrite any existing partitions, the data should be there. Just mount the partition(s), and navigate to where your files are, and copy them off the hard drive.

What I was trying to suggest is retrieving your files via a live session without installation. Once your files were safely off your hard drive, you could then wipe the disk, and start fresh. It looks like you have several partitions on there that you may not need anymore, so it might be in your best interest to consider that route, as it seems to be the simplest, to me at least.
Yes, that's exactly what I'd like to do.
Can you tell me the steps to find the files and then copy them? Are they copied to the live USB?

I'm not sure of this yet, but might use the Thinkpad with peripherals, keep the Biostar for backup, and pass along the Acer to a friend.
LM 18.3 xfce / lenovo T520 / 8gb ram / 240gb ssd
LM 18.3 xfce / biostar a870u3 / amd athlon II x2 250 / 8gb ram / nvidia gt218 geforce 210 /

Post Reply

Return to “Installation & Boot”