[Bug 1885575] [NEW] Install boot loader on RAID1 system failed

Schweineschwarte 1885575 at bugs.launchpad.net
Mon Jun 29 14:25:43 UTC 2020


Public bug reported:

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)

** Affects: grub-installer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal ubiquity-20.04.15 ubuntu

** Attachment added: "Screenshot from 2020-06-29 15-55-35.png"
   https://bugs.launchpad.net/bugs/1885575/+attachment/5388180/+files/Screenshot%20from%202020-06-29%2015-55-35.png

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1885575

Title:
  Install boot loader on RAID1 system failed

Status in grub-installer package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1885575/+subscriptions



More information about the foundations-bugs mailing list