Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting RAID disk with JMicron on Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
jaysonsantos
n00b
n00b


Joined: 21 Dec 2013
Posts: 4

PostPosted: Sat Dec 21, 2013 12:25 pm    Post subject: Booting RAID disk with JMicron on Gentoo Reply with quote

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.
emerge =sys-fs/dmraid-1.0.0_rc14
Install any genkernel and any kernel you want, in my case genkernel was 3.4.45.1 and my kernel was 3.10.17.
Uncomment the line DMRAID=“yes” and after it add.

DMRAID_VER=1.0.0.rc14
DMRAID_DIR="dmraid/${DMRAID_VER}"
DMRAID_SRCTAR="/usr/share/genkernel/pkg/dmraid-1.0.0.rc14.tar.bz2”

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.
# /boot/grub/grub.cfg
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.
initrd /initramfs-genkernel-x86_64-3.10.17-gentoo

That’s all, reboot your system and it should be done.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum