Skip to main content

Install AMD RYZEN FakeRaid Driver (rcraid) on Debian 11 (PVE 7)

Today I’m trying to use ASUS TUF GAMING B450M-PRO S’s buildin SATA RAID (Fake RAID) to create RAID 0 disk on my PVE homelab.

I follow the ASUS’s BIOS Fake RAID manual to setup the RAID 0, but I cant see the RAID disk by useing fdisk -l on PVE system.

After search the reason on the Internat, I know that I should insmod AMD RAID driver which named rcraid. You can refer to the following steps:

Method 1: compile it yourself

1. Install depends

1.1. Install headers

Follow the pve repostories wiki, edit /etc/apt/sources.list.d/pve-enterprise.list, change to pve-no-subscription

deb bullseye pve-no-subscription
#deb bullseye pve-enterprise
apt install pve-headers-$(uname -r)
1.2. Install Other Depends
apt install sudo build-essential unzip git

2. Download AMD Raid Driver

Although this driver is compatible with X370 chipset.

But is also working for my B450 chipset.

mkdir -pv rcraid && cd rcraid
cp -v ../ ./

3. Download Patch

This driver code can’t be compiled under kernel 5.11.22-1-pve, we should use the aur rcraid-dkms package patch.

git clone
cd driver_sdk/src
ls ../../rcraid-dkms/*.patch | xargs -i sh -c 'patch -p1 <{}'

4. Compile driver and install

cd ..
sudo ln -sv /usr/src/linux-headers-$(uname -r)/ /lib/modules/$(uname -r)/build
sudo bash ./install
sudo reboot

Method 2: use prebuild ubuntu package

Change repostory

edit /etc/apt/sources.list.d/pve-enterprise.list:

deb bullseye pve-no-subscription
#deb bullseye pve-enterprise

edit /etc/apt/sources.list.d/rcraid.list:

deb [trusted=yes] hirsute main

Install rcraid-dkms package:

apt update
apt install rcraid-dkms pve-headers-$(uname -r) # or pve-headers

Update grub:

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

then run: