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

Re: boot failure "mount: mounting /dev/sda1 on /root failed: no such device"



>>>  The other way to investigate the initramfs, incidentally,
>>> is to just unpack it somehwere -- it's a cpio archive, you
>>> can google for instructions.
>>
>> Also good to know.
>
> Going to try this now, since break= does not seem to work for
> some reason...

and when I use
zcat "<archive>" | ( while true; do cpio -i -d -H newc
--no-absolute-filenames --quiet || exit; done )

I get the output:

19036 blocks
cpio: premature end of file

Which is not reassuring. Files and directories are created, but who
knows it all the bits are there?

But further examination shows that there is no ext4 driver
in /lib.

I add ext4 and ahci (even though that .ko was present) to
the module list, and regenerated the initramfs.

And it now boots! But why/how was ext4 not in there?
Oh well, at least it works!


Cheers,
Kelly Clowers


Reply to: