Re: System won't boot anymore after upgrade to jessie
On Wed, Jan 10, 2018 at 03:56:17PM -0500, Felix Miata wrote:
> deloptes composed on 2018-01-10 19:48 (UTC+0100):
>
> > 7.1 if you need to examine initrd
>
> > cd /tmp/
> > mkdir test
> > cd test/
> > zcat /boot/initrd.img-<version> | cpio -id
>
> > do whatever you need to do
>
> > find . ! -name *~ | cpio -H newc --create | gzip -9
> >> /boot/initrd.img-<version>
>
> If you're only interested in initrd examination, and based upon a simplistic
> perusal of its changelog, lsinitramfs has been included in initramfs-tools
> probably at least 7 years. openSUSE copied it from Mandriva going on 10 years
> ago. https://bugzilla.opensuse.org/show_bug.cgi?id=439103#c7
Moreover, the simple zcat|cpio -i no longer works with stretch's initrd
images. They're in a different format, and you *have* to use
lsinitramfs or unmkinitramfs to see or extract their contents.
On a jessie system, the zcat|cpio -i may still work (not sure about
backported kernels though).
Reply to: