Re: switch from IDE to AHCI causes not finding root FS
On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrote:
> I thought only Windows was like that, but apparently not always. I keep my
> initramfs configuration set to =dep.
And is that the reason behind, and cure for, your mushrooming initrd
size complaint in https://lists.debian.org/debian-user/2022/11/msg00331.html
> I have an old multiboot Core2Duo on ICH8 that
> I found had been set to IDE instead of AHCI. I changed it to AHCI, which makes
> Grub load sooner, and probably Linux I/O more efficient. Fedora, openSUSE and
> Mageia are having no trouble booting this way. Looking at their lsmod output, it
> seems they must include whatever supports AHCI in the kernel, so I can't tell what
> module needs to be added to Debian and derivatives' initrds to enable them to boot
> again without switching the BIOS back to IDE.
>
> Anyone here know how I can determine what to add?
One might suppose you need:
ahci 40960 5
libahci 45056 1 ahci
libata 299008 2 libahci,ahci
scsi_mod 270336 4 sd_mod,libata,sg,sr_mod
and I hope the initrd doesn't mushroom excessively.
Cheers,
David.
Reply to: