LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-10-2019, 04:43 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
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
Code:
.
update-initramfs: Generating /boot/initrd.img-4.19.12-rt6
Fatal: raid_setup: stat("/dev/disk/by-id/ata-FUJITSU_MJA2.......")
run-parts: /etc/initramfs/post-update.d//runlilo exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
.
as seen above, some error with raid setup (There isn't any raid set up at all!)

I cannot find raid related bugs with initramfs-tools. I know there are many raid related bugs with lilo, but used to be immune.

Can anybody direct me next troubleshooting step? If better to replace lilo with grub2, how?

Any feedback will be appreciated.

cheers
 
Old 01-10-2019, 04:11 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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.
 
Old 01-10-2019, 04:23 PM   #3
dave67
Member
 
Registered: Apr 2007
Posts: 419

Rep: Reputation: 67
well this is good to know for the future.
 
Old 01-10-2019, 08:35 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Umm, I guess I need to accept these encouraging posts.

What happens after clean install? Does new penguin run into same situation?

cheers
 
Old 01-11-2019, 01:00 AM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by kaz2100 View Post
Hya,

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.
 
Old 01-13-2019, 02:46 AM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

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.

cheers
 
Old 01-14-2019, 06:40 PM   #7
lilleskut
LQ Newbie
 
Registered: Feb 2012
Posts: 19

Rep: Reputation: Disabled
I ran into the same problem. Isn't there a simpler fix than reinstalling everything?
 
Old 01-29-2019, 09:27 PM   #8
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

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.
 
  


Reply

Tags
configure, debian, initramfs-tools, raid



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM
slackpkg uprade command seems not to be working vdemuth Slackware 7 03-16-2010 04:08 AM
Lost desktop icons in gnome after uprade kmoffat Debian 6 01-03-2007 05:25 PM
apt-get uprade problem in debian sid zakkeyboorock Debian 5 03-20-2006 02:11 PM
Debian floppy install chokes after reboot grenfrog Debian 3 09-14-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration