[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1099655: initramfs-tools 146 generates incorrect initramfs : does not boot, does not find root fs



On Fri, 28 Mar 2025 10:06:35 +0100 Eric Valette <eric.valette@free.fr> wrote:
On 28/03/2025 09:40, Eric Valette wrote:
> On 28/03/2025 01:28, Ben Hutchings wrote:

>> - What does the command "/usr/lib/klibc/bin/fstype /dev/nvme0n1p5"
>>    print?
> > /usr/lib/klibc/bin/fstype /dev/nvme0n1p5
> FSTYPE=ext4
> FSSIZE=40000028672

Did it also from the initrd shell. Same result

>> - Using the bad initramfs, in the rescue shell:
> > Will do later. I need to rebuild again the kernel. > >>    - What does "echo $ROOTFSTYPE" print?

Nothing!

>>    - What does "cat /proc/filesystems" print?

See picture

>>    - What does "modprobe fs-ext4" print, if anything?

Nothing. I tried insmod manually but maybe I should first decompress?


>>    - If you then exit the rescue shell, does the boot process succeed?
> > No. I get first a long list of command and if I exit again a kernel > panic from memory.

Confirmed.

> More latter on.


Attached a picture of the above.

I think the bug #1099801 Marco d'Itri <md@Linux.IT> closed is a dupplicate from mine that must also be closed I guess.


--
Eric Valette

Reply to: