[Natty] [BTRFS] grub 2 won't install if /boot is BTRFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
After converting a whole system from ext3 to BTRFS, trying to reinstall grub2 with a BTRFS /boot results in :
root@tethys:/# grub-install /dev/sda
/usr/sbin/
/usr/sbin/
/usr/sbin/
Only solution found so far : Convert /boot back to ext2, and proceed with the rest of the system on BTRFS, except for /boot.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub-pc 1.99~rc1-13ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
CheckboxSubmission: 1ea6109db29b53f
CheckboxSystem: d00f84de8a55581
Date: Wed May 11 11:40:05 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LANGUAGE=fr_FR:en
PATH=(custom, user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: Upgraded to natty on 2011-04-03 (38 days ago)
I found out a fix / workaround, so I don't know if this still is a bug or not. grub2 will actually install with a BTRFS /boot if the disk partition table is converted from MSDOS to GPT, AND a 8 MB bios_grub type EF02 partition is created.
Then grub2 will install.
I've noticed that, when booting from a BTRFS /boot, grub2 will shortly display a message stating « Sparse file not allowed », but then the system goes on booting without any other noticeable problem. (my /boot being "compress=zlib" mounted).