Grub syntax formatting

I need to get linux to be able to use the onboard raid for my storage drives. My problem is I’m not sure of the proper formatting for the line I need to add to grub. This is the the instruction on the github for adding the command in grub:

Append modprobe.blacklist=ahci to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

But I’m not exactly sure how to format it correctly.

So the linux commandline flags are space separated. Mine looks like this, for example:

GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=UUID=b1c4a243-9c83-4f1b-8f64-27d5ff2c5a06:cryptroot root=/dev/mapper/cryptroot i915.enable_guc=2 noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off i915.enable_fbc=1 i915.fastboot=1 i915.enable_psr=0"

As you can see, I have a number of flags. for example, i915.enable_fbc=1 is a separate flag from i915.fastboot=1

All you have to do is put modprobe.blacklist=ahci with a space in between it and the other flags within the quotations.


Thank you, hopefully I can get around any other headaches, lol

1 Like