Package: grub-common Version: 2.02+dfsg1-6 Severity: important Tags: d-i Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? updating grub-common from stretch to buster * What exactly did you do (or not do) that was effective (or ineffective)? sudo apt upgrade (after adding buster to apt sources and setting buster as default release) * What was the outcome of this action? After a reboot the system did not boot from ssd at all * What outcome did you expect instead? A system that's able to reboot - System was on legacy boot before upgrading - Upgrading installs grub-efi-amd64, setting boot to EFI - grub-efi-amd64 fails because it tries to write to NVRAM / EFI partition - there will only be a small error message "system may be unbootable" - After reboot, it's not possible to boot Repair needed: - Boot from rescue medium - reinstall grub-efi-amd64 - disable NVRAM access - disable extended EFI partition write - Bootloader should report successful install - Manually set BIOS settings so UEFI boot is enabled OR - Boot from rescue medium - Get working network setup - reinstall grub-pc - BIOS must be set to legacy boot Proposals for solution by package: - do not use problematic settings (NVRAM, EFI extended) or disable them when errors occur - Make any warnings BIG and FAT and show them at end of installation - If UEFI installation fails, fall back to legacy (grub-pc) - Additional warning when switch from legacy to UEFI or vice versa Bye Michael -- Package-specific info: *********************** BEGIN /proc/mounts /dev/mapper/crypt-root / ext4 rw,relatime,errors=remount-ro 0 0 /dev/nvme0n1p2 /boot ext2 rw,relatime,block_validity,barrier,user_xattr,acl 0 0 /dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,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 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b else search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b fi font="/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=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 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b else search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b fi insmod png if background_image /grub/.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/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-cdb0c592-64e4-4b2d-99c1-18d61ab01acb' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b else search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b fi echo 'Linux 4.18.0-1-amd64 wird geladen …' linux /vmlinuz-4.18.0-1-amd64 root=/dev/mapper/crypt-root ro quiet echo 'Initiale Ramdisk wird geladen …' initrd /initrd.img-4.18.0-1-amd64 } submenu 'Erweiterte Optionen für Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-cdb0c592-64e4-4b2d-99c1-18d61ab01acb' { menuentry 'Debian GNU/Linux, mit Linux 4.18.0-1-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-1-amd64-advanced-cdb0c592-64e4-4b2d-99c1-18d61ab01acb' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b else search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b fi echo 'Linux 4.18.0-1-amd64 wird geladen …' linux /vmlinuz-4.18.0-1-amd64 root=/dev/mapper/crypt-root ro quiet echo 'Initiale Ramdisk wird geladen …' initrd /initrd.img-4.18.0-1-amd64 } menuentry 'Debian GNU/Linux, with Linux 4.18.0-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-1-amd64-recovery-cdb0c592-64e4-4b2d-99c1-18d61ab01acb' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b else search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b fi echo 'Linux 4.18.0-1-amd64 wird geladen …' linux /vmlinuz-4.18.0-1-amd64 root=/dev/mapper/crypt-root ro single echo 'Initiale Ramdisk wird geladen …' initrd /initrd.img-4.18.0-1-amd64 } menuentry 'Debian GNU/Linux, mit Linux 4.17.0-0.bpo.3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.0-0.bpo.3-amd64-advanced-cdb0c592-64e4-4b2d-99c1-18d61ab01acb' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b else search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b fi echo 'Linux 4.17.0-0.bpo.3-amd64 wird geladen …' linux /vmlinuz-4.17.0-0.bpo.3-amd64 root=/dev/mapper/crypt-root ro quiet echo 'Initiale Ramdisk wird geladen …' initrd /initrd.img-4.17.0-0.bpo.3-amd64 } menuentry 'Debian GNU/Linux, with Linux 4.17.0-0.bpo.3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.0-0.bpo.3-amd64-recovery-cdb0c592-64e4-4b2d-99c1-18d61ab01acb' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b else search --no-floppy --fs-uuid --set=root fab92ffa-25f3-41f7-9352-b2c8b892480b fi echo 'Linux 4.17.0-0.bpo.3-amd64 wird geladen …' linux /vmlinuz-4.17.0-0.bpo.3-amd64 root=/dev/mapper/crypt-root ro single echo 'Initiale Ramdisk wird geladen …' initrd /initrd.img-4.17.0-0.bpo.3-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 /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 10 Sep 13 07:06 dm-name-crypt-root -> ../../dm-1 lrwxrwxrwx 1 root root 10 Sep 13 07:06 dm-name-crypt-swap_1 -> ../../dm-2 lrwxrwxrwx 1 root root 10 Sep 13 07:06 dm-name-nvme0n1p3_crypt -> ../../dm-0 lrwxrwxrwx 1 root root 10 Sep 13 07:06 dm-uuid-CRYPT-LUKS1-caf20a78d598445aa1911fb3a8227f2a-nvme0n1p3_crypt -> ../../dm-0 lrwxrwxrwx 1 root root 10 Sep 13 07:06 dm-uuid-LVM-4ZJTFz1QWSGAYo5dS5gDbN0QIwEBhVwB9fegRTa7fQvVjpYm7XIecK4rDzsnFZJM -> ../../dm-1 lrwxrwxrwx 1 root root 10 Sep 13 07:06 dm-uuid-LVM-4ZJTFz1QWSGAYo5dS5gDbN0QIwEBhVwBThOa4Dq6mpYFkLGkOmBZfJyeOpDCQWaE -> ../../dm-2 lrwxrwxrwx 1 root root 10 Sep 13 07:06 lvm-pv-uuid-kWe2Dx-Hx0q-n38M-8RFx-yhks-CZ9Q-JJSAlP -> ../../dm-0 lrwxrwxrwx 1 root root 13 Sep 13 07:06 nvme-SAMSUNG_MZVLW512HMJP-000L7_S359NX0J313531 -> ../../nvme0n1 lrwxrwxrwx 1 root root 15 Sep 13 07:06 nvme-SAMSUNG_MZVLW512HMJP-000L7_S359NX0J313531-part1 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Sep 13 07:06 nvme-SAMSUNG_MZVLW512HMJP-000L7_S359NX0J313531-part2 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 Sep 13 07:06 nvme-SAMSUNG_MZVLW512HMJP-000L7_S359NX0J313531-part3 -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 13 Sep 13 07:06 nvme-eui.002538b371baeede -> ../../nvme0n1 lrwxrwxrwx 1 root root 15 Sep 13 07:06 nvme-eui.002538b371baeede-part1 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Sep 13 07:06 nvme-eui.002538b371baeede-part2 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 Sep 13 07:06 nvme-eui.002538b371baeede-part3 -> ../../nvme0n1p3 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 10 Sep 13 07:06 552d0721-f5a2-4422-89f6-7a97b7d77440 -> ../../dm-2 lrwxrwxrwx 1 root root 15 Sep 13 07:06 A4D1-8A9E -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Sep 13 07:06 caf20a78-d598-445a-a191-1fb3a8227f2a -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 10 Sep 13 07:06 cdb0c592-64e4-4b2d-99c1-18d61ab01acb -> ../../dm-1 lrwxrwxrwx 1 root root 15 Sep 13 07:06 fab92ffa-25f3-41f7-9352-b2c8b892480b -> ../../nvme0n1p2 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores) 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-common depends on: ii gettext-base 0.19.8.1-7 ii libc6 2.27-6 ii libdevmapper1.02.1 2:1.02.145-4.1 ii libfreetype6 2.8.1-2 ii libfuse2 2.9.8-2 ii liblzma5 5.2.2-1.3 Versions of packages grub-common recommends: ii os-prober 1.76 Versions of packages grub-common suggests: ii console-setup 1.185 ii desktop-base 9.0.7 pn grub-emu <none> pn multiboot-doc <none> ii xorriso 1.4.8-3 -- no debconf information