-----BEGIN PGP SIGNED MESSAGE-----
If it was only the initramfs that was damaged, forcing it to be
recreated should solve it ([sudo] dpkg-reconfigure
If that doesn't work, try forcing apt to reinstall the kernel. ([sudo]
apt-get install --reinstall linux-image-2.6.20-16-generic).
sudo only needed if you're not root already (Yeah, I know with Ubuntu
you should sudo everything but nuts to that, I always just su!)
John Kinsella wrote:
> due to (I am guessing) some kind of hard power off during boot of
> Ubuntu Feisty Fawn 7.04 my kernel
> was corrupted.
>> I used fsck in single-user mode to check the /boot filesystem and
> repair it - this is when I discovered that
> initrd.img-2.6.20-16-generic and related files were damaged.
>> As grub is my boot loader I can just choose an earlier-installed
> kernel and boot the system to (eg) kernel 2.6.20-15
>> But when I tried (using Synaptic Package Manager) to re-install
> kernel 2.6.20-16 no files were installed.
>> Should I manually delete the damaged kernel files and try again?
>> Thanks for any advice,
>-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!