Humanity

Edit the world by your favorite way

LVM on RAIDしようと思ったらDebianのインストールに手間取った

grub-install /dev/sdaが失敗しましたってエラーが出る。
原因は

経過

Execute a shellして「chroot /target; grub-install /dev/sda」したらインストーラでは出なかったエラーメッセージが出てきた。
今後もDebianインストーラで困ったら試してみる。*4

# chroot /target   # どうやら/targetがインストールされるファイルシステムっぽい事が分かったので
# grub-install /dev/sda
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: error: embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.

*1:UEFIの場合は不要らしい

*2:本当に何故…

*3:インストーラUSBメモリを書き変えたけど特にエラー出なかったなぁ

*4:暇があったらArchみたく自分でパーティショニングしてdebootstrapでインストールするのも面白そう