Bug#553415: grub-pc: grub-pc 1.97 needs --force on macintel to install
Cédric Boutillier
cedric.boutillier at gmail.com
Fri Nov 6 17:34:49 UTC 2009
Package: grub-pc
Version: 1.97-1
Severity: normal
Hi,
I think the problem comes from the fact that on my Mac there is no BIOS
Boot Partition in my GPT partition map. As a consequence, I needed to
install it using blocklists.
It seemed to be no problem (except some warnings) up to version
1.97~beta3 or ~beta4. But since 1.97-1, the option --force is required
for grub-install to install grub to blocklists. This switch is not
passed to grub-install during the configuration of the new version,
leading to an badly installed grub and an unbootable system.
Typing from the commandline
# sudo grub-install --force /dev/sda
seemed to solve the problem for me, since I can now boot with grub
1.97-1.
Hope it helps.
I should probably try grup-efi instead, since creating a BIOS Boot
partition requires the creation of a new partition.
See: http://grub.enbug.org/BIOS_Boot_Partition for more info on grub-pc
and bios boot partitions.
Best,
Cédric
-- Package-specific info:
*********************** WARNING grub-setup left core.img in filesystem
*********************** BEGIN /proc/mounts
/dev/mapper/amoeba-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda3 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/amoeba-home /home ext3 rw,relatime,errors=continue,data=ordered 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 lvm
insmod ext2
set root=(amoeba-root)
search --no-floppy --fs-uuid --set b24e366c-710f-4ee4-91b3-ba96552370b6
if loadfont /usr/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=(hd0,3)
search --no-floppy --fs-uuid --set 44b51d1b-034d-49e7-b255-91b433dad66b
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-686" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 44b51d1b-034d-49e7-b255-91b433dad66b
linux /vmlinuz-2.6.31-1-686 root=/dev/mapper/amoeba-root ro quiet
initrd /initrd.img-2.6.31-1-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-686 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 44b51d1b-034d-49e7-b255-91b433dad66b
linux /vmlinuz-2.6.31-1-686 root=/dev/mapper/amoeba-root ro single
initrd /initrd.img-2.6.31-1-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-686" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 44b51d1b-034d-49e7-b255-91b433dad66b
linux /vmlinuz-2.6.30-2-686 root=/dev/mapper/amoeba-root ro quiet
initrd /initrd.img-2.6.30-2-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-686 (recovery mode)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 44b51d1b-034d-49e7-b255-91b433dad66b
linux /vmlinuz-2.6.30-2-686 root=/dev/mapper/amoeba-root ro single
initrd /initrd.img-2.6.30-2-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Mac OS X (on /dev/sda2)" {
insmod hfsplus
set root=(hd0,2)
search --no-floppy --fs-uuid --set 692a2387b0aa7bc9
insmod vbe
do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
do_resume=1
fi
fi
if [ $do_resume == 0 ]; then
xnu_uuid 692a2387b0aa7bc9 uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devtree.txt ]; then
xnu_devtree /Extra/devtree.txt
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
### 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 ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (700, 'testing'), (600, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.28 Debian configuration management sy
ii grub-common 1.97-1 GRand Unified Bootloader, version
ii libc6 2.10.1-5 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:
grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline:
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/sda
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
--
Cédric Boutillier
Maître de conférences
LPMA - Université Pierre et Marie Curie
More information about the Pkg-grub-devel
mailing list