Re: failed to mount root on raid1 after upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux