SATA disks as AHCI

When converting from IDE to AHCI in the BIOS to include additional drives, I would get a kernel panic... as by default the bios was setup with the drives as IDE.

Booted using existing IDE and created a new kernel image with support for AHCI via the --preload option to manually specify modules support:

# mkinitrd --allow-missing --preload=ahci --force-scsi-probe /boot/initrd-`uname -r`-custom.img `uname -r`

Then create a new grub boot option to load the new custom kernel image and select it when grub boots up using AHCI.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Thanks so much

Your post save my time very much, thanks so much.