Package: grub2 Version: 2.06-12 Severity: normal Dear Maintainer,
grub2 686 machines do not see partitioins with big offset from start of the disk. It has no issues see partitions at the begining of the disk. /dev/sda1 34 2047 2014 1007K BIOS boot /dev/sda2 2048 3369748479 3369746432 1.6T Linux filesystem /dev/sda3 3503966208 3638183935 134217728 64G Linux filesystem /dev/sda4 3638183936 3772401663 134217728 64G Microsoft basic data /dev/sda5 3772401664 3906619391 134217728 64G Linux filesystem /dev/sda6 3906619392 3907028991 409600 200M EFI System /dev/sda7 3369748480 3503966207 134217728 64G Linux filesystem I tried sda7 as my debian partition and start from following: * luks1/2+btrfs * btrfs * ext4 grub ls showing correct (hd0,gpt1-7). At least part_gpt works. Also grub does see by sda2 btrfs parittion and it's content. But sda7 partition does not work! 1) 'cryptomount -a' report no erros and exit for booth luks1 and luks2 2) saying unknown partition about btrfs formatted drive 3) syaing unknown partition about ext4 formatted drive It looks like grub simply does not recognize big offset partitions. I tried boot using livecd debian 686 and have no issue mounting sda7 partition. Full logs including dmesg and cpuinfo (livecd; chroot /dev/sda7). https://linux-hardware.org/?probe=266235dc3b -- Package-specific info: *********************** BEGIN /proc/mounts /dev/sda7 / ext4 rw,relatime,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 ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275/(null)/sas/disk@0,gpt7' --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b else search --no-floppy --fs-uuid --set=root d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b 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=en_US 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-d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275/(null)/sas/disk@0,gpt7' --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b else search --no-floppy --fs-uuid --set=root d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b fi echo 'Loading Linux 6.1.0-9-686 ...' linux /boot/vmlinuz-6.1.0-9-686 root=UUID=d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-6.1.0-9-686 } submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b' { menuentry 'Debian GNU/Linux, with Linux 6.1.0-9-686' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-9-686-advanced-d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275/(null)/sas/disk@0,gpt7' --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b else search --no-floppy --fs-uuid --set=root d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b fi echo 'Loading Linux 6.1.0-9-686 ...' linux /boot/vmlinuz-6.1.0-9-686 root=UUID=d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-6.1.0-9-686 } menuentry 'Debian GNU/Linux, with Linux 6.1.0-9-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-9-686-recovery-d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275/(null)/sas/disk@0,gpt7' --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b else search --no-floppy --fs-uuid --set=root d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b fi echo 'Loading Linux 6.1.0-9-686 ...' linux /boot/vmlinuz-6.1.0-9-686 root=UUID=d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b ro single echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-6.1.0-9-686 } } ### 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 cat: /proc/mdstat: No such file or directory *********************** END /proc/mdstat *********************** BEGIN /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB -> ../../sda lrwxrwxrwx 1 root root 10 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 May 23 09:45 ata-ST2000DM001-1CH164_Z1E267DB-part7 -> ../../sda7 lrwxrwxrwx 1 root root 9 May 23 08:56 usb-Verbatim_Store_n_Go_Drive_AACUII8SS77XNQQX-0:0 -> ../../sdb lrwxrwxrwx 1 root root 10 May 23 08:56 usb-Verbatim_Store_n_Go_Drive_AACUII8SS77XNQQX-0:0-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 May 23 08:56 usb-Verbatim_Store_n_Go_Drive_AACUII8SS77XNQQX-0:0-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 9 May 23 09:45 wwn-0x5000c5004f11d2bb -> ../../sda lrwxrwxrwx 1 root root 10 May 23 09:45 wwn-0x5000c5004f11d2bb-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 23 09:45 wwn-0x5000c5004f11d2bb-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 May 23 09:45 wwn-0x5000c5004f11d2bb-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 May 23 09:45 wwn-0x5000c5004f11d2bb-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 May 23 09:45 wwn-0x5000c5004f11d2bb-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 May 23 09:45 wwn-0x5000c5004f11d2bb-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 May 23 09:45 wwn-0x5000c5004f11d2bb-part7 -> ../../sda7 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 10 May 23 08:56 2022-12-09-15-09-40-00 -> ../../sdb1 lrwxrwxrwx 1 root root 10 May 23 09:45 2a877f04-1ff2-4e57-b57a-b194f6694afe -> ../../sda3 lrwxrwxrwx 1 root root 10 May 23 08:56 6393-4FB4 -> ../../sdb2 lrwxrwxrwx 1 root root 10 May 23 09:45 74167d2d-2fbc-4155-ae36-3b0b9725d62e -> ../../sda5 lrwxrwxrwx 1 root root 10 May 23 09:45 85852b85-6d99-438f-8d5a-7681c839b31f -> ../../sda2 lrwxrwxrwx 1 root root 10 May 23 09:45 B612-FBA7 -> ../../sda6 lrwxrwxrwx 1 root root 10 May 23 09:45 d2fe035c-3dc2-4d61-b2c6-fcc2bc29976b -> ../../sda7 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: 12.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 5.10.0-19-686 (SMP w/1 CPU thread) Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages grub2 depends on: ii grub-common 2.06-12 ii grub-pc 2.06-12 grub2 recommends no packages. grub2 suggests no packages. -- debconf information: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "ru_RU.UTF-8", LC_MONETARY = "ru_RU.UTF-8", LC_CTYPE = "C.UTF-8", LC_MEASUREMENT = "ru_RU.UTF-8", LC_NUMERIC = "ru_RU.UTF-8", LC_PAPER = "ru_RU.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory