Bug#680718: No proper upgrade path from grub-pc to grub-efi
Andrey Rahmatullin
wrar at wrar.name
Sun Jul 8 07:31:09 UTC 2012
Package: grub-efi-amd64
Version: 1.99-22.1
Severity: important
I had grub-pc installed. When I installed grub-efi-amd64 it didn't replace
files from grub-pc (/boot/grub and /etc/default/grub). I purged grub-pc and
those files were dropped entirely (there was a confirmation though, about
"having another boot loader installed"). I needed to reinstall grub-efi-amd64
to get /boot/grub and /etc/default/grub back.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/vgmain-root / xfs rw,relatime,attr2,noquota 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp866,iocharset=cp1251,shortname=mixed,errors=remount-ro 0 0
/dev/mapper/vgmain-var /var xfs rw,relatime,attr2,noquota 0 0
/dev/mapper/vgmain-varlog /var/log ext4 rw,relatime,nodelalloc,data=journal 0 0
/dev/mapper/vgmain-home /home xfs rw,relatime,attr2,noquota 0 0
/dev/mapper/vgmain-bulk /home/wrar/bulk xfs rw,relatime,attr2,noquota 0 0
/dev/sdd5 /mnt/backup ext4 rw,nosuid,nodev,noexec,relatime,data=ordered 0 0
/dev/loop0 /home/wrar/tmp/1 udf ro,relatime,utf8 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-INTEL_SSDSC2CW060A3_CVCV153204W7060AGN
(hd1) /dev/disk/by-id/ata-Hitachi_HDS723020BLA642_MN1220F31SS00D
(hd2) /dev/disk/by-id/ata-WDC_WD7500AACS-65D6B0_WD-WCAU50059919
(hd3) /dev/disk/by-id/ata-WDC_WD20EADS-11R6B1_WD-WCAVY2647133
*********************** 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 efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
}
insmod lvm
insmod part_msdos
insmod part_gpt
insmod xfs
set root='(vgmain-root)'
search --no-floppy --fs-uuid --set=root aa1bc692-d0e8-4c95-86d5-82bd76acb250
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768
load_video
insmod gfxterm
insmod lvm
insmod part_msdos
insmod part_gpt
insmod xfs
set root='(vgmain-root)'
search --no-floppy --fs-uuid --set=root aa1bc692-d0e8-4c95-86d5-82bd76acb250
set locale_dir=($root)/boot/grub/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod part_msdos
insmod part_gpt
insmod xfs
set root='(vgmain-root)'
search --no-floppy --fs-uuid --set=root aa1bc692-d0e8-4c95-86d5-82bd76acb250
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
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, с Linux 3.4.1-wrar-5+' --class debian --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=1280x1024x32
insmod gzio
insmod lvm
insmod part_msdos
insmod part_gpt
insmod xfs
set root='(vgmain-root)'
search --no-floppy --fs-uuid --set=root aa1bc692-d0e8-4c95-86d5-82bd76acb250
echo 'Загружается Linux 3.4.1-wrar-5+ ...'
linux /boot/vmlinuz-3.4.1-wrar-5+ root=/dev/mapper/vgmain-root ro resume=/dev/mapper/vgmain-swap pause_on_oops=120
echo 'Загружается начальный ramdisk ...'
initrd /boot/initrd.img-3.4.1-wrar-5+
}
### 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/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.
menuentry "Windows 7 (loader) (on /dev/sdc1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd2,msdos1)'
search --no-floppy --fs-uuid --set=root BCCEC631CEC5E3AC
chainloader +1
}
### 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 ###
### BEGIN /etc/grub.d/42_grml ###
menuentry "Grml Rescue System (grml64-full_2012.05.iso)" {
insmod lvm
insmod part_msdos
insmod part_gpt
insmod xfs
set root='(vgmain-root)'
search --no-floppy --fs-uuid --set=root aa1bc692-d0e8-4c95-86d5-82bd76acb250
iso_path="/boot/grml/grml64-full_2012.05.iso"
export iso_path
kernelopts=" live-media=/dev/sda2,/dev/mapper/vgmain-root "
export kernelopts
loopback loop "/boot/grml/grml64-full_2012.05.iso"
set root=(loop)
configfile /boot/grub/loopback.cfg
}
### END /etc/grub.d/42_grml ###
*********************** 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 Jul 8 04:33 ata-Hitachi_HDS723020BLA642_MN1220F31SS00D -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-Hitachi_HDS723020BLA642_MN1220F31SS00D-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jul 8 04:33 ata-INTEL_SSDSC2CW060A3_CVCV153204W7060AGN -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-INTEL_SSDSC2CW060A3_CVCV153204W7060AGN-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-INTEL_SSDSC2CW060A3_CVCV153204W7060AGN-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jul 8 04:33 ata-WDC_WD20EADS-11R6B1_WD-WCAVY2647133 -> ../../sdd
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-WDC_WD20EADS-11R6B1_WD-WCAVY2647133-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-WDC_WD20EADS-11R6B1_WD-WCAVY2647133-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-WDC_WD20EADS-11R6B1_WD-WCAVY2647133-part5 -> ../../sdd5
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-WDC_WD20EADS-11R6B1_WD-WCAVY2647133-part6 -> ../../sdd6
lrwxrwxrwx 1 root root 9 Jul 8 04:33 ata-WDC_WD7500AACS-65D6B0_WD-WCAU50059919 -> ../../sdc
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-WDC_WD7500AACS-65D6B0_WD-WCAU50059919-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 ata-WDC_WD7500AACS-65D6B0_WD-WCAU50059919-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-name-vgmain-altlinux -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-name-vgmain-bulk -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-name-vgmain-home -> ../../dm-5
lrwxrwxrwx 1 root root 10 Jul 8 10:33 dm-name-vgmain-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 8 10:33 dm-name-vgmain-swap -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-name-vgmain-var -> ../../dm-6
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-name-vgmain-varlog -> ../../dm-4
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-uuid-LVM-W0Yvj3V9HqgQTe476Gn5vsg8wmzYN9M0AJYQIZrkqtcI5UAKiFv0E7D3O2SuXGP8 -> ../../dm-5
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-uuid-LVM-W0Yvj3V9HqgQTe476Gn5vsg8wmzYN9M0HUeHWCCXBTHxDJCwpFwdIgCckd16VZzJ -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-uuid-LVM-W0Yvj3V9HqgQTe476Gn5vsg8wmzYN9M0KA2Yi8gLT46Z0gbOLj9CQ3qOhLttKd2o -> ../../dm-2
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-uuid-LVM-W0Yvj3V9HqgQTe476Gn5vsg8wmzYN9M0P8Sc1NJ1FlQgETyY2qzqKtB9UlTK887P -> ../../dm-6
lrwxrwxrwx 1 root root 10 Jul 8 10:33 dm-uuid-LVM-W0Yvj3V9HqgQTe476Gn5vsg8wmzYN9M0b3ElS5JRa8VGRM3LKF98VXqL9tsgdcFc -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 dm-uuid-LVM-W0Yvj3V9HqgQTe476Gn5vsg8wmzYN9M0dNRPrIrjt4jva1Xmfudqa7ViKMKfaZa9 -> ../../dm-4
lrwxrwxrwx 1 root root 10 Jul 8 10:33 dm-uuid-LVM-W0Yvj3V9HqgQTe476Gn5vsg8wmzYN9M0lG7Mz9e9J2U4LrfDiWnN167qBV4Th7Rc -> ../../dm-0
lrwxrwxrwx 1 root root 9 Jul 8 04:33 scsi-SATA_Hitachi_HDS7230_MN1220F31SS00D -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SATA_Hitachi_HDS7230_MN1220F31SS00D-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jul 8 04:33 scsi-SATA_INTEL_SSDSC2CW0CVCV153204W7060AGN -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SATA_INTEL_SSDSC2CW0CVCV153204W7060AGN-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SATA_INTEL_SSDSC2CW0CVCV153204W7060AGN-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Jul 8 04:33 scsi-SATA_WDC_WD7500AACS-_WD-WCAU50059919 -> ../../sdc
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SATA_WDC_WD7500AACS-_WD-WCAU50059919-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SATA_WDC_WD7500AACS-_WD-WCAU50059919-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Jul 8 04:33 scsi-SWD_Ext_HDD_1021_WCAVY2647133 -> ../../sdd
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SWD_Ext_HDD_1021_WCAVY2647133-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SWD_Ext_HDD_1021_WCAVY2647133-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SWD_Ext_HDD_1021_WCAVY2647133-part5 -> ../../sdd5
lrwxrwxrwx 1 root root 10 Jul 8 04:33 scsi-SWD_Ext_HDD_1021_WCAVY2647133-part6 -> ../../sdd6
lrwxrwxrwx 1 root root 9 Jul 8 12:39 usb-Generic-_SD_MMC_20090815198100000-0:0 -> ../../sde
lrwxrwxrwx 1 root root 10 Jul 8 12:39 usb-Generic-_SD_MMC_20090815198100000-0:0-part1 -> ../../sde1
lrwxrwxrwx 1 root root 9 Jul 8 04:33 wwn-0x5000cca369d8e261 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x5000cca369d8e261-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jul 8 04:33 wwn-0x50014ee20427675d -> ../../sdd
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x50014ee20427675d-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x50014ee20427675d-part2 -> ../../sdd2
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x50014ee20427675d-part5 -> ../../sdd5
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x50014ee20427675d-part6 -> ../../sdd6
lrwxrwxrwx 1 root root 9 Jul 8 04:33 wwn-0x50014ee2ac8b5edc -> ../../sdc
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x50014ee2ac8b5edc-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x50014ee2ac8b5edc-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Jul 8 04:33 wwn-0x5001517bb27c82d7 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x5001517bb27c82d7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 wwn-0x5001517bb27c82d7-part2 -> ../../sda2
*********************** END /dev/disk/by-id
*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jul 8 04:33 08e7a047-6b31-4157-a280-53dfa3eb7b12 -> ../../dm-5
lrwxrwxrwx 1 root root 10 Jul 8 04:33 1001-2C7F -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 37c01c10-4339-460b-85ff-9b0a2730ac2f -> ../../dm-6
lrwxrwxrwx 1 root root 10 Jul 8 04:33 5E0469D60469B227 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Jul 8 04:33 6a7935db-e3a3-4236-ae74-7b488defde0c -> ../../sdd6
lrwxrwxrwx 1 root root 10 Jul 8 04:33 8e3d880b-83da-47b6-bbd9-772ee859564b -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jul 8 12:39 B1EB-2EF3 -> ../../sde1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 BCCEC631CEC5E3AC -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 C2DCD959DCD94875 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 a3d75655-d307-48f1-880f-7c67c415f827 -> ../../sdd5
lrwxrwxrwx 1 root root 10 Jul 8 04:33 a65f9364-e008-492a-9a7b-296ed08fddd2 -> ../../dm-4
lrwxrwxrwx 1 root root 10 Jul 8 10:33 aa1bc692-d0e8-4c95-86d5-82bd76acb250 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Jul 8 10:33 e89b452b-3987-475e-a004-3635c1ef6a88 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Jul 8 04:33 fa81b4a4-b7e1-45ec-a060-8cc58f4a3691 -> ../../dm-2
*********************** END /dev/disk/by-uuid
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.4.1-wrar-5+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-efi-amd64 depends on:
ii debconf [debconf-2.0] 1.5.45
ii grub-common 1.99-22.1
ii grub-efi-amd64-bin 1.99-22.1
ii grub2-common 1.99-22.1
ii ucf 3.0025+nmu3
grub-efi-amd64 recommends no packages.
grub-efi-amd64 suggests no packages.
-- debconf information excluded
More information about the Pkg-grub-devel
mailing list