Readers of AskWoody will be familiar with the problems caused by recent Windows Updates, but last week I had the misfortune to receive a Software Update that scuppered my Xubuntu installation.
I’m running Xubuntu 18.04 (32 bit) on a Dell Latitude D600, where it dual boots with Windows XP – no Microsoft malware for that, nowadays! Unfortunately, I can’t precisely identify the source of the problem, as Linux Software Updates don’t come with any ID, like the Microsoft KB system, but attached is a screenshot of the offending update.
When I installed the update the PC needed to reboot. On rebooting I noticed some screen interference and then the familiar blue Xubuntu splash screen failed to appear. The system then hung at a blank screen, with no option but to power off.
On powering up again the boot process seemed to enter a diagnostic mode (sorry I can’t be more precise as I’m not that familiar with Linux; I’ve only been experimenting with Linux systems for a couple of months) and Xubuntu did eventually start. If I then did a normal shut-down and restarted, the same boot problems repeated.
Fortunately, I had a recent disk image made with Macrium Reflect, so I reversed the software update by restoring the Xubuntu partition. Using the Macrium Reflect Rescue Media, I deleted the Ext4 and Linux Swap partitions and replaced them with those from the backup; I didn’t touch the Windows partition at all.
After restarting, I tried installing the Software Update again and got the same problems as before.
At some stage during the boot process I got an uncontrollable scrolling of gobbledegook which eventually stopped. On the screen were lines such as “BUG: unable to handle kernel paging request at 0274be07” and “Thread overran stack, or stack corrupted.”
When I booted from the “Advanced options for Ubuntu” menu I had several choices. When I booted using “Ubuntu, with Linux 4.15.0-18 (generic)” or “Ubuntu, with Linux 4.15.0-47 (generic)” the system booted normally. Both of these options were present before the software update. However, if I booted with the option “Ubuntu, with Linux 4.15.0-48 (generic)”, which appeared after the update, the system hung, as described.
A very useful website for those new to Linux is the Easy Linux Tips Project (https://easylinuxtipsproject.blogspot.com/p/1.html). I had previously read something here about locking the kernel version (https://easylinuxtipsproject.blogspot.com/p/first-xubuntu.html#ID2.10), and since the problem seemed to be related to the latest kernel installed by the update, I decided to give it a try.
Once again, I restored the Xubuntu and Swap partitions as described above, locked the kernel version as described on the website and then ran Software Update. I got the same update as previously, but this time I noticed that some of the items in the update list were deselected. I ran the updater, which required a reboot, and this time the PC booted normally. The “Advanced options for Ubuntu” menu showed no signs of the troublesome option “Ubuntu, with Linux 4.15.0-48 (generic)”.
So hopefully, problem solved.
It looks like the option to lock the kernel version applies to Ubuntu as well, but the Easy Linux Tips Project website mentions nothing (yet) about Linux Mint or other Linux distros.
I know there are quite a few AskWoody readers who are experimenting with Linux systems at the moment, so I hope some of the above is helpful.