Joined: 21 Dec 2013
|Posted: Sat Dec 21, 2013 12:25 pm Post subject: Booting RAID disk with JMicron on Gentoo
|I know this might be solved by someone, however I could not find anything new and old stuff didn’t work at all.
I figured out that working dmdraid was rc14 because systemrescuecd was playing nice with this raid setup.
First of all, install dmraid version 1.0.0.rc14, it is the only one that works.
Install any genkernel and any kernel you want, in my case genkernel was 22.214.171.124 and my kernel was 3.10.17.
Uncomment the line DMRAID=“yes” and after it add.
That override on DMRAID_DIR is because on genkernel default configuration it says that the did is dmdraid/version/dmraid I think this is dmraid rc 16 dir structure.
Now, if you already have generated you kernel, just execute genkernel initramfs. If you did not, execute genkernel all.
In my case, I had to add support to Platform AHCI SATA support using menuconfig under Device Drivers -> Serial ATA and Parallel ATA drivers.
After your initramfs is done just add dodmraid on your boot options, in my case was something like this on grub2.
linux /kernel-genkernel-x86_64-3.10.17-gentoo root=/dev/mapper/isw_cdajbabcbg_Volume01 ro dodmraid
And don’t forget to add the initramfs which in my case was this.
That’s all, reboot your system and it should be done.