diff -p -up mkinitrd-6.0.28/mkinitrd.use-both-ahci-ata_piix mkinitrd-6.0.28/mkinitrd --- mkinitrd-6.0.28/mkinitrd.use-both-ahci-ata_piix 2008-02-07 21:43:55.000000000 +0100 +++ mkinitrd-6.0.28/mkinitrd 2008-02-07 22:00:49.000000000 +0100 @@ -528,6 +528,10 @@ findstoragedriverinsys () { deps=$(basename $(readlink driver/module)) for driver in $deps ; do findmodule $driver + # have both ata_piix and ahci so that you can still boot + # after changing the config in the BIOS + [ "$driver" = "ata_piix" ] && findmodule ahci + [ "$driver" = "ahci" ] && findmodule ata_piix done cd .. done