Last active
August 29, 2015 14:16
-
-
Save fajarnugraha/12be8a2a7aa37184cf80 to your computer and use it in GitHub Desktop.
Grub config to enable automatic creation of grub menu entries on zfs root, needs lua module. Download to /rpool/grub/grub.cfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set timeout=5 | |
| menuentry 'Ubuntu Trusty boot menu' { | |
| configfile /ROOT/ubuntu/@/boot/grub/grub.cfg | |
| } | |
| menuentry "--- Auto-generated zfs root entries ---" { | |
| insmod zfs | |
| } | |
| lua /grub/@/zfsroot.lua |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment