[arch-general] failed to mount root on raid1 after upgrade

Krzysztof Warzecha kwarzecha7 at gmail.com
Wed Apr 3 09:31:28 EDT 2013


2013/4/2 Łukasz Michalski <lm at 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


More information about the arch-general mailing list