I am trying to install Antergos under a raid 0 setup but I just missing a small detail in order to boot to raid.
So here are my steps
- I have booted with a usb device to Antergos
- I did a Raid 0 Setup with 2x NVME
- So I have created the raid 0 , Antergos Installer recognize it and installed antergos on my raid
4…I have went to RAID DRIVE /etc/mkinitcpio.conf and added
‘mdmon’ in BINARIES and ‘shutdown’ in HOOKS.
dm_mod to the MODULES line in mkinitcpio.conf
mdadm_udev hooks to the HOOKS list in mkinitcpio.conf after udev.
- So now I need to generate new Initramfs ,update grub and edit fstab and I am done.
But… How do I generate Initramfs since my installation is on Raid drive and I am on Antergos USB Drive???
My raid Drive looks like /run/media/antergos/OS with 2 partitions AntergosBoot and AntergosRoot
I have tried many things and everything failed, I just need to tell to Antergos to read the new mkinitcpio and configure the RAID boot drive. I have already spend many hours trying to do that simple thing and no success yet :(
mkinitcpio -p Linux is not working so is not that simple. I have tried also other things from arch wiki like
mkinitcpio -c /etc/mkinitcpio-custom.conf -g /boot/linux-custom.img but I Dont know what I am doing wrong or what and where I have to generate ><
ps: By default Antergos is creating extra boot and swap partitions on Raid , do I need both or I need only BOOT Partition in order to boot the raid?
Any help or any guidance will be much appreciated