Description of problem: If you install mga5 on btrfs partitions on a dualboot box with an installed windows OS, the installer cannot install the Grub2 bootloader. If you move the start of the windows partition using a Gparted-Live and leave a 2MB (maybe 1MB suffices) empty space ahead of the windows partition then it works. There are some postings on the WEB from OpenSuse about this problem: https://forums.opensuse.org/showthread.php/502134-GRUB2-amp-BTRFS/page2 => https://bugzilla.opensuse.org/show_bug.cgi?id=841247#c18 => https://bugzilla.opensuse.org/attachment.cgi?id=611757&action=diff I am not rating this as a release blocker, should I? Reproducible: Steps to Reproduce:
Just creating a small ext4 /boot would workaround this
CC: (none) => thierry.vignaud, zen25000Blocks: (none) => 416
Summary: Grub2 doesn't install the bootloader if we have a dualboot with windows starting at sector 63 => Grub2 doesn't install the bootloader on btrfs if we have a dualboot with windows starting at sector 63Source RPM: (none) => grub2
Thomas: I think we should revert your fix for bug #15374....
Keywords: (none) => PATCHDepends on: (none) => 15374Assignee: bugsquad => tmb
CC: (none) => eeeemail
Thierry, Thomas, is that something that must be done for mga5? (in other words, is it a release blocker)
Samuel, Thierry: If we don't do anything, we will have a lot of folks with a problem and we could be trashed by a reviewer. On the other hand, if we introduce a fix this late w/o a lot of testing by cauldron users, we could have a problem too. I would favor a prominent paragraph in the Release Notes and Errata. I moved the start of the windows using GParted-live. It's very easy. Unfortunately, we don't provide it on our Live-DVD (there is probably no room on the Live-CD)
Whiteboard: (none) => FOR_ERRATA
Barry can you fix grub2 regarding booting from btrfs?
Keywords: PATCH => (none)Assignee: tmb => zen25000
If anyone can test this, a test grub2 build with the OpenSuSE patch from #0 is here in my repo now: grub2-2.02-0.git10457.6.2 Install by adding and enabling http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/media/extra/release/ s/x86_64/i586/ for the i586 build. Remove that media afterwards as there is all-sorts of test stuff in there you REALLY do not want!
I happened to have a VM with Windows-8.1 (UEFI) and tried a net-install of Mga6 cauldron onto btrfs next to it. I now know that the Windows recovery partition is sda1 and first sector: 2048 (at 1024.0 KiB) However, grub2 install failed. (fail message in attachment to follow) I closed the VM and ran the installer again with the patched grub2 in #6 available and the install completed. Other than a cryptic message in the grub2 console at boot there were no problems and it booted into LXDE. So it seems that the patch does something useful for btrfs even when the first sector start is not at sector 63.
Created attachment 7935 [details] Image of error in installer
Created attachment 7936 [details] message during boot that works This message displays for a few seconds before booting completes normally.
OK - success! I installed XP in a VM which did place itself at sector 63. I then net-installed Cauldron alongside it on btrfs root using free space above XP. Using current Cauldron grub2 it failed installing bootloader with the error which I will attach below. I shut down the VM and re-ran the net install to upgrade my previous install, but added my local repo with the patched grub2. The bootloader install went without error and on re-boot the boot was successful. (Not to graphical, but that is another issue probably with VBox) @Thierry Are you OK for me to push this now, or would you prefer it went to updates_testing first?
Created attachment 7937 [details] Bootloader fail screen without patch Bootloader failure before updating to patched grub2 in installer.
I saw no regression in my current ext4 system with this patched version. It is now in svn.
OK pushed to Cauldron. Closing as fixed.
Status: NEW => RESOLVEDResolution: (none) => FIXED