Skip to content

Instantly share code, notes, and snippets.

@amagura
Created May 7, 2014 22:50
Show Gist options
  • Save amagura/26aae420fac59d26d895 to your computer and use it in GitHub Desktop.
Save amagura/26aae420fac59d26d895 to your computer and use it in GitHub Desktop.
Working FreeBSD Grub2 menuentry
menuentry "FreeBSD 10" {
insmod ufs2
insmod part_gpt
set root='(hd0,9)'
search --no-floppy --fs-uuid --set 5365af5267e6de53
kfreebsd /boot/kernel/kernel
kfreebsd_loadenv /boot/device.hints
set kFreeBSD.vfs.root.mountfrom=ufs:gpt/fbsd-rootfs
set kFreeBSD.vfs.root.mountfrom.options=rw
set kFreeBSD.hw.psm.synaptics_support='1'
boot
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment