Bug#891773: Related bug #871229 (but it didn't break my system)

Diederik de Haas didi.debian at cknow.org
Thu Mar 1 11:17:01 UTC 2018


Checked pkg-grub-devel and found related bug #871229.
Normally I'd merge the bugs, but this bug didn't break my system. 
I have rebooted my PC and the boot process *may* have taken a bit longer, 
I'm not sure. But the boot was successful.
Also I just updated my Sid system, no major things like in the other bug.

Anyway, I found Colin asking for the output of a specific command:

# sh -x /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
+ set -e
+ prefix=/usr
+ exec_prefix=/usr
+ datarootdir=/usr/share
+ prefix=/usr
+ exec_prefix=/usr
+ sbindir=/usr/sbin
+ bindir=/usr/bin
+ sysconfdir=/etc
+ PACKAGE_NAME=GRUB
+ PACKAGE_VERSION=2.02+dfsg1-2
+ host_os=linux-gnu
+ datadir=/usr/share
+ [ x = x ]
+ pkgdatadir=/usr/share/grub
+ export pkgdatadir
+ grub_cfg=
+ grub_mkconfig_dir=/etc/grub.d
+ basename /usr/sbin/grub-mkconfig
+ self=grub-mkconfig
+ grub_probe=/usr/sbin/grub-probe
+ grub_file=/usr/bin/grub-file
+ grub_editenv=/usr/bin/grub-editenv
+ grub_script_check=/usr/bin/grub-script-check
+ export TEXTDOMAIN=grub
+ export TEXTDOMAINDIR=/usr/share/locale
+ . /usr/share/grub/grub-mkconfig_lib
+ prefix=/usr
+ exec_prefix=/usr
+ datarootdir=/usr/share
+ datadir=/usr/share
+ bindir=/usr/bin
+ sbindir=/usr/sbin
+ [ x/usr/share/grub = x ]
+ test x/usr/sbin/grub-probe = x
+ test x/usr/bin/grub-file = x
+ test x = x
+ grub_mkrelpath=/usr/bin/grub-mkrelpath
+ which gettext
+ :
+ grub_tab=
+ test 2 -gt 0
+ option=-o
+ shift
+ argument -o /boot/grub/grub.cfg
+ opt=-o
+ shift
+ test 1 -eq 0
+ echo /boot/grub/grub.cfg
+ grub_cfg=/boot/grub/grub.cfg
+ shift
+ test 0 -gt 0
+ fgrep -qs ${GRUB_PREFIX}/video.lst /etc/grub.d/00_header
+ [ x = x ]
+ id -u
+ EUID=0
+ [ 0 != 0 ]
+ set /usr/sbin/grub-probe dummy
+ test -f /usr/sbin/grub-probe
+ :
+ /usr/sbin/grub-probe --target=device /
+ GRUB_DEVICE=/dev/nvme0n1p3
+ /usr/sbin/grub-probe --device /dev/nvme0n1p3 --target=fs_uuid
+ GRUB_DEVICE_UUID=a2a5e481-0ac6-4e68-818f-38255bf7dd57
+ /usr/sbin/grub-probe --target=device /boot
+ GRUB_DEVICE_BOOT=/dev/nvme0n1p2
+ /usr/sbin/grub-probe --device /dev/nvme0n1p2 --target=fs_uuid
+ GRUB_DEVICE_BOOT_UUID=0d4173d9-2331-4f15-bbf8-ba3894700221
+ /usr/sbin/grub-probe --device /dev/nvme0n1p3 --target=fs
+ GRUB_FS=ext2
+ [ xext2 = xunknown ]
+ test -f /etc/default/grub
+ . /etc/default/grub
+ GRUB_DEFAULT=0
+ GRUB_TIMEOUT=5
+ lsb_release -i -s
+ GRUB_DISTRIBUTOR=Debian
+ GRUB_CMDLINE_LINUX_DEFAULT=quiet
+ GRUB_CMDLINE_LINUX=
+ [ -e /etc/default/grub.d/*.cfg ]
+ [ x != x ]
+ termoutdefault=0
+ [ x = x ]
+ GRUB_TERMINAL_OUTPUT=gfxterm
+ termoutdefault=1
+ GRUB_ACTUAL_DEFAULT=0
+ [ x0 = xsaved ]
+ [ x = x ]
+ GRUB_RECOVERY_TITLE=recovery mode
+ export GRUB_DEVICE GRUB_DEVICE_UUID GRUB_DEVICE_BOOT GRUB_DEVICE_BOOT_UUID GRUB_FS GRUB_FONT GRUB_PRELOAD_MODULES GRUB_ACTUAL_DEFAULT
+ export GRUB_DEFAULT GRUB_HIDDEN_TIMEOUT GRUB_HIDDEN_TIMEOUT_QUIET GRUB_TIMEOUT GRUB_TIMEOUT_STYLE GRUB_DEFAULT_BUTTON GRUB_HIDDEN_TIMEOUT_BUTTON GRUB_TIMEOUT_BUTTON GRUB_TIMEOUT_STYLE_BUTTON GRUB_BUTTON_CMOS_ADDRESS GRUB_BUTTON_CMOS_CLEAN GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX_DEFAULT GRUB_CMDLINE_XEN GRUB_CMDLINE_XEN_DEFAULT GRUB_CMDLINE_LINUX_XEN_REPLACE GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT GRUB_CMDLINE_NETBSD GRUB_CMDLINE_NETBSD_DEFAULT GRUB_CMDLINE_GNUMACH GRUB_TERMINAL_INPUT GRUB_TERMINAL_OUTPUT GRUB_SERIAL_COMMAND GRUB_DISABLE_LINUX_UUID GRUB_DISABLE_RECOVERY GRUB_VIDEO_BACKEND GRUB_GFXMODE GRUB_BACKGROUND GRUB_THEME GRUB_GFXPAYLOAD_LINUX GRUB_DISABLE_OS_PROBER GRUB_INIT_TUNE GRUB_SAVEDEFAULT GRUB_ENABLE_CRYPTODISK GRUB_BADRAM GRUB_OS_PROBER_SKIP_LIST GRUB_DISABLE_SUBMENU GRUB_RECORDFAIL_TIMEOUT GRUB_RECOVERY_TITLE
+ test x/boot/grub/grub.cfg != x
+ rm -f /boot/grub/grub.cfg.new
+ umask
+ oldumask=0022
+ umask 077
+ exec
+ umask 0022
+ gettext Generating grub configuration file ...
Generating grub configuration file ...+ echo

+ cat
+ grub_file_is_not_garbage /etc/grub.d/00_header
+ test -f /etc/grub.d/00_header
+ return 0
+ test -x /etc/grub.d/00_header
+ echo
+ echo ### BEGIN /etc/grub.d/00_header ###
+ /etc/grub.d/00_header
Segmentation fault
+ echo ### END /etc/grub.d/00_header ###
+ grub_file_is_not_garbage /etc/grub.d/05_debian_theme
+ test -f /etc/grub.d/05_debian_theme
+ return 0
+ test -x /etc/grub.d/05_debian_theme
+ echo
+ echo ### BEGIN /etc/grub.d/05_debian_theme ###
+ /etc/grub.d/05_debian_theme
Segmentation fault
Found background image: /usr/share/images/desktop-base/desktop-grub.png
+ echo ### END /etc/grub.d/05_debian_theme ###
+ grub_file_is_not_garbage /etc/grub.d/10_linux
+ test -f /etc/grub.d/10_linux
+ return 0
+ test -x /etc/grub.d/10_linux
+ echo
+ echo ### BEGIN /etc/grub.d/10_linux ###
+ /etc/grub.d/10_linux
Found linux image: /boot/vmlinuz-4.15.0-1-amd64
Found initrd image: /boot/initrd.img-4.15.0-1-amd64
Segmentation fault
Found linux image: /boot/vmlinuz-4.14.0-3-amd64
Found initrd image: /boot/initrd.img-4.14.0-3-amd64
Found linux image: /boot/vmlinuz-4.13.0-1-amd64
Found initrd image: /boot/initrd.img-4.13.0-1-amd64
Found linux image: /boot/vmlinuz-4.9.0-3-amd64
Found initrd image: /boot/initrd.img-4.9.0-3-amd64
+ echo ### END /etc/grub.d/10_linux ###
+ grub_file_is_not_garbage /etc/grub.d/20_linux_xen
+ test -f /etc/grub.d/20_linux_xen
+ return 0
+ test -x /etc/grub.d/20_linux_xen
+ echo
+ echo ### BEGIN /etc/grub.d/20_linux_xen ###
+ /etc/grub.d/20_linux_xen
+ echo ### END /etc/grub.d/20_linux_xen ###
+ grub_file_is_not_garbage /etc/grub.d/30_os-prober
+ test -f /etc/grub.d/30_os-prober
+ return 0
+ test -x /etc/grub.d/30_os-prober
+ echo
+ echo ### BEGIN /etc/grub.d/30_os-prober ###
+ /etc/grub.d/30_os-prober
Found Microsoft Windows XP Professional on /dev/sdb2
+ echo ### END /etc/grub.d/30_os-prober ###
+ grub_file_is_not_garbage /etc/grub.d/30_uefi-firmware
+ test -f /etc/grub.d/30_uefi-firmware
+ return 0
+ test -x /etc/grub.d/30_uefi-firmware
+ echo
+ echo ### BEGIN /etc/grub.d/30_uefi-firmware ###
+ /etc/grub.d/30_uefi-firmware
+ echo ### END /etc/grub.d/30_uefi-firmware ###
+ grub_file_is_not_garbage /etc/grub.d/40_custom
+ test -f /etc/grub.d/40_custom
+ return 0
+ test -x /etc/grub.d/40_custom
+ echo
+ echo ### BEGIN /etc/grub.d/40_custom ###
+ /etc/grub.d/40_custom
+ echo ### END /etc/grub.d/40_custom ###
+ grub_file_is_not_garbage /etc/grub.d/41_custom
+ test -f /etc/grub.d/41_custom
+ return 0
+ test -x /etc/grub.d/41_custom
+ echo
+ echo ### BEGIN /etc/grub.d/41_custom ###
+ /etc/grub.d/41_custom
+ echo ### END /etc/grub.d/41_custom ###
+ grub_file_is_not_garbage /etc/grub.d/README
+ test -f /etc/grub.d/README
+ return 1
+ [ x/boot/grub/grub.cfg != x ]
+ grep ^password /boot/grub/grub.cfg.new
+ chmod 444 /boot/grub/grub.cfg.new
+ test x/boot/grub/grub.cfg != x
+ /usr/bin/grub-script-check /boot/grub/grub.cfg.new
+ mv -f /boot/grub/grub.cfg.new /boot/grub/grub.cfg
+ gettext done
done+ echo

My / and /boot partitions are also on a NVMe drive.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20180301/e6b386b5/attachment.sig>


More information about the Pkg-grub-devel mailing list