I'm running 19.10 x64 (up to date as of today), LVM setup. Originally installed 19.04 and upgraded. This affects me too. Or, affected rather, because after following advice from comment #9 above it seems fixed. Details follow.
```
$ sudo update-grub2
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
Found linux image: /boot/vmlinuz-5.3.0-29-generic
Found initrd image: /boot/initrd.img-5.3.0-29-generic
Found linux image: /boot/vmlinuz-5.3.0-26-generic
Found initrd image: /boot/initrd.img-5.3.0-26-generic
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
```
Above I'm skipping bunch of loop## from output of lsblk.
The Ubuntu "Disks" app identified the /dev/sda as "Generic- SD/MMC". It seems it's a built-in card reader of my ThinkPad. I decided to follow comment #9 above to filter out that device from LVM. And, advice from comment #9 fixed the issue! Thanks a lot Zer00Cool!
What I did exactly is:
1. grep for "global_filter" in lvm.conf - that file is really long...
```
$ grep -Fn "global_filter" /etc/lvm/lvm.conf
142: # Configuration option devices/global_filter.
146: # Use global_filter to hide devices from these LVM system components.
148: # global_filter are not opened by LVM.
150: # global_filter = [ "a|.*/|" ]
```
2. After the commented out "global_filter" setting (line 150 in my case), I added the following:
I'm running 19.10 x64 (up to date as of today), LVM setup. Originally installed 19.04 and upgraded. This affects me too. Or, affected rather, because after following advice from comment #9 above it seems fixed. Details follow.
``` grub.d/ init-select. cfg' 5.3.0-29- generic img-5.3. 0-29-generic 5.3.0-26- generic img-5.3. 0-26-generic
$ sudo update-grub2
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
/dev/sda: open failed: No medium found
```
It goes on, but I'm skipping it.
``` -vg-root 253:1 0 929.3G 0 lvm / -vg-swap_ 1 253:2 0 976M 0 lvm [SWAP]
$ lsblk
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
├─nvme0n1p2 259:2 0 732M 0 part /boot
└─nvme0n1p3 259:3 0 930.3G 0 part
└─nvme0n1p3_crypt 253:0 0 930.3G 0 crypt
├─ubuntu-
└─ubuntu-
```
Above I'm skipping bunch of loop## from output of lsblk.
The Ubuntu "Disks" app identified the /dev/sda as "Generic- SD/MMC". It seems it's a built-in card reader of my ThinkPad. I decided to follow comment #9 above to filter out that device from LVM. And, advice from comment #9 fixed the issue! Thanks a lot Zer00Cool!
What I did exactly is:
1. grep for "global_filter" in lvm.conf - that file is really long...
``` global_ filter.
$ grep -Fn "global_filter" /etc/lvm/lvm.conf
142: # Configuration option devices/
146: # Use global_filter to hide devices from these LVM system components.
148: # global_filter are not opened by LVM.
150: # global_filter = [ "a|.*/|" ]
```
2. After the commented out "global_filter" setting (line 150 in my case), I added the following:
```
global_filter = [ "r|/dev/sda|" ]
```