-
Notifications
You must be signed in to change notification settings - Fork 305
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
Failed to update grub configuration if managing deployments on a loop device #2289
Comments
Hmm, FIoT should be fixed to do the same thing as FCOS and set the |
Ah right I tried this at rhinstaller/anaconda#2752 |
@cgwalters as I understand you suggest to disable bootloader config re-generation But on the other hand is there a chance it will work correctly without disabling? In other case I would probably do the bind mounts for dev/sys/proc before invocation of |
To be clear, the idea here is that at boot time, grub reads the |
To use this, your GRUB needs the BLS patches, which Fedora at least ships. |
GRUB still needs a config file to use BLS. |
Yes, I strongly recommend the CoreOS setup for all ostree-based systems that use grub. Among other major benefits, it avoids invoking |
Without hacking Anaconda today, you could probably do this post-build. There's also ongoing work on using osbuild for IoT I believe, and eventually osbuild/coreos-assembler will converge I hope. |
Hello,
I would like to generate OSTree-driven disk images on my own and employ the functionality of
ostree admin deploy
command to update bootloader configuration, but it fails:I know I can skip bootloader configuration if I unlink
grub.cfg
file,but I wonder is there a way to workaround the issue?
As I understand
ostree admin deploy
makes chroot to deployment directory, but there is no/dev
,/sys
or/proc
directory made available to makegrub2-mkconfig
work smoothly.The text was updated successfully, but these errors were encountered: