Package: grub-pc
Version: 2.06-12
Severity: important
X-Debbugs-Cc: vagr...@debian.org

When I tried extending the /dev/vvm/root partition to include more
space from the /dev/vdc1 physical volume, grub fails to load at boot,
unable to find the lvm volume.

I tried re-installing grub from the debian-installer rescue image, but
that did not help.

Removing /dev/vdc1 from the volume group fixed the issue, but
significantly limits the benefit of LVM...

A workaround is, of course, using a separate boot partition, or
maybe keeping to only a single physical volume for the logical
volume on which /boot resides.

live well,
  vagrant

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vvm-root / ext4 rw,noatime,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod part_msdos
insmod lvm
insmod ext2
set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
else
  search --no-floppy --fs-uuid --set=root f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=C
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
        set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu 
--class os $menuentry_id_option 
'gnulinux-simple-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod part_msdos
        insmod lvm
        insmod ext2
        set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
        else
          search --no-floppy --fs-uuid --set=root 
f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
        fi
        echo    'Loading Linux 6.1.0-8-amd64 ...'
        linux   /boot/vmlinuz-6.1.0-8-amd64 root=/dev/mapper/vvm-root ro  quiet
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-6.1.0-8-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 
'gnulinux-advanced-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-8-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-8-amd64-advanced-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod part_msdos
                insmod lvm
                insmod ext2
                set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                else
                  search --no-floppy --fs-uuid --set=root 
f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                fi
                echo    'Loading Linux 6.1.0-8-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-8-amd64 root=/dev/mapper/vvm-root 
ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-8-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-8-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-8-amd64-recovery-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod part_msdos
                insmod lvm
                insmod ext2
                set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                else
                  search --no-floppy --fs-uuid --set=root 
f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                fi
                echo    'Loading Linux 6.1.0-8-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-8-amd64 root=/dev/mapper/vvm-root 
ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-8-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-7-amd64-advanced-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod part_msdos
                insmod lvm
                insmod ext2
                set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                else
                  search --no-floppy --fs-uuid --set=root 
f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                fi
                echo    'Loading Linux 6.1.0-7-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-7-amd64 root=/dev/mapper/vvm-root 
ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-7-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-7-amd64-recovery-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod part_msdos
                insmod lvm
                insmod ext2
                set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                else
                  search --no-floppy --fs-uuid --set=root 
f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                fi
                echo    'Loading Linux 6.1.0-7-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-7-amd64 root=/dev/mapper/vvm-root 
ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-7-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-6-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-6-amd64-advanced-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod part_msdos
                insmod lvm
                insmod ext2
                set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                else
                  search --no-floppy --fs-uuid --set=root 
f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                fi
                echo    'Loading Linux 6.1.0-6-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-6-amd64 root=/dev/mapper/vvm-root 
ro  quiet
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-6-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 6.1.0-6-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-6.1.0-6-amd64-recovery-f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_gpt
                insmod part_msdos
                insmod lvm
                insmod ext2
                set 
root='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx/wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV'
  f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                else
                  search --no-floppy --fs-uuid --set=root 
f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4
                fi
                echo    'Loading Linux 6.1.0-6-amd64 ...'
                linux   /boot/vmlinuz-6.1.0-6-amd64 root=/dev/mapper/vvm-root 
ro single 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.1.0-6-amd64
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] 
[raid10] 
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN LVM
  --- Volume group ---
  VG Name               vvm
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  17
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               499.53 GiB
  PE Size               4.00 MiB
  Total PE              127880
  Alloc PE / Size       127632 / 498.56 GiB
  Free  PE / Size       248 / 992.00 MiB
  VG UUID               17euUh-PdVv-AWIZ-DlB4-K7Ti-b3bC-vMeyGx
   
  --- Physical volume ---
  PV Name               /dev/vda2
  VG Name               vvm
  PV Size               499.53 GiB / not usable 2.00 MiB
  Allocatable           yes 
  PE Size               4.00 MiB
  Total PE              127880
  Free PE               248
  Allocated PE          127632
  PV UUID               WNN70t-Bwhd-1ZS4-IhuQ-2zh7-Npu7-3Cm5UN
   
  "/dev/vdc1" is a new physical volume of "<2.00 TiB"
  --- NEW Physical volume ---
  PV Name               /dev/vdc1
  VG Name               
  PV Size               <2.00 TiB
  Allocatable           NO
  PE Size               0   
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               gsCHa9-Lu1a-qWC3-LjAT-elsd-X3xa-klGVT8
   
  --- Logical volume ---
  LV Path                /dev/vvm/root
  LV Name                root
  VG Name                vvm
  LV UUID                wV7IZ1-sDuZ-S8Ew-nHdx-8n9j-Nm8o-FN58ZV
  LV Write Access        read/write
  LV Creation host, time vvm, 2023-03-21 12:14:11 -0700
  LV Status              available
  # open                 1
  LV Size                452.00 GiB
  Current LE             115712
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Path                /dev/vvm/swap
  LV Name                swap
  VG Name                vvm
  LV UUID                GYCaRH-11hF-GSdP-zY7A-YdXv-xYd3-QKKkqG
  LV Write Access        read/write
  LV Creation host, time vvm, 2023-03-21 12:14:26 -0700
  LV Status              available
  # open                 2
  LV Size                46.56 GiB
  Current LE             11920
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   

*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Apr 30 12:40 ata-QEMU_DVD-ROM_QM00001 -> ../../sr0
lrwxrwxrwx 1 root root 10 Apr 30 12:40 dm-name-vvm-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Apr 30 12:40 dm-name-vvm-swap -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 30 12:40 
dm-uuid-LVM-17euUhPdVvAWIZDlB4K7Tib3bCvMeyGxGYCaRH11hFGSdPzY7AYdXvxYd3QKKkqG -> 
../../dm-1
lrwxrwxrwx 1 root root 10 Apr 30 12:40 
dm-uuid-LVM-17euUhPdVvAWIZDlB4K7Tib3bCvMeyGxwV7IZ1sDuZS8EwnHdx8n9jNm8oFN58ZV -> 
../../dm-0
lrwxrwxrwx 1 root root 10 Apr 30 12:40 
lvm-pv-uuid-WNN70t-Bwhd-1ZS4-IhuQ-2zh7-Npu7-3Cm5UN -> ../../vda2
lrwxrwxrwx 1 root root 10 Apr 30 12:40 
lvm-pv-uuid-gsCHa9-Lu1a-qWC3-LjAT-elsd-X3xa-klGVT8 -> ../../vdc1
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root  9 Apr 30 12:40 2023-04-28-12-37-10-00 -> ../../sr0
lrwxrwxrwx 1 root root 10 Apr 30 12:40 54d6016d-5ceb-4f5e-9af5-de2391521fbb -> 
../../dm-1
lrwxrwxrwx 1 root root 10 Apr 30 12:40 f8de7cbd-35ba-4c27-bc8d-97cbde5bffc4 -> 
../../dm-0
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'experimental'), 
(1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-8-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  grub-common            2.06-12
ii  grub-pc-bin            2.06-12
ii  grub2-common           2.06-12
ii  ucf                    3.0043+nmu1

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
* grub2/linux_cmdline:
  grub-pc/install_devices_failed: false
  grub2/kfreebsd_cmdline:
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/partition_description:
  grub-pc/install_devices_failed_upgrade: true
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/timeout: 5
  grub2/update_nvram: true
  grub-pc/install_devices_empty: false
* grub-pc/install_devices: /dev/vda
  grub-pc/disk_description:
  grub2/force_efi_extra_removable: false
  grub-pc/hidden_timeout: false
  grub-pc/kopt_extracted: false
  grub2/enable_os_prober: false
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet

Reply via email to