Installing 12.04 with / on a btrfs partition crashes the GRUB setup

Bug #988848 reported by Samuel Bancal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

I tried to Install 12.04 next to a Win7.
partitions are :
   Device Boot Start End Blocks Id System
/dev/sda1 63 498014 248976 6 FAT16
/dev/sda2 * 499712 2035711 768000 7 HPFS/NTFS/exFAT
/dev/sda3 2035712 245216159 121590224 7 HPFS/NTFS/exFAT
/dev/sda4 245217278 488396799 121589761 5 Extended
/dev/sda5 245217280 486443007 120612864 83 Linux
/dev/sda6 486445056 488396799 975872 82 Linux swap / Solaris

/dev/sda5 : btrfs -> /
/dev/sda6 : swap

Everything goes right during installation except the final step when I get the message that GRUB could not be installed on disk /dev/sda.

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.10.16
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
CasperVersion: 1.315
Date: Thu Apr 26 14:47:15 2012
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
 TERM=unknown
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Samuel Bancal (samuel-bancal) wrote :
Revision history for this message
Samuel Bancal (samuel-bancal) wrote :

FYI : I tried exactly the same install with /boot on an ext4 ... and it worked.

Revision history for this message
Gary M (garym) wrote :

Apr 26 12:46:15 ubuntu grub-installer: info: Installing grub on '/dev/sda'
Apr 26 12:46:15 ubuntu grub-installer: info: grub-install supports --no-floppy
Apr 26 12:46:15 ubuntu grub-installer: info: Running chroot /target grub-install --no-floppy --force "/dev/sda"
Apr 26 12:46:17 ubuntu grub-installer: /usr/sbin/grub-setup: warn: Your core.img is unusually large. It won't fit in the embedding area..
Apr 26 12:46:17 ubuntu grub-installer: /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
Apr 26 12:46:22 ubuntu grub-installer: /usr/sbin/grub-setup: error: cannot read `/boot/grub/core.img' correctly.
Apr 26 12:46:22 ubuntu grub-installer: error: Running 'grub-install --no-floppy --force "/dev/sda"' failed.

Revision history for this message
Gary M (garym) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 879109, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.