Install boot loader on RAID1 system failed

Bug #1885575 reported by Schweineschwarte on 2020-06-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Undecided
Unassigned

Bug Description

Hello!
I have a RAID1 with encryption. It's from an other installation of the past and works fine.
After installing mdadm and done mdadm --assembly --scan my RAID1 recognized correctly. Look here:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.9G 1 loop /rofs
loop1 7:1 0 27.1M 1 loop /snap/snapd/7264
loop2 7:2 0 55M 1 loop /snap/core18/1705
loop3 7:3 0 240.8M 1 loop /snap/gnome-3-34-1804/24
loop4 7:4 0 62.1M 1 loop /snap/gtk-common-themes/1506
loop5 7:5 0 49.8M 1 loop /snap/snap-store/433
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 595M 0 part
│ └─md127 9:127 0 595M 0 raid1
├─sda2 8:2 0 600G 0 part
│ └─md126 9:126 0 600G 0 raid1
│ └─lukslvm 253:0 0 600G 0 crypt
│ ├─DiePlatte-home 253:1 0 460G 0 lvm
│ ├─DiePlatte-root 253:2 0 120G 0 lvm
│ ├─DiePlatte-swap 253:3 0 4G 0 lvm [SWAP]
│ └─DiePlatte-tmp 253:4 0 16G 0 lvm
└─sda3 8:3 0 1.2T 0 part
  └─md125 9:125 0 1.2T 0 raid1
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 595M 0 part
│ └─md127 9:127 0 595M 0 raid1
├─sdb2 8:18 0 600G 0 part
│ └─md126 9:126 0 600G 0 raid1
│ └─lukslvm 253:0 0 600G 0 crypt
│ ├─DiePlatte-home 253:1 0 460G 0 lvm
│ ├─DiePlatte-root 253:2 0 120G 0 lvm
│ ├─DiePlatte-swap 253:3 0 4G 0 lvm [SWAP]
│ └─DiePlatte-tmp 253:4 0 16G 0 lvm
└─sdb3 8:19 0 1.2T 0 part
  └─md125 9:125 0 1.2T 0 raid1
sdc 8:32 1 14.9G 0 disk
├─sdc1 8:33 1 2.5G 0 part /cdrom
├─sdc2 8:34 1 3.9M 0 part
└─sdc3 8:35 1 12.4G 0 part /var/crash
sr0 11:0 1 1024M 0 rom

I choose manual partition to use the existing partitions and choose /dev/sdb to install the boot loader. But at the end of installation, I see the message:
Executing 'grub-install /dev/sda failed'

But I don't installed it on /dev/sda. It was /dev/sdb! If I click on OK another window is opening. There, I see the setup will install the boot loader on sda and sdb. In this windows, I have different options, but no one works, because the OK button is useless and don't do anything. The button is greyed out, until I clicked on "choose a different device to install the bootloader on". Then the button looks active, but have not functionality, too.

You can find some screenshots here: https://imgur.com/a/koe0QAE

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.15 [modified: lib/partman/automatically_partition/question]
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 29 16:00:27 2020
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed initrd=/casper/initrd quiet splash ---
LiveMediaBuild: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers