Bug 1677415 - f30 liveinst unable to install bootloader (due to grub2-mkconfig btrfs blsdir check assuming /boot/loader/entries exists)
Summary: f30 liveinst unable to install bootloader (due to grub2-mkconfig btrfs blsdir...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Javier Martinez Canillas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-14 19:46 UTC by satellitgo
Modified: 2019-10-15 06:21 UTC (History)
12 users (show)

Fixed In Version: grub2-2.02-70.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-15 06:21:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
unable to install bootloader (81.08 KB, image/png)
2019-02-14 19:46 UTC, satellitgo
no flags Details
liveinst failure (60.94 KB, image/png)
2019-02-14 20:08 UTC, satellitgo
no flags Details
GTK could not be initialized using setenforce=0 on reboot (94.08 KB, image/png)
2019-02-14 20:10 UTC, satellitgo
no flags Details
Install works in 20190216 in vmm (101.11 KB, image/png)
2019-02-16 20:37 UTC, satellitgo
no flags Details

Description satellitgo 2019-02-14 19:46:06 UTC
Created attachment 1534942 [details]
unable to install bootloader

Description of problem:
Unable to install bootloader

Version-Release number of selected component (if applicable):

anacona 30.23-1.fc30
How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 satellitgo 2019-02-14 20:08:57 UTC
Created attachment 1534951 [details]
liveinst failure

Comment 2 satellitgo 2019-02-14 20:10:23 UTC
Created attachment 1534952 [details]
GTK could not be initialized using setenforce=0 on reboot

Comment 3 satellitgo 2019-02-14 20:39:28 UTC
(In reply to satellitgo from comment #0)
> Created attachment 1534942 [details]
> unable to install bootloader
> 
> Description of problem:
> Unable to install bootloader
> 
> Version-Release number of selected component (if applicable):
> 
> anacona 30.23-1.fc30
> How reproducible:
> 
> 
> Steps to Reproduce:
> 1.
> 2.
> 3.
> 
> Actual results:
> 
> 
> Expected results:
> 
> 
> Additional info:

2048 memory 8 GB HD Oracle VM  fails like this

2048 memory 16 GB HD will test...

Comment 4 satellitgo 2019-02-14 20:51:29 UTC
still fails with 16 GB HD

Comment 5 Chris Murphy 2019-02-14 22:11:37 UTC
I just did one of these with 20190211 Live media, so you need to be more clear which compose you're using, and also need the /tmp/*log files so we can see what's going on. And also reproduce steps - did you use custom or automatic partitioning, etc.

Comment 6 Adam Williamson 2019-02-14 22:22:59 UTC
Almost certainly this is https://bugzilla.redhat.com/show_bug.cgi?id=1676357 . openQA tests failed the same way today and the logs point to that.

*** This bug has been marked as a duplicate of bug 1676357 ***

Comment 7 Adam Williamson 2019-02-15 17:21:09 UTC
Actually wasn't a dupe, there were two bugs. Yay.

Comment 8 Adam Williamson 2019-02-15 17:23:40 UTC
For the record, the other bug is that javier added a patch to grub2 intended to make something work better for btrfs BLS installs:

https://src.fedoraproject.org/rpms/grub2/c/e3a408a5213b41654d0802bed80fb261d685d7de?branch=master

but the 0282 patch there has a bug; it assumes /boot/loader/entries always already exists, which is not a safe assumption. In fact when grub2-mkconfig is run during Fedora live install, /boot/loader/entries does not exist yet. So that was failing.

Comment 9 satellitgo 2019-02-16 20:37:51 UTC
Created attachment 1535587 [details]
Install works in 20190216 in vmm

looks fixed in VMM 20190216 soas x86

Comment 10 Ben Cotton 2019-08-13 17:10:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 11 Ben Cotton 2019-08-13 19:34:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.


Note You need to log in before you can comment on or make changes to this bug.