Bug#556117: grub-pc: update to grub2 fail to create menu for other linux distro and windows in grub.cfg
gnath
prab9062 at dataone.in
Fri Nov 13 16:48:00 UTC 2009
Package: grub-pc
Version: 1.97-1
Severity: normal
Tags: patch
after upgrading to grub2 without any error and reboot,
I found in grub menu no entry for other linux distro and window installed in my system.
Cheked /boot/grub/grub.cfg and found no entry after " /etc/grub.d/40_custom".
So I have to copy them from my old menu.lst and reboot.
Now this work fine as desired.
Require to create menu list like old menu.lst and a backup after any change in grub.cfg
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/e3b6c5a2-7432-4a1f-87f7-733017601fb5 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sdb1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sdb10 /home ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sdb11 /tmp ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sdb13 /usr ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sdb14 /var ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda6 /mnt/music fuseblk rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/sdb6 /mnt/movie fuseblk rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/sdb5 /mnt/movie1 fuseblk rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/sda8 /media/disk fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/sdb9 /media/disk-1 ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/sdb8 /media/disk-2 ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/sda1 /media/disk-3 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/sda7 /media/disk-4 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/sda5 /media/disk-5 fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ext2
set root=(hd1,13)
search --no-floppy --fs-uuid --set 549bdce9-8016-416c-83e7-4a573c5b2d85
if loadfont /share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ff1a15bd-40c4-4954-aead-e881f64692a5
insmod png
if background_image /grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/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, with Linux 2.6.31-1-amd64" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ff1a15bd-40c4-4954-aead-e881f64692a5
linux /vmlinuz-2.6.31-1-amd64 root=UUID=e3b6c5a2-7432-4a1f-87f7-733017601fb5 ro quiet
initrd /initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ff1a15bd-40c4-4954-aead-e881f64692a5
linux /vmlinuz-2.6.31-1-amd64 root=UUID=e3b6c5a2-7432-4a1f-87f7-733017601fb5 ro single
initrd /initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ff1a15bd-40c4-4954-aead-e881f64692a5
linux /vmlinuz-2.6.30-2-amd64 root=UUID=e3b6c5a2-7432-4a1f-87f7-733017601fb5 ro quiet
initrd /initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ff1a15bd-40c4-4954-aead-e881f64692a5
linux /vmlinuz-2.6.30-2-amd64 root=UUID=e3b6c5a2-7432-4a1f-87f7-733017601fb5 ro single
initrd /initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.26-2-amd64" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ff1a15bd-40c4-4954-aead-e881f64692a5
linux /vmlinuz-2.6.26-2-amd64 root=/dev/sdb12 ro quiet
}
menuentry "Debian GNU/Linux, with Linux 2.6.26-2-amd64 (recovery mode)" {
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set ff1a15bd-40c4-4954-aead-e881f64692a5
linux /vmlinuz-2.6.26-2-amd64 root=/dev/sdb12 ro single
}
### END /etc/grub.d/10_linux ###
### 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 ###
menuentry "Microsoft Windows XP Professional" {
set root=(hd0,1)
chainloader +1
}
menuentry "BOSS GNU/Linux, kernel 2.6.22-3-486 (on /dev/sdb8)" {
insmod ext2
set root=(hd1,9)
linux /vmlinuz-2.6.22-3-486 root=/dev/sdb8 ro pci=nommconf iommu=calgary splash=silent vga=791 quiet
initrd /initrd.img-2.6.22-3-486
# savedefault
# boot
}
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii grub-common 1.97-1 GRand Unified Bootloader, version
ii libc6 2.10.1-6 GNU C Library: Shared libraries
ii ucf 3.0024 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem
-- debconf information:
grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: true
* grub-pc/install_devices: /dev/sda
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
More information about the Pkg-grub-devel
mailing list