Kernel Panic !

Kernel Panic Linux Mint
Linux mint is the Best choice among all the Linux distro and Personally i prefer everyone to use it. The User Interface of Linux mint is much similar to Windows 7 and it is highly can be customize as per our preference. It is based on Debian and much advanced than Ubuntu. I am using Linux mint from last 6
year and i had tried almost every possible tweaks on it. If your Laptop contain the best support then you can change its Desktop Environment to Plasma to get best of the best experiences. But sometime using Linux mint shows a small problem while shutting down.  If you check the log then you will find something Kernel panic. I am not pretty sure why it appears but with my research on this topic i found the best solution for this. Some time It is solved with one Technique and sometime it doesn't.  On the Forum of Ubuntu you will fine there a slight modification on GRUB and update but on my case i tried it. Actually when i use my laptop full day then it shows the freezing problem during shutdown. If you ever faced this problem then you can try the following step. 

First of all open the terminal (Ctrl+Alt+T) and Type;

$ sudo nano /etc/default/grub

When you will type this command then,

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" <----(HINT: It's this one!)

GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

You will be getting this Screen and You need to add the line ="quiet splash" Manually.

as you do it. Just update the GRUB typing the command

$ sudo update-grub


Next


After that you need to make a slight change on another place for that you type following command.

$ sudo nano /etc/systemd/system.conf.d/50_linuxmint.conf


then you will find 
# To override these values, create your own file in /etc/systemd/systemd.conf.d>
# Reload configuration with "sudo systemctl daemon-reload"
# Test with "systemctl show"

[Manager]

# Reduce shutdown timeout from 90s to 10s.
# If you rely on important tasks to successfully finish during the shutdown seq>
DefaultTimeoutStopSec=100s   <-- By default it will be 10s

# Rationale:
# This is done for the following reasons:
# - 90s is too long for users to wait (they think it's hanging indefinitely, an>
# - Cups, minidlna have made this a buggy mess for years now and there's no sig>
# - This is a workaround many people have used in Mint, Ubuntu, Arch, Fedora an>
# timeout is known to possibly affect the journal, no adverse effects were repo>
# - For our audience (desktop users), this makes a lot of sense. It would be di>
# scripts to perform important tasks, but for most people this fixes a very imp>

You can see the DefaultTimeoutStopSec=10s and you need to change it to 100s.

and save it pressing Ctrl+X and press enter. You will get your Problem solved

Share this

Related Posts

Previous
Next Post »