Package: grub-efi-amd64 Version: 2.02+dfsg1-10 Severity: important Dear Maintainer,
* What led up to the situation? Installed Debian Buster on mdraid 1 (2 disks) system using debootstrap. Disks are partitioned to allow both UEFI and legacy boot. Configured things in chroot. Installed grub-efi-amd64 and grub-pc-bin package. * What exactly did you do (or not do) that was effective (or ineffective)? Ran "grub-install --target=i386-pc /dev/sda", "grub-install --target=i386-pc /dev/sdb" to install grub in bios-grub partition, "grub-install --target=x86_64-efi --no-nvram --removable" to install grub into efi partition, done in chroot on laptop with disks attached via usb and mdraid started. Moved disks to target system. Tried to boot up. * What was the outcome of this action? System does not boot, neither UEFI nor legacy mode. GRUB drops to shell. * What outcome did you expect instead? Expected to get to GRUB menu. * Workaround Downgraded all GRUB packages to current Debian Stretch versions. No other changes. Ran "grub-install ..." in chroot as above. Moved disks to target system. Result: System boots fine in both UEFI and legacy mode. Upgraded GRUB to Buster versions on running target system, reinstalled GRUB (both legacy and efi). After that, system does not boot any more, as above. * Note System information is not from affected server system, it's from the laptop that's running reportbug. -- Package-specific info: *********************** BEGIN /proc/mounts /dev/mapper/aljanah_root / btrfs rw,relatime,ssd,space_cache,subvolid=257,subvol=/root 0 0 /dev/loop0 /var/cache/openafs ext4 rw,relatime 0 0 /dev/mapper/aljanah_boot /boot btrfs ro,relatime,ssd,space_cache,subvolid=256,subvol=/boot 0 0 /dev/sda3 /boot/grub ext4 ro,relatime 0 0 /dev/sda2 /boot/efi vfat ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/mapper/_dev_sda7 /home/rsenger btrfs rw,relatime,ssd,space_cache,subvolid=257,subvol=/rsenger 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,gpt3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 d9b51fef-c34d-4e4e-847b-813786f7cfeb else search --no-floppy --fs-uuid --set=root d9b51fef-c34d-4e4e-847b-813786f7cfeb fi font="/unicode.pf2" fi if loadfont $font ; then set gfxmode=1024x768x32 load_video insmod gfxterm set locale_dir=$prefix/locale set lang=de_DE 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=-1 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=-1 fi fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod part_gpt insmod ext2 set root='hd0,gpt3' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 d9b51fef-c34d-4e4e-847b-813786f7cfeb else search --no-floppy --fs-uuid --set=root d9b51fef-c34d-4e4e-847b-813786f7cfeb fi insmod png if background_image /.background_cache.png; then set color_normal=white/black set color_highlight=black/white else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### 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. set superusers="rsenger" ### PASSWORD LINE REMOVED ### export superusers set root= function gfxmode { set gfxpayload="${1}" } set linux_gfx_mode=keep export linux_gfx_mode menuentry 'Debian GNU/Linux testing (buster) GNU/Linux' --class debian --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-2b532d9a-6db9-44d5-a734-57f014a95e38' { load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod cryptodisk insmod luks insmod gcry_rijndael insmod gcry_sha256 insmod btrfs echo Debian GNU/Linux aljanah set root='cryptouuid/650274b11db04b8e8c33924147381ffa' for i in 4 3 2 1 0; do if cryptomount -u 650274b11db04b8e8c33924147381ffa; then break; else echo; fi; done if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='cryptouuid/650274b11db04b8e8c33924147381ffa' 48c2ae4a-c8bc-41ac-9d45-5b51e326355c else search --no-floppy --fs-uuid --set=root 48c2ae4a-c8bc-41ac-9d45-5b51e326355c fi echo 'Linux 4.19.0-2-amd64 wird geladen …' linux /boot/vmlinuz-4.19.0-2-amd64 root=UUID=2b532d9a-6db9-44d5-a734-57f014a95e38 ro rootflags=subvol=root init=/bin/systemd quiet loglevel=0 echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.19.0-2-amd64 boot } submenu 'Erweiterte Optionen für Debian GNU/Linux testing (buster) GNU/Linux' $menuentry_id_option 'gnulinux-advanced-2b532d9a-6db9-44d5-a734-57f014a95e38' { menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, mit Linux 4.19.0-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-2-amd64-advanced-2b532d9a-6db9-44d5-a734-57f014a95e38' { load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod cryptodisk insmod luks insmod gcry_rijndael insmod gcry_sha256 insmod btrfs echo Debian GNU/Linux aljanah set root='cryptouuid/650274b11db04b8e8c33924147381ffa' for i in 4 3 2 1 0; do if cryptomount -u 650274b11db04b8e8c33924147381ffa; then break; else echo; fi; done if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='cryptouuid/650274b11db04b8e8c33924147381ffa' 48c2ae4a-c8bc-41ac-9d45-5b51e326355c else search --no-floppy --fs-uuid --set=root 48c2ae4a-c8bc-41ac-9d45-5b51e326355c fi echo 'Linux 4.19.0-2-amd64 wird geladen …' linux /boot/vmlinuz-4.19.0-2-amd64 root=UUID=2b532d9a-6db9-44d5-a734-57f014a95e38 ro rootflags=subvol=root init=/bin/systemd quiet loglevel=0 echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.19.0-2-amd64 boot } menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, mit Linux 4.19.0-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-2-amd64-recovery-2b532d9a-6db9-44d5-a734-57f014a95e38' { load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod cryptodisk insmod luks insmod gcry_rijndael insmod gcry_sha256 insmod btrfs echo Debian GNU/Linux aljanah set root='cryptouuid/650274b11db04b8e8c33924147381ffa' for i in 4 3 2 1 0; do if cryptomount -u 650274b11db04b8e8c33924147381ffa; then break; else echo; fi; done if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='cryptouuid/650274b11db04b8e8c33924147381ffa' 48c2ae4a-c8bc-41ac-9d45-5b51e326355c else search --no-floppy --fs-uuid --set=root 48c2ae4a-c8bc-41ac-9d45-5b51e326355c fi echo 'Linux 4.19.0-2-amd64 wird geladen …' linux /boot/vmlinuz-4.19.0-2-amd64 root=UUID=2b532d9a-6db9-44d5-a734-57f014a95e38 ro single rootflags=subvol=root echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.19.0-2-amd64 boot } menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, mit Linux 4.19.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-1-amd64-advanced-2b532d9a-6db9-44d5-a734-57f014a95e38' { load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod cryptodisk insmod luks insmod gcry_rijndael insmod gcry_sha256 insmod btrfs echo Debian GNU/Linux aljanah set root='cryptouuid/650274b11db04b8e8c33924147381ffa' for i in 4 3 2 1 0; do if cryptomount -u 650274b11db04b8e8c33924147381ffa; then break; else echo; fi; done if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='cryptouuid/650274b11db04b8e8c33924147381ffa' 48c2ae4a-c8bc-41ac-9d45-5b51e326355c else search --no-floppy --fs-uuid --set=root 48c2ae4a-c8bc-41ac-9d45-5b51e326355c fi echo 'Linux 4.19.0-1-amd64 wird geladen …' linux /boot/vmlinuz-4.19.0-1-amd64 root=UUID=2b532d9a-6db9-44d5-a734-57f014a95e38 ro rootflags=subvol=root init=/bin/systemd quiet loglevel=0 echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.19.0-1-amd64 boot } menuentry 'Debian GNU/Linux testing (buster) GNU/Linux, mit Linux 4.19.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-1-amd64-recovery-2b532d9a-6db9-44d5-a734-57f014a95e38' { load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod cryptodisk insmod luks insmod gcry_rijndael insmod gcry_sha256 insmod btrfs echo Debian GNU/Linux aljanah set root='cryptouuid/650274b11db04b8e8c33924147381ffa' for i in 4 3 2 1 0; do if cryptomount -u 650274b11db04b8e8c33924147381ffa; then break; else echo; fi; done if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='cryptouuid/650274b11db04b8e8c33924147381ffa' 48c2ae4a-c8bc-41ac-9d45-5b51e326355c else search --no-floppy --fs-uuid --set=root 48c2ae4a-c8bc-41ac-9d45-5b51e326355c fi echo 'Linux 4.19.0-1-amd64 wird geladen …' linux /boot/vmlinuz-4.19.0-1-amd64 root=UUID=2b532d9a-6db9-44d5-a734-57f014a95e38 ro single rootflags=subvol=root echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-4.19.0-1-amd64 boot } } menuentry "FreeBSD 13.0-CURRENT" --unrestricted { insmod zfs insmod bsd insmod cryptodisk insmod gcry_rijndael insmod geli insmod gcry_sha256 echo FreeBSD alhena for i in 4 3 2 1 0; do if cryptomount -u 7dd740761ae22a2b5d353c2340ede1b40dfd55f0f56dabf002b7782c1f06b71a; then break; else echo; fi; done search --label --set=root alhena_zboot echo 'FreeBSD 13.0-CURRENT wird geladen …' kfreebsd /boot@/boot/kernel/kernel kfreebsd_module_elf /boot@/boot/kernel/opensolaris.ko kfreebsd_module_elf /boot@/boot/kernel/zfs.ko kfreebsd_module_elf /boot@/boot/kernel/geom_eli.ko set kFreeBSD.vfs.root.mountfrom=zfs:alhena_zroot/root boot } submenu 'Erweiterte Optionen für FreeBSD 13.0-CURRENT' { menuentry "FreeBSD 13.0-CURRENT" { insmod zfs insmod bsd insmod cryptodisk insmod gcry_rijndael insmod geli insmod gcry_sha256 echo FreeBSD alhena for i in 4 3 2 1 0; do if cryptomount -u 7dd740761ae22a2b5d353c2340ede1b40dfd55f0f56dabf002b7782c1f06b71a; then break; else echo; fi; done search --label --set=root alhena_zboot echo 'FreeBSD 13.0-CURRENT wird geladen …' kfreebsd /boot@/boot/kernel/kernel kfreebsd_module_elf /boot@/boot/kernel/opensolaris.ko kfreebsd_module_elf /boot@/boot/kernel/zfs.ko kfreebsd_module_elf /boot@/boot/kernel/geom_eli.ko set kFreeBSD.vfs.root.mountfrom=zfs:alhena_zroot/root boot } menuentry "FreeBSD 13.0-CURRENT (single user)" { insmod zfs insmod bsd insmod cryptodisk insmod gcry_rijndael insmod geli insmod gcry_sha256 echo FreeBSD alhena for i in 4 3 2 1 0; do if cryptomount -u 7dd740761ae22a2b5d353c2340ede1b40dfd55f0f56dabf002b7782c1f06b71a; then break; else echo; fi; done search --label --set=root alhena_zboot echo 'FreeBSD 13.0-CURRENT wird geladen …' kfreebsd /boot@/boot/kernel/kernel -s kfreebsd_module_elf /boot@/boot/kernel/opensolaris.ko kfreebsd_module_elf /boot@/boot/kernel/zfs.ko kfreebsd_module_elf /boot@/boot/kernel/geom_eli.ko set kFreeBSD.vfs.root.mountfrom=zfs:alhena_zroot/root boot } } menuentry "" --unrestricted { true } menuentry "Von einem externen Gerät booten" { set root='(hd1)' chainloader +1 boot } menuentry "" --unrestricted { true } menuentry "Neustart" --unrestricted { reboot } menuentry "Ausschalten" --unrestricted { halt } menuentry "" --unrestricted { true } menuentry "Eigentümerinformation / Device owner information" --unrestricted { echo "Dieses Gerät gehört / This device belongs to: Familie Senger <familie.sen...@familie-senger.net>" sleep -i 10 } ### 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 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940 -> ../../sda lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part1 -> ../../sda1 lrwxrwxrwx 1 root root 11 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part10 -> ../../sda10 lrwxrwxrwx 1 root root 11 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part11 -> ../../sda11 lrwxrwxrwx 1 root root 11 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part12 -> ../../sda12 lrwxrwxrwx 1 root root 11 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part13 -> ../../sda13 lrwxrwxrwx 1 root root 11 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part14 -> ../../sda14 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part4 -> ../../sda4 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part6 -> ../../sda6 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part7 -> ../../sda7 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part8 -> ../../sda8 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ata-SAMSUNG_MZ7PA128HMCD-010L1_S0MUNEAC106940-part9 -> ../../sda9 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-name-_dev_sda7 -> ../../dm-4 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-name-aljanah_boot -> ../../dm-2 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-name-aljanah_root -> ../../dm-0 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-name-aljanah_swap -> ../../dm-1 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-name-shared -> ../../dm-3 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-uuid-CRYPT-LUKS1-650274b11db04b8e8c33924147381ffa-aljanah_boot -> ../../dm-2 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-uuid-CRYPT-LUKS1-bf8ff5ea625c4003ad6e77fafdc7affa-aljanah_root -> ../../dm-0 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-uuid-CRYPT-LUKS1-d3e5668d29894e2299685ac6c7d0cca0-_dev_sda7 -> ../../dm-4 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-uuid-CRYPT-LUKS1-ea5adf7d4e9a43f1bbb35ad740c37bae-aljanah_swap -> ../../dm-1 lrwxrwxrwx 1 root root 10 Feb 6 16:15 dm-uuid-CRYPT-TCRYPT-shared -> ../../dm-3 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 10 Feb 6 16:15 11021082337919233974 -> ../../dm-3 lrwxrwxrwx 1 root root 10 Feb 6 16:15 147E-7571 -> ../../sda2 lrwxrwxrwx 1 root root 10 Feb 6 16:15 2b532d9a-6db9-44d5-a734-57f014a95e38 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Feb 6 16:15 48c2ae4a-c8bc-41ac-9d45-5b51e326355c -> ../../dm-2 lrwxrwxrwx 1 root root 10 Feb 6 16:15 4b2979da-62dc-4ca1-8f94-8af56f195683 -> ../../dm-4 lrwxrwxrwx 1 root root 10 Feb 6 16:15 650274b1-1db0-4b8e-8c33-924147381ffa -> ../../sda4 lrwxrwxrwx 1 root root 11 Feb 6 16:15 b4e97bd2-ab65-4ba6-a428-090bc5d41102 -> ../../loop0 lrwxrwxrwx 1 root root 10 Feb 6 16:15 bf8ff5ea-625c-4003-ad6e-77fafdc7affa -> ../../sda5 lrwxrwxrwx 1 root root 10 Feb 6 16:15 c2889a4f-1856-4933-b027-2b88355bb591 -> ../../dm-1 lrwxrwxrwx 1 root root 10 Feb 6 16:15 d3e5668d-2989-4e22-9968-5ac6c7d0cca0 -> ../../sda7 lrwxrwxrwx 1 root root 10 Feb 6 16:15 d9b51fef-c34d-4e4e-847b-813786f7cfeb -> ../../sda3 lrwxrwxrwx 1 root root 10 Feb 6 16:15 ea5adf7d-4e9a-43f1-bbb3-5ad740c37bae -> ../../sda6 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages grub-efi-amd64 depends on: ii debconf [debconf-2.0] 1.5.70 ii grub-common 2.02+dfsg1-10 ii grub-efi-amd64-bin 2.02+dfsg1-10 ii grub2-common 2.02+dfsg1-10 ii ucf 3.0038+nmu1 grub-efi-amd64 recommends no packages. grub-efi-amd64 suggests no packages. -- debconf information excluded