-
Notifications
You must be signed in to change notification settings - Fork 67
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
Conversion exits with error even after removing Grub #279
Comments
The check is a bit aggressive, as I'd prefer false positives than missing something which results in an unbootable system. This is the sanity check you're tripping on. I think it's upset by setting file:
I can look at improving it to remove that false positive in the next update. I'll also look at improving the message so it's easier to know what it's complaining about - it wouldn't have been hard to have it just print the file it's complaining about. Other people have reported using rEFInd with BTRFS without issue; I'm surprised to see this come up here and now for the first time. If you're comfortable with a null-safe editor, you should be able to just comment that check out from the install script and continue without issue. If you're not, you can remove it from the source code and build the Bedrock installer. Absent those options, you may need to wait until the check is improved.
I've been badly burned by people utilized similar mechanisms in the past then blamed me for when things went wrong. I know it's annoying, but I'd rather require people jump through hoops to bypass sanity checks like this than open myself up to such things again. A work-around for the GRUB bug is planned for 0.8.0. We shouldn't have to deal with this particular concern over the long term. |
Thank you for the explanation. I am glad more action is planned concerning the limitation for interoperability with Grub, and would like to learn more about the upcoming improvements. Meanwhile, if less aggressive checking and any kind of manual override are both out of the question, it might be well to consider more thorough reporting of what has been detected as a problem for any invocation, as you have suggested. It is indeed unfortunate that the current message is completely opaque. It would seem to me that the component of rEFInd that integrates with Grub should cause no problems, but also Grub itself simply being resident on the EFI partition should also be allowed. |
You're very welcome :)
There isn't a good single resource for all of the changes, as:
That said, a few highlights that seem reasonably locked-in for 0.8.0 at this point are:
Some hopeful's but not guaranteed for 0.8.x (possibly after 0.8.0):
Agreed. I'll work on it as soon as time allows. |
It would be good to be able to place it somewhere under |
Very early versions of Bedrock actually did put it under I'm adding the ability to make I'm sympathetic to the human condition that leads to this, but dealing with it for over a decade now it's exhausting and a frustratingly, directly observable limiting factor on Bedrock's available development time. Consider taking a bit more time to familiarize yourself with Bedrock. Read through its official documentation, install and play with it (maybe in a test environment). Don't just try to make it do what you want it to do, but try to find the envelope of what it actually is designed to do. |
As you say, there may be factors I have not considered. However, based on my understanding, placing the directory under At any rate, cluttering |
I have provisioned a Debian 11 bullseye system for "hijacking" conversion into a Bedrock system.
The system is QEMU/KVM guest running on a x86/64-bit host.
Not knowing about the limitations from the combination of Btrfs and Grub, I encountered an error when running the conversion script.
However, it was insufficient to eliminate this error even by achieving successful boot entirely through rEFInd.
In fact, each of the following increasingly more aggressive steps have failed to eliminate the error:
purge
command given to APT package manager utility./boot/grub/grub.cfg
./boot/grub
.--force-update
in invocation of conversion utility.I am seeking advice on how to proceed.
I would also suggest an option for manually overriding the check. As long as the boot process is not dependent on Grub, and as long as the update routine would not set Grub as the default boot loader, then the mere presence of Grub should not cause problems. Ideally, drastic steps would not be necessary to proceed with system conversion, if a user chooses instead simply to force the conversion utility to proceed.
Presently, even after completing all steps listed above, the conversion utility proceeds as shown in the following output capture:
Yet, it is puzzling what is mean by the "
GRUB reference in /boot
".Following represents the current contents of
/boot
:Thank you for the support, and for considering the suggestion.
The text was updated successfully, but these errors were encountered: