-
Notifications
You must be signed in to change notification settings - Fork 27
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
multiple disks support? #152
Comments
@anarcat what do you mean with |
I have a server with two disks, in RAID-1. I want to install grub on both in case one disk entirely fails. "Primary disks" in this case, would be "disks that are configured in the BIOS boot order", but maybe it could also simply be "all non-removable physical disks". |
Ah I see, makes sense. We have some code regarding SW-RAID in grml-debootstrap, but it's been a long time since I last used that (and am not sure how well that works and if it's enough, probably not :)), and at $orkplace we're using custom scripts to handle SW-RAID. Do you have some command line interface in mind to handle this? |
that's what i suspected. :) i imagine that everyone has their own little implementation of what i did here, my thinking is it should be shipped with grml...
i don't have a great / clear interface just yet. maybe something like for now i wrote a post-script that:
what does your hack look like? :) |
The hard part usually is to make it work in general and ensure it has a usable interface. :-/
One script that's in production usage is e.g. https://github.com/sipwise/deployment-iso/blob/1b1e54b822b8af6b6c691993eae9d6589ed8b483/templates/scripts/includes/deployment.sh#L2175 |
looks like you're doing a hack similar to ours... surely there must be a better way! :) |
one thing i keep doing after grml-debootstrap is remount the target to install grub on other primary disks... is that something that could be added on the commandline or should i just do that as a hook?
thanks!
The text was updated successfully, but these errors were encountered: