Web lists-archives.com

Re: Kernel problem?




Rob Hurle composed on 2018-01-07 13:58 (UTC+1100):

>   I'm running Stretch and yesterday I did my normal:

> sudo apt-get update
> sudo apt-get upgrade

> It seemed to install vmlinuz-4.9.0-5-686-pae (and associated config and
> image files, etc) in place of 4.9.0-4-686-pae versions.  Now the system
> won't boot at all.  I have reverted to 4.9.0-4-686-pae and all is well.  My
> questions are:

> 1.  Does anyone else see this?

> 2.  How can I revert without losing my working 4.9.0-4-686-pae system?  Can
> I just change the soft links for initrd.img and vmlinuz at / to point to
> the 4.9.0-4-686-pae versions instead of the 4.9.0-5-686-pae ones?  Will
> this break something else for a future upgrade?

> Any help much appreciated.  Thank you.                        


Here's a portion of /boot/ on one I just updated minutes ago:

lrwxrwxrwx  1       26 Jan  9 17:47 initrd -> initrd.img-4.9.0-5-686-pae
lrwxrwxrwx  1       26 Jan  9 17:47 initrd-cur -> initrd.img-4.9.0-5-686-pae
-rw-r--r--  1 17388979 Jan  9 17:45 initrd.img-4.9.0-4-686-pae
-rw-r--r--  1 17067283 Oct 21 03:00 .initrd.img-4.9.0-4-686-pae1
-rw-r--r--  1 17388194 Oct 21 04:51 .initrd.img-4.9.0-4-686-pae2
-rw-r--r--  1 17388979 Jan  9 17:45 .initrd.img-4.9.0-4-686-pae3
-rw-r--r--  1 17392772 Jan  9 17:44 initrd.img-4.9.0-5-686-pae
-rw-r--r--  1 17392772 Jan  9 17:44 .initrd.img-4.9.0-5-686-pae1
lrwxrwxrwx  1       26 Oct 21 03:18 initrd-prv -> initrd.img-4.9.0-4-686-pae
lrwxrwxrwx  1       23 Jan  9 17:47 vmlinuz -> vmlinuz-4.9.0-5-686-pae
-rw-r--r--  1  3643920 Dec 22 19:39 vmlinuz-4.9.0-4-686-pae
-rw-r--r--  1  3645296 Jan  4 06:12 vmlinuz-4.9.0-5-686-pae
lrwxrwxrwx  1       23 Jan  9 17:46 vmlinuz-cur -> vmlinuz-4.9.0-5-686-pae
lrwxrwxrwx  1       23 Oct 21 03:18 vmlinuz-prv -> vmlinuz-4.9.0-4-686-pae

Note the additional symlinks, and the in-place initrd backups. If what happened
to you happened to me, and I was unable to rebuild the 4.9.0.5 initrd or
anything else to solve the problem, I would purge the 4.9.0.5 kernel, delete the
-cur symlinks, and copy the -prv symlinks back to vmlinuz and initrd. If and
when an update brings a 4.9.0.6 or newer kernel, the 4.9.0.4 would be retained,
as 4.9.0.5 would have if it hadn't been purged.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/