3 Apr
2013
3 Apr
'13
1:31 p.m.
2013/4/2 Ćukasz Michalski <lm@zork.pl>:
I am not sure what hooks/mdadm is supposed to do, for me it looks like it I have to add md=/dev/md2 to command line when booting?
Do you have mdadm.conf in your initcpio? mdadm hook uses /etc/mdadm.conf or partitions from command line, not both.
Now during booting I need to wait for "emergency shell" and mount root partition manually this way:
# mdassemble # mount /dev/md2 /new_root # exit
This hook is defined in /usr/lib/initcpio/hooks/mdadm, it should start mdassemble if /etc/mdadm.conf exists and have size > 0. -- Krzysztof Warzecha