AOSC Wiki / AOSC OS / Installing AOSC OS / AOSC OS Manual Installation Guides / .
Also available in: 简体中文


Notes for AOSC OS Installation on Devices with Software RAID Set Up(s).

Installing AOSC OS on software-RAID configuration may require extra steps after installing using the regular installation guide.


Extra Initialization RAM Disk Configuration§

A initrd/initramfs is required for a system on an array to boot successfully. Moreover, changes to the dracut configuration file is also required for the generated initrd/initramfs to detect your software RAID setup.

Using your preferred text editor, edit /etc/dracut.conf, and add the following lines to the file:

# For MD-RAID support modules
add_dracutmodules+=" mdraid "
# Use generated mdadm.conf

And now invoke generation of new initrd(s).

# update-initramfs

Extra Kernel Parameters§

Open /etc/default/grub with your preferred text editor. On the line starting with GRUB_CMDLINE_LINUX_DEFAULT, add inside the quotation marks, save the file on exit - and regenerate GRUB configuration.

# grub-mkconfig -o /boot/grub/grub.cfg

MDADM Configuration§

Generate mdadm.conf with the following command:

# mdadm --detail --scan >> /etc/mdadm.conf