Bug#747892: grub-pc: Windows Vista disappeared from boot menu
Tapio Lehtonen
tapio.lehtonen at satatuuli.fi
Mon May 12 16:37:32 UTC 2014
Package: grub-pc
Version: 1.99-27+deb7u2
Severity: normal
Dear Maintainer,
on this Dual Boot machine with Debian 7 and Windows Vista, the Vista
disppeared from the boot menu. I suspect this is the result of some
update recently. I have seen this same thing on other hosts, decided
to report now that I have seen it several times.
I reboot so seldom and even more seldom boot to Windows, so this may
have been a long time ago. Datestamp for /boot/grub/grub.cfg is 2nd
May.
kopiokone at mistraali:/boot/grub$ ls -lh grub.cfg
-r--r--r-- 1 root root 3,3K touko 2 12:46 grub.cfg
Running update-grub fixes the boot menu:
root at mistraali:~# update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
Found Windows Vista (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
done
Lines for Vista are indeed added to /boot/grub/grub.cfg.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/49bb62cb-b294-451d-ae73-0104333c0320 / ext4
rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-WDC_WD2500AAJS-60B4A0_WD-WCAT15438544
*********************** 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 ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 49bb62cb-b294-451d-ae73-0104333c0320
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root
49bb62cb-b294-451d-ae73-0104333c0320
set locale_dir=($root)/boot/grub/locale
set lang=fi_FI
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 ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 49bb62cb-b294-451d-ae73-0104333c0320
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, jakeluversiolla Linux 3.2.0-4-amd64'
--class debian --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root
49bb62cb-b294-451d-ae73-0104333c0320
echo 'Ladataan Linux 3.2.0-4-amd64 käyttöjärjestelmäydin ...'
linux /boot/vmlinuz-3.2.0-4-amd64
root=UUID=49bb62cb-b294-451d-ae73-0104333c0320 ro quiet
echo 'Ladataan alustavaa ramlevyä ...'
initrd /boot/initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, jakeluversiolla Linux 3.2.0-4-amd64
(toipumistila)' --class debian --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root
49bb62cb-b294-451d-ae73-0104333c0320
echo 'Ladataan Linux 3.2.0-4-amd64 käyttöjärjestelmäydin ...'
linux /boot/vmlinuz-3.2.0-4-amd64
root=UUID=49bb62cb-b294-451d-ae73-0104333c0320 ro single
echo 'Ladataan alustavaa ramlevyä ...'
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/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.
### 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 LVM
-- System Information:
Debian Release: 7.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.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.49
ii grub-common 1.99-27+deb7u2
ii grub-pc-bin 1.99-27+deb7u2
ii grub2-common 1.99-27+deb7u2
ii ucf 3.0025+nmu3
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information:
grub-pc/kopt_extracted: false
grub2/kfreebsd_cmdline:
grub2/device_map_regenerated:
* grub-pc/install_devices:
/dev/disk/by-id/ata-WDC_WD2500AAJS-60B4A0_WD-WCAT15438544
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
* grub2/linux_cmdline:
grub-pc/install_devices_empty: false
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
grub-pc/install_devices_failed: false
grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
grub-pc/chainload_from_menu.lst: true
grub-pc/mixed_legacy_and_grub2: true
(END)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tapio_lehtonen.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20140512/918ce0eb/attachment.vcf>
More information about the Pkg-grub-devel
mailing list