LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re-install damaged kernel under Ubuntu?

[ILUG] Re-install damaged kernel under Ubuntu?

Cian Davis davisc at skynet.ie
Mon Sep 24 16:45:19 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 

John,
If it was only the initramfs that was damaged, forcing it to be
recreated should solve it ([sudo] dpkg-reconfigure
linux-image-2.6.20-16-generic)

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!)

Regards,
Cian


John Kinsella wrote:
> Hi,
> due to (I am guessing) some kind of hard power off during boot of
> Ubuntu Feisty Fawn 7.04 my kernel
> /boot/initrd.img-2.6.20-16-generic
> 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,
>
> John
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFG99uP2yUma7R/3b8RAqsUAKDJTlyhBDX9Kx2Y+z56Kl4Ip9IxJQCfS9t+
DOEJg8Bh+u5TE8NJ9P4JiqU=
=Nvyw
-----END PGP SIGNATURE-----




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell