I urgently need help with this here!
4 years old server.
Ubuntu 14.04 server i686.
Linux 3.13.0-149-generic was the last version to run flawlessly.
10 days ago, I upgraded to 3.13.0.151.
Server crashes then on boot.
Screen shows ...
Loading Linux 3.13.0-151-generic ...
Loading initial ramdisk ...
1 second later ... reboot.
Same with 3.13.0-151 recovery mode.
Same with 3.13.0-153 (most recent as of today, normal and recovery mode).
How can I find out, after subsequent successful 3.13.0-149 bootup, what exactly generates the crash?
Thanks!
----- later -----
@heynnema tried to help me out by telling me how to construct a new initrd.img-*
for 151 (update-initramfs -c -k 3.13.0-151-generic
). See below. This didn't work. 151 still didn't make the system boot. My fatal mistake was then to say update-initramfs -c -k 3.13.0-149-generic
(the only working kernel). After that, I was stuck. No kernel to boot from anymore! Same probem with ramdisk as for 151 and 153.
After that, I started a Live DVD (ubuntu-14.04.5-desktop-i386.iso
) on the stuck system, mounted an old 14.05.5 VM with 3.13 kernels on another computer, updated these (apt-get dist-upgrade
), copied the resulting initrd.img-3.13.0-153-generic
(latest kernel) to the stuck system ('/boot') and the it booted again (with 153)! This was to my big surprise, not knowing that the initrd.img-*
from a VM would work on a real hardware! However I was still unable to boot from 149 and 151 (which makes sense).
All of the above was just to get the system up and working again. The problem itself is not solved!
Bottomline:
update-initramfs
uses data (files) on the system to build initrd.img-*
. On my box, this makes it impossible to get further than "Loading initial ramdisk ...".
Questions:
Which files are used by update-initramfs
?
Can I (?!) do something to create a build again a working initrd.img-3.13.0-153-generic
?
As long as this problem is not solved, future built initrd-img-*
files will almost certainly also crash!
terminal
typesudo update-initramfs -c -k 3.13.0-151
, then reboot to -151, and see if that fixes the problem. Report back to @heynnema. – heynnema Jul 04 '18 at 20:33update-initramfs -c -k 3.13.0-151-generic
didn't work. Actually no surprise since/boot/config-3.13.0-*-generic
(all 3 config files - 149, 151 and 153) don't show any differences (except version numbers). – geohei Jul 05 '18 at 15:16lsinitramfs <initramfsfile>
will show what you want to see. – heynnema Jul 05 '18 at 19:58