[SOLVED] Kernel Panic when reboot after change in elilo.conf to hibernate
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and everything worked fine, it loaded where I was working.
The problem was when I did
Code:
# reboot
Now my laptop is in Kernel Panic.
I forced a reset but the problem continues
What I can do now?
Notes: I cannot access my laptop files right now since it is in kernel panic, but I remember in elilo.conf a line before I added (to load at swap partiton) like this:
You don't provide the actual panic message. Is it something like "can't find root partition"? That seems the likeliest cause of a panic after your modifications.
You need to boot from another device such as a dvd or memory stick and check your elilo.conf file. If you have accidentally deleted or damaged the line that specifies the root partition, that could be the cause of your problem.
Also, are you using the generic kernel with an initrd or the huge kernel booting directly to the hard drive?
If you are not using an initrd, the kernel is entirely dependent on elilo for passing it the root device name. I suspect that you have accidentally deleted that line from elilo.conf. If so, it's not a big problem. You just have to edit it back in again.
/boot/efi is empty because it's a mount point. The EFI system partition can be mounted there when required, but it isn't mounted by default. You have to mount it by hand (as root). You can do that from Ubuntu. You don't need to mount your Slackware partition at all; just mount the ESP on Ubuntu's /boot/efi. Then you can take a good look at elilo.conf and see if it passes the root partition correctly. Incidently, the reason Slackware's /proc directory was empty is because you weren't running Slackware when you looked. All the proc stuff from the kernel was in Ubuntu's /proc.
In your panic output, I think the actual error message comes just before the backtrace that you printed.
I'm not sure addappend works in elilo. But there were already three kernel commandline parameters in the append command, so why not put the fourth there, too, like this:
With LILO, the kernel configuration parameter for additional append lines goes like this:
Code:
addappend="resume=/dev/sda5"
I imagine that your second append-line obliterated the first, and so the kernel does not know where the root partition is.
I add
Code:
addappend
and it doesn't work with elilo, not a Kernel Panic but I cannot boot
Quote:
Originally Posted by Petri Kaukasoina
I'm not sure addappend works in elilo. But there were already three kernel commandline parameters in the append command, so why not put the fourth there, too, like this:
So this is the cause: only one append line is allowed, more than one, and with elilo resuming from hibernating works, but a simple reboot it will get a kernel panic.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.