Linux 非RAIDシステムのRAID化 mdadm

GRUB

grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..

Hmm ... apparently this line was the clue:

grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
Previously I had installed btrfs directly on /dev/sda and /dev/sdb. That's why both of them had a FSTYPE and LABEL attached (as shown in lsblk).

Solution: I have now wiped both /dev/sda and /dev/sdb with hdparm (Secure Erase). There is probably a better way to unset those flags ... but this worked for me.

https://unix.stackexchange.com/questions/176843/grub-install-embedding-is-not-possible-in-bios-gpt/176943#176943

以下のエラーが出る場合は

grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
# dd if=/dev/zero of=/dev/sdb seek=1 count=2047
を実行してブートセクタから第一パーテションまでを一度消去します.

MBR(bios)でもESP(uefi)でも起動できるgrub2の設定方法 - pyopyopyo - Linuxとかプログラミングの覚え書き -