Bug#487328: prepare_grub_to_access_device not changeing to boot partition
Bram Diederik
bram.diederik at gmail.com
Sat Jun 21 00:39:07 UTC 2008
Package: grub-pc
Version: 1.96+20080617-1
at the end of 00_header and /etc/grub.d/05_debian_theme:
the code tells
# set the root variable back to what 10_linux expects
prepare_grub_to_access_device ${GRUB_DEVICE_BOOT}
But in update-grub_lib
# If our target is the same partition that provides /boot, our $root
# is already set to what we want, so no need to bother with UUIDs.
if [ "x${device}" = "x${GRUB_DEVICE_BOOT}" ] ; then
return
fi
This is just added the latest release
${GRUB_DEVICE_BOOT} = ${GRUB_DEVICE_BOOT} so return don't search for
the boot device
Bram Diederik
grub.cnf with error
the boot is (hd0,1) as you can see the /usr is missing hd0,5 is the
usr partition
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,5)
if font /share/grub/unicode.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,5)
insmod png
if background_image
/share/images/desktop-base/debian-blueish-wallpaper-640x480.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_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.25-2-686" {
linux /vmlinuz-2.6.25-2-686 root=/dev/sda3 ro vga=791 splash
initrd /initrd.img-2.6.25-2-686
}
[..] enz [..]
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
More information about the Pkg-grub-devel
mailing list