After dist-uprade, initramfs-tools chokes (Debian, buster amd64)
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After dist-uprade, initramfs-tools chokes (Debian, buster amd64)
Hya,
System Debian buster amd64, two systems are affected. Both on old hardware, use lilo as a loader.
Problem After dist-upgrade, iniramfs-tools chokes. Then dead lock.
Troubleshooting
On one system: uninstall lilo -> install grub2, then totally dead. On startup lilo goes (why??) and chokes. (need rescue disk to recover, I guess)
On the other system: reconfigure initramfs-tools with set -x on /var/lib/dpkg/initramfs-tools.postinst shows
I've never had success in the past with dist-upgrade and stopped those headaches by just doing a fresh install, since the amount downloaded is relatively the same.
It's easy enough to do a bit for bit backup of the original installation's partition with dd of dcfldd and just mount it within the new installation or just get what you want out of the old before installing the new.
There also appears to be a ACPI bug that came around with the 4.18.0.3 kernel in Debian testing and still exists in the 4.19.0.1 current testing kernel. Others are experiencing update-initramfs issues stemming from this ACPI issue, mostly in Debian derivative distributions but I have found complaints with OpenSuse also.
Umm, I guess I need to accept these encouraging posts.
What happens after clean install? Does new penguin run into same situation?
cheers
I had ACPI issues with kernel 4.18.0.3, not initramfs related tho, just errors on screen at boot and it would hang there for 30 seconds or so before going on. So did a fresh install just before Christmas because it's been awhile, turned out the netinstall ISO I downloaded installed the 4.19.0.1 kernel, same errors but no hanging, booted much faster than the old installation with same configuration. Still the same today.
Dead penguin is reincarnated after clean install. So far, no ACPI issue. Kernel recompiled (localmodconfig) and update-initramfs goes. A minor (?) problem is that neither xfce4 nor lxde installs, as some files are 'forbidden' !?
With the other penguin, postinst file is tweaked so that it exits without action. So, dist-upgrade goes. All config files (lilo and initramfs-tools) are checked for raid, but none found.
Then uninstall lilo and install grub2. It looks like something went wrong. At boot, all I I got is grub prompt. no further boot process, but it is still better than the other penguin.
I regret to say, but reinstalling may be simpler than any other attempt to resuscitate.
Steps to get out of situation (#6)
(lilo boots into bzImage), -> rename to vmlinuz
grub can boot into linux.
Need to straighten out halfway upgraded system. (I ran into libc.so version incompatible problem.)
Trying to solve version incompatibility, downgrade several packages. (ran into duplicate file trigger problem) Need to tweak /var/lib/dpkg/triggers/File
Then I gave up. Disk back up and installed new one. (need to take HD out, mount it on healthy penguin..) Dead Penguin is reincarnated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.