Bug#691359: grub-pc: warning message on grub upgrade
Ritesh Raj Sarraf
rrs at debian.org
Wed Oct 24 18:27:13 UTC 2012
Package: grub-pc
Version: 1.99-23.1
Severity: minor
While upgrading grub, I got the following warning message. In the
debconf window, grub recommends that user select all provided opitons
(which are the whole disk and the individual partitions) to install grub
to. On following the recommendations, the following warning gives an
impression that something terrible has happened.
Setting up grub-pc (1.99-23.1) ...
Installation finished. No error reported.
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a
partitionless disk or to a partition. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be
installed in this setup by using blocklists. However, blocklists are
UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.5-trunk-amd64
Found initrd image: /boot/initrd.img-3.5-trunk-amd64
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
No volume groups found
Found Windows 7 (loader) on /dev/sda2
done
Setting up linux-headers-3.2.0-4-common (3.2.32-1) ...
-- Package-specific info:
*********************** WARNING grub-setup left core.img in filesystem
*********************** BEGIN /proc/mounts
/dev/sda4 / btrfs rw,noatime,ssd,discard,space_cache 0 0
/dev/sda4 /usr btrfs rw,noatime,ssd,discard,space_cache 0 0
/dev/sda4 /var btrfs rw,noatime,ssd,discard,space_cache 0 0
/dev/sda4 /etc btrfs rw,noatime,ssd,discard,space_cache 0 0
/dev/sda4 /home btrfs rw,noatime,ssd,discard,space_cache 0 0
/dev/sda4 /var/log btrfs rw,noatime,ssd,discard,space_cache 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-HITACHI_HTS723216L9SA60_091220FC1220NCJASEVG
*********************** END /boot/grub/device.map
*********************** 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
load_env
fi
set default="0"
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 {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.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 ###
menuentry 'Debian GNU/Linux, with Linux 3.5-trunk-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
echo 'Loading Linux 3.5-trunk-amd64 ...'
linux /boot/vmlinuz-3.5-trunk-amd64 root=UUID=4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de ro quiet init=/bin/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5-trunk-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.5-trunk-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
echo 'Loading Linux 3.5-trunk-amd64 ...'
linux /boot/vmlinuz-3.5-trunk-amd64 root=UUID=4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5-trunk-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
echo 'Loading Linux 3.2.0-4-amd64 ...'
linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de ro quiet init=/bin/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
echo 'Loading Linux 3.2.0-4-amd64 ...'
linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-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/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod btrfs
set root='(/dev/sda,msdos4)'
search --no-floppy --fs-uuid --set=root 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de
multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 0080997F80997C3A
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### 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 $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 Oct 23 02:20 ata-HL-DT-ST_DVDRAM_GT50N_M18C6RM1911 -> ../../sr0
lrwxrwxrwx 1 root root 9 Oct 24 23:51 ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 21 23:32 ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 21 23:32 ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 21 23:32 ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 24 23:51 ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Oct 24 23:51 scsi-SATA_SAMSUNG_MZ7PC12S0U8NSAC531155 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 21 23:32 scsi-SATA_SAMSUNG_MZ7PC12S0U8NSAC531155-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 21 23:32 scsi-SATA_SAMSUNG_MZ7PC12S0U8NSAC531155-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 21 23:32 scsi-SATA_SAMSUNG_MZ7PC12S0U8NSAC531155-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 24 23:51 scsi-SATA_SAMSUNG_MZ7PC12S0U8NSAC531155-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Oct 23 02:20 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root 9 Oct 24 23:51 wwn-0x5002538043584d30 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 21 23:32 wwn-0x5002538043584d30-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 21 23:32 wwn-0x5002538043584d30-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 21 23:32 wwn-0x5002538043584d30-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Oct 24 23:51 wwn-0x5002538043584d30-part4 -> ../../sda4
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Oct 21 23:32 0080997F80997C3A -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 21 23:32 4484996684995AEE -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 24 23:51 4d8f6ac3-7043-4fef-bd17-fb1e41e1a7de -> ../../sda4
lrwxrwxrwx 1 root root 10 Oct 21 23:32 60479ff5-4191-4e9f-9cc7-6b196038173f -> ../../sda3
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.5-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.46
ii grub-common 1.99-23.1
ii grub-pc-bin 1.99-23.1
ii grub2-common 1.99-23.1
ii ucf 3.0025+nmu3
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information:
grub2/kfreebsd_cmdline:
grub2/device_map_regenerated:
* grub2/linux_cmdline:
grub-pc/install_devices_empty: false
grub-pc/install_devices_failed: false
grub-pc/chainload_from_menu.lst: true
grub-pc/hidden_timeout: true
grub-pc/timeout: 10
grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155, /dev/disk/by-id/ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155-part4
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
* grub-pc/install_devices_disks_changed: /dev/disk/by-id/ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155, /dev/disk/by-id/ata-SAMSUNG_MZ7PC128HAFU-000L1_S0U8NSAC531155-part4
* grub2/linux_cmdline_default: quiet init=/bin/systemd
grub-pc/mixed_legacy_and_grub2: true
More information about the Pkg-grub-devel
mailing list