Os installation fails: grub failed to install on /dev/sda

Bug #1548134 reported by Felix Kuehling
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

I tried installing a daily build of 16.04. Fatal error during installation: grub failed to install on /dev/sda.

I used custom partition setup to format an existing partition as / (btrfs) and mounting another existing partition as /home (ext4). I've never tried btrfs as a root filesystem before, but I was feeling adventurous. The installer gave me no indication that there may be problems with btrfs root filesystems, but I'll try again with / as ext4.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.44 [modified: lib/partman/automatically_partition/question]
ProcVersionSignature: Ubuntu 4.4.0-6.21-generic 4.4.1
Uname: Linux 4.4.0-6-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CasperVersion: 1.367
Date: Sun Feb 21 18:36:33 2016
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
LiveMediaBuild: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160219)
ProcEnviron:
 LANGUAGE=en_CA.UTF-8
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Felix Kuehling (fxkuehl) wrote :
Revision history for this message
Felix Kuehling (fxkuehl) wrote :

Installation completed when root as /ext4. Haven't booted into the installed OS yet. Fingers crossed ...

Revision history for this message
Phillip Susi (psusi) wrote :

Your disk was partitioned using an ancient partitioning tool that did not leave enough room before the start of the first partition to install grub when using btrfs as a root filesystem. You will need to re-partition the disk which should not start the first partition until the 1 mb mark, leaving plenty of room for grub.

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.