Running into this as well with partitionless lvm.
```
# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
/usr/bin/grub-probe: warning: Couldn't find physical volume `pv1'. Some modules
may be missing from core image..
...truncated...
Adding boot menu entry for UEFI Firmware Settings ...
done
```
The resulting grub.cfg is effectively empty and non-functional.
```
# lsblk -f
NAME FSTYPE FSVER LABEL
UUID FSAVAIL FSUSE% MOUNTPOINTS
sda crypto_LUKS 2
04bdf5ca-6bc6-4d1f-996c-a9b4aab6e8d5
└─burnell-sgr-1806-20 LVM2_member LVM2 001
1yRd6R-O2e7-LpuF-Bta9-fq9Q-qofZ-LKpVA7
├─jocelyn-saggitarius_cpool_cmeta
│ └─jocelyn-aquila ext4 1.0
6e641e1e-38e3-480a-98eb-f1b8e86cc105 583.9G 77% /
└─jocelyn-aquila_corig
└─jocelyn-aquila ext4 1.0
6e641e1e-38e3-480a-98eb-f1b8e86cc105 583.9G 77% /
sdb
├─sdb1 vfat FAT32
6AC7-D20C 1020.5M 0% /boot/efi
└─sdb2 crypto_LUKS 1
54a71b20-6378-47db-87d7-77cbcbc26d9e
└─bulwark ext4 1.0
61424289-899e-4bd0-88c5-cc5eedebcf48 26G 1% /boot
nvme1n1 crypto_LUKS 2
7b1f4399-d263-4343-9c67-70b491c0a603
└─burnell-hulse linux_raid_member 1.2 psr-b1913+16
883d682c-070b-9263-344c-6dd51690056a
└─md127 LVM2_member LVM2 001
rDvKfL-B0lI-266M-3g77-mZeY-x9BT-GechmX
├─jocelyn-saggitarius_cpool_cdata
│ └─jocelyn-aquila ext4 1.0
6e641e1e-38e3-480a-98eb-f1b8e86cc105 583.9G 77% /
└─jocelyn-swap swap 1
475a7d85-9a41-44bc-9839-f1cb7fc6eee1 [SWAP]
nvme0n1 crypto_LUKS 2
4731acae-ebdb-4eb7-aa00-cdc95747fb58
└─burnell-taylor linux_raid_member 1.2 psr-b1913+16
883d682c-070b-9263-344c-6dd51690056a
└─md127 LVM2_member LVM2 001
rDvKfL-B0lI-266M-3g77-mZeY-x9BT-GechmX
├─jocelyn-saggitarius_cpool_cdata
│ └─jocelyn-aquila ext4 1.0
6e641e1e-38e3-480a-98eb-f1b8e86cc105 583.9G 77% /
└─jocelyn-swap swap 1
475a7d85-9a41-44bc-9839-f1cb7fc6eee1 [SWAP]
# pvdisplay
--- Physical volume ---
PV Name /dev/mapper/burnell-sgr-1806-20
VG Name jocelyn
PV Size <3.64 TiB / not usable <3.84 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 953857
Free PE 95362
Allocated PE 858495
PV UUID 1yRd6R-O2e7-LpuF-Bta9-fq9Q-qofZ-LKpVA7
--- Physical volume ---
PV Name /dev/md127
VG Name jocelyn
PV Size 1.86 TiB / not usable 0
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 488306
Free PE 0
Allocated PE 488306
PV UUID rDvKfL-B0lI-266M-3g77-mZeY-x9BT-GechmX
# vgdisplay
--- Volume group ---
VG Name jocelyn
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 19
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 5.50 TiB
PE Size 4.00 MiB
Total PE 1442163
Alloc PE / Size 1346801 / <5.14 TiB
Free PE / Size 95362 / <372.51 GiB
VG UUID Nfg53c-6vsH-1eNP-Mmud-wcyO-RMzL-KYxWXM
# lvdisplay
--- Logical volume ---
LV Path /dev/jocelyn/aquila
LV Name aquila
VG Name jocelyn
LV UUID nmUpJH-ckol-OB6E-NsET-IT9N-43nZ-r8lPlj
LV Write Access read/write
LV Creation host, time jdalrymple-arch1, 2023-07-30 19:24:38 -0500
LV Cache pool name saggitarius_cpool
LV Cache origin name aquila_corig
LV Status available
# open 1
LV Size 3.27 TiB
Cache used blocks 99.99%
Cache metadata blocks 23.65%
Cache dirty blocks 0.00%
Cache read hits/misses 317717689 / 10527082
Cache wrt hits/misses 886013932 / 12440447
Cache demotions 1321
Cache promotions 1456
Current LE 858471
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 32768
Block device 254:6
--- Logical volume ---
LV Path /dev/jocelyn/swap
LV Name swap
VG Name jocelyn
LV UUID M72bOf-HTSB-LlTa-eUkV-MlZu-pFMB-ICvgEn
LV Write Access read/write
LV Creation host, time archiso, 2023-08-01 21:29:08 -0500
LV Status available
# open 1
LV Size 16.00 GiB
Current LE 4096
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 32768
Block device 254:7
```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662661
Title:
/usr/sbin/grub-probe: warning: Couldn't find physical volume `pv1'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1662661/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs