-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after switch to bls system not boot #2121
Comments
Hmm, that's worrying. To sanity-check, this is with Can you confirm that you have e.g.:
in your GRUB config? /cc @martinezjavier (Note this is technically an ostree issue, though it seems one can't transfer issues across organizations, so we can just leave it here for now.) |
That's worrisome indeed. @vtolstov could you please share the following files: /boot/efi/EFI/fedora/grubenv And also your GRUB binary (/boot/efi/EFI/fedora/grubx64.efi) so I can try to reproduce it. |
i'm attach via files, please note that i'm add 15_ostree file to /etc/grub.d so generated contents present in grub.cfg (without it i can't boot system). |
@vtolstov thanks a lot for the files. I see that there is an issue with your By inspecting the binary I noticed that a lot of things are missing, among them the So I guess this is a custom GRUB binary that you built? Can you please test with the latest Fedora binary in grub2-efi-x64-2.04-20.fc32.x86_64.rpm? Another issue I noticed is that since you are not using a boot partition, the For example ostreedev/ostree#1404 and ostreedev/ostree#1452 seems to indicate that this is not a supported configuration for I see that you added |
|
But you mentioned that executed So you should had the same GRUB in the ESP as the one installed by ostree in But your GRUB definitely doesn't come from Fedora, since is not even signed:
It should be something like the following:
Did you execute We should make Did you test using the GRUB binary from Fedora as mentioned in my previous comment? Just copying from
Yes, but the GRUB binary is not updated by
This is a good question. Until @jlebon what do you think about this? I believe we should also check for
That's correct, the The GRUB EFI loader that supports Secure Boot is still not in upstream (but has been carried in most distros for years) used the |
yes, i'm run grub2-install i don't know that on efi this is not needed ok so in my case without dedicated /boot partition i cant use bls ? |
p.s. i'm re-run grub2-switch-to-blscfg and it copy efi grub file, so now its fine |
and another question, when grub.cfg must be
|
Hmm yes, I think that makes sense. Thanks a lot BTW for digging into this!
You just need the one in |
Does it possible to fix now my issue?or by support boot on root, or by my
hands without reinstall?
ср, 17 июн. 2020 г., 17:05 Jonathan Lebon <[email protected]>:
… @jlebon <https://github.com/jlebon> what do you think about this? I
believe we should also check for mountpoint -q /boot in
grub2-switch-to-blscfg and only mark the bootloader as BLS supported if
that's true. Since it won't work if there isn't a boot partition with the
currently generated BLS snippets.
Hmm yes, I think that makes sense.
Thanks a lot BTW for digging into this!
and another question, when grub.cfg must be
You just need the one in /boot/efi.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADVQG5OTTTMYHMIN26RLNTRXDEIFANCNFSM4NXEWX5Q>
.
|
You are welcome. I've pushed grub2 updates for both F32 and Rawhide now that adds this check. |
I don't so with the current You will still get entries that are broken due not having the Having said that, probably would make sense to change your partition layout to have a boot partition since that's an assumption made by Also I noticed that having |
hm , i dont have 30_ostree file. what package contains it? |
I'ts provided by the ostree-grub2 package. |
@martinezjavier strange..:
|
p.s. i'm use fahc repo:
|
I think it's a typo. The file is indeed
I would... move away from that. F29 is EOL and we have long stopped maintaining rdgo (and actually, we should kill it off). My advice is to just go back to the ostree packages in the Fedora repos. |
@jlebon thanks for info, i'm try yo rebuild tree without rdgo repo. |
Yes, sorry about that. That happens when I try to write file names by heart instead of looking them up. |
no problem, thanks. |
i have custom tree with latest rpm-ostree (tree based on fedora 32)
i'm run grub2-switch-to-blscfg
check that loader entries present and reboot (i have efi mode)
after reboot system have only fwsetup and no menu entries populated
my fs layout:
/ on /dev/vg/root
/boot/efi on /dev/mmcblk0p1
vg placed on /dev/mmcblk0p2
what can i modify to get corrected blscfg stuff?
The text was updated successfully, but these errors were encountered: