Bug#919029: grub-pc: meaningless message "RUB boot loader was previously installed..."
Vincent Lefevre
vincent at vinc17.net
Sat Jan 12 00:49:10 GMT 2019
Package: grub-pc
Version: 2.02+dfsg1-10
Severity: important
When upgrading the grub packages, I got the following message:
─────────────────────────┤ Configuring grub-pc ├────────────────────────────────
RUB boot loader was previously installed to a disk that is no
r present, or whose unique identifier has changed for some reason.
important to make sure that the installed GRUB core image stays in
with GRUB modules and grub.cfg. Please check again to make sure
GRUB is written to the appropriate boot devices.
u're unsure which drive is designated as boot drive by your BIOS,
often a good idea to install GRUB to all of them.
it is possible to install GRUB to partition boot records as well,
ome appropriate partitions are offered here. However, this forces
to use the blocklist mechanism, which makes it less reliable, and
fore is not recommended.
install devices:
] /dev/dm-0 (511850 MB; LVM PV RaDD9Y-cDSq-kdoy-fYKY-9eP0-kLkp-M1wVYw on /dev/dm
] /dev/sda (512110 MB; MTFDDAK512MAY-1AE1ZABHA___)
] - /dev/sda1 (254 MB; /boot)
] /dev/dm-1 (491111 MB; zira--vg-root)
<Ok>
Text is missing on the left. Moreover, I don't know why I get such
a message (I haven't changed anything).
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/zira--vg-root / ext4 rw,relatime,errors=remount-ro 0 0
/dev/sda1 /boot ext2 rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4 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="${saved_entry}"
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_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
fi
font="/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x768 640x480
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=POSIX
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 ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
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=keep
export linux_gfx_mode
menuentry 'Debian GNU/Linux, with 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-30a1ad7d-49ca-4b60-91d5-58f6f63d1c8e' {
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
fi
echo 'Loading Linux 4.19.0-1-amd64 ...'
linux /vmlinuz-4.19.0-1-amd64 root=/dev/mapper/zira--vg-root ro quiet
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.19.0-1-amd64
}
menuentry 'Debian GNU/Linux, with 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-30a1ad7d-49ca-4b60-91d5-58f6f63d1c8e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
fi
echo 'Loading Linux 4.19.0-1-amd64 ...'
linux /vmlinuz-4.19.0-1-amd64 root=/dev/mapper/zira--vg-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.19.0-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.18.0-3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-3-amd64-advanced-30a1ad7d-49ca-4b60-91d5-58f6f63d1c8e' {
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
fi
echo 'Loading Linux 4.18.0-3-amd64 ...'
linux /vmlinuz-4.18.0-3-amd64 root=/dev/mapper/zira--vg-root ro quiet
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.18.0-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.18.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-3-amd64-recovery-30a1ad7d-49ca-4b60-91d5-58f6f63d1c8e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
fi
echo 'Loading Linux 4.18.0-3-amd64 ...'
linux /vmlinuz-4.18.0-3-amd64 root=/dev/mapper/zira--vg-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.18.0-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-advanced-30a1ad7d-49ca-4b60-91d5-58f6f63d1c8e' {
savedefault
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
fi
echo 'Loading Linux 4.9.0-8-amd64 ...'
linux /vmlinuz-4.9.0-8-amd64 root=/dev/mapper/zira--vg-root ro quiet
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.9.0-8-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-recovery-30a1ad7d-49ca-4b60-91d5-58f6f63d1c8e' {
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7b3de7fd-236a-47f6-bb85-64831a06ca1f
else
search --no-floppy --fs-uuid --set=root 7b3de7fd-236a-47f6-bb85-64831a06ca1f
fi
echo 'Loading Linux 4.9.0-8-amd64 ...'
linux /vmlinuz-4.9.0-8-amd64 root=/dev/mapper/zira--vg-root ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.9.0-8-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
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat
*********************** BEGIN LVM
--- Volume group ---
VG Name zira-vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
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 <476.70 GiB
PE Size 4.00 MiB
Total PE 122034
Alloc PE / Size 122034 / <476.70 GiB
Free PE / Size 0 / 0
VG UUID KNmogn-dhLE-Icc7-z813-VeeP-QheK-FR9br4
--- Physical volume ---
PV Name /dev/mapper/sda5_crypt
VG Name zira-vg
PV Size <476.70 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 122034
Free PE 0
Allocated PE 122034
PV UUID RaDD9Y-cDSq-kdoy-fYKY-9eP0-kLkp-M1wVYw
--- Logical volume ---
LV Path /dev/zira-vg/root
LV Name root
VG Name zira-vg
LV UUID bmcY3d-oNjg-Tlxv-4uqH-Z2A3-egNH-DFs0aD
LV Write Access read/write
LV Creation host, time zira, 2015-06-18 10:14:23 +0200
LV Status available
# open 1
LV Size 457.38 GiB
Current LE 117090
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Path /dev/zira-vg/swap_1
LV Name swap_1
VG Name zira-vg
LV UUID ID2n9D-aSke-fYVx-yM5I-PnY5-p6zj-9ycVsy
LV Write Access read/write
LV Creation host, time zira, 2015-06-18 10:14:23 +0200
LV Status available
# open 2
LV Size 19.31 GiB
Current LE 4944
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2
*********************** END LVM
*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 2019-01-10 01:47:28 ata-MTFDDAK512MAY-1AE1ZABHA____15060EBA71EE -> ../../sda
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:29 ata-MTFDDAK512MAY-1AE1ZABHA____15060EBA71EE-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 ata-MTFDDAK512MAY-1AE1ZABHA____15060EBA71EE-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 ata-MTFDDAK512MAY-1AE1ZABHA____15060EBA71EE-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 2019-01-10 01:47:29 ata-hp_DVDRW_SU208GB_S16F6YGG30153L -> ../../sr0
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 dm-name-sda5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 dm-name-zira--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 dm-name-zira--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 dm-uuid-CRYPT-LUKS1-ef627f6a446942c89b15f26477969e7b-sda5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 dm-uuid-LVM-KNmogndhLEIcc7z813VeePQheKFR9br4ID2n9DaSkefYVxyM5IPnY5p6zj9ycVsy -> ../../dm-2
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 dm-uuid-LVM-KNmogndhLEIcc7z813VeePQheKFR9br4bmcY3doNjgTlxv4uqHZ2A3egNHDFs0aD -> ../../dm-1
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 lvm-pv-uuid-RaDD9Y-cDSq-kdoy-fYKY-9eP0-kLkp-M1wVYw -> ../../dm-0
lrwxrwxrwx 1 root root 9 2019-01-10 01:47:28 wwn-0x500a07510eba71ee -> ../../sda
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:29 wwn-0x500a07510eba71ee-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 wwn-0x500a07510eba71ee-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 wwn-0x500a07510eba71ee-part5 -> ../../sda5
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 30a1ad7d-49ca-4b60-91d5-58f6f63d1c8e -> ../../dm-1
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 5c626f57-c595-4913-8bb2-08f6d8f419e5 -> ../../dm-2
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:29 7b3de7fd-236a-47f6-bb85-64831a06ca1f -> ../../sda1
lrwxrwxrwx 1 root root 10 2019-01-10 01:47:28 ef627f6a-4469-42c8-9b15-f26477969e7b -> ../../sda5
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /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.69
iu grub-common 2.02+dfsg1-10
iu grub-pc-bin 2.02+dfsg1-10
iu grub2-common 2.02+dfsg1-10
ii ucf 3.0038+nmu1
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information:
grub-pc/disk_description:
grub-pc/install_devices_empty: false
grub-pc/hidden_timeout: false
grub-pc/partition_description:
grub-pc/chainload_from_menu.lst: true
* grub2/linux_cmdline:
grub-pc/timeout: 5
* grub2/linux_cmdline_default: quiet
grub2/force_efi_extra_removable: false
grub2/device_map_regenerated:
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline:
grub-pc/mixed_legacy_and_grub2: true
grub2/update_nvram: true
* grub-pc/install_devices: /dev/disk/by-id/ata-MTFDDAK512MAY-1AE1ZABHA_15060EBA71EE
grub-pc/install_devices_disks_changed:
grub2/kfreebsd_cmdline_default: quiet
grub-pc/install_devices_failed: false
grub-pc/kopt_extracted: false
grub-pc/install_devices_failed_upgrade: true
More information about the Pkg-grub-devel
mailing list