We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
By default Grub will install the bootloader (UEFI, or MBR) which was used to boot the current environment.
This information have to be made available to the restore script, which can then use the --target parameter to force the right installation method.
--target
The text was updated successfully, but these errors were encountered:
Method will be: http://unix.stackexchange.com/a/178027/23586
Not the sweetest solution though - involves some guesswork.
Sorry, something went wrong.
The following line should guess the right value pretty accurately:
comm -12 <(find /boot/grub -name moddep.lst | sed -r "s/^.*\/([^\/]+)\/.+$/\1/g") <(find /usr/lib/grub -name moddep.lst | sed -r "s/^.*\/([^\/]+)\/.+$/\1/g")
No branches or pull requests
By default Grub will install the bootloader (UEFI, or MBR) which was used to boot the current environment.
This information have to be made available to the restore script, which can then use the
--target
parameter to force the right installation method.The text was updated successfully, but these errors were encountered: