How can I repair a corrupt kernel if no others are installed?
Posted
by
Willi Ballenthin
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Willi Ballenthin
Published on 2011-03-09T21:14:28Z
Indexed on
2011/03/10
0:18 UTC
Read the original article
Hit count: 266
I've been running Ubuntu 10.04 on my laptop for quite some time. When I went to boot it up this morning, BAM! kernel panic (which immediately lead to human panic) when loading the kernel.
So I've spent much of the day troubleshooting, and my current theory is that the FS is fine, but that the kernel image may be corrupt. Let's go with this current theory for the sake of this question, as I am interested how it is done.
How can I replace the kernel image if I have no bootable kernels?
Can I boot to a 10.04 live CD, copy the the vmlinuz-2.6.3x... to the HD and go from there?
Wouldn't I want to copy the initramfs as well, but configured for the desktop system?
Can I generate this from the live CD?
© Ask Ubuntu or respective owner