Created
June 28, 2023 15:26
-
-
Save nivit/ef2af4db8588c3cb768a987a3eb64701 to your computer and use it in GitHub Desktop.
Grub menuentry for FreeBSD (zfs)
This file contains 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
#!/bin/sh | |
exec tail -n +3 $0 | |
# | |
# File name: /etc/grub.d/40_custom | |
# | |
# This file provides an easy way to add custom menu entries. Simply type the | |
# menu entries you want to add after this comment. Be careful not to change | |
# the 'exec tail' line above. | |
menuentry "FreeBSD - The Power To Server" { | |
insmod part_gpt | |
insmod zfs | |
search --set --label zroot # default name | |
kfreebsd (hd2,gpt3)/ROOT/default/@/boot/zfsloader | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment