grub-installer fails to install when using btrfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer |
New
|
Undecided
|
Unassigned | ||
grub-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
With the daily Kubuntu 14.04 installer I tried to install with a btrfs root filesystem and a swap partition (there's also a Dell specific DOS partition, but I'm leaving that alone) the installer says it fails to install grub.
Jan 5 12:02:24 kubuntu grub-installer: info: Installing grub on '/dev/sda'
Jan 5 12:02:25 kubuntu grub-installer: info: grub-install does not support --no-floppy
Jan 5 12:02:25 kubuntu grub-installer: info: Running chroot /target grub-install --force "/dev/sda"
Jan 5 12:02:26 kubuntu grub-installer: /usr/sbin/
Jan 5 12:02:26 kubuntu grub-installer: /usr/sbin/
Jan 5 12:02:26 kubuntu grub-installer: error: Running 'grub-install --force "/dev/sda"' failed.
Needless to say the system fails to boot after that. :-(
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity 2.17.3
ProcVersionSign
Uname: Linux 3.12.0-7-generic x86_64
ApportVersion: 2.12.7-0ubuntu3
Architecture: amd64
CasperVersion: 1.336ubuntu1
CurrentDesktop: KDE
Date: Sun Jan 5 23:02:33 2014
InstallCmdLine: file=/cdrom/
LiveMediaBuild: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140105)
MarkForUpload: True
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
It seems that you used a very old tool to partition the disk. You will need to repartition it so that the partition is correctly aligned to a 1 MiB boundary.