Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
# Make my libreboot x200 boot into /dev/sda6 (with root in /dev/sda7).
#
# An attempt to use this in (/dev/sda1)/boot/grub/libreboot_grub.cfg:
#   (find-es "grub" "libreboot_grub.cfg")
#   (find-asrootfile "/tmp/sda1/boot/grub/")
#   (find-asrootfile "/tmp/sda1/boot/grub/libreboot_grub.cfg")
#
#   configfile (ahci0,1)/boot/grub/libreboot_grub.cfg
#
# An attempt to save this into the ROM:
#   (find-es "grub" "libreboot-change-grubtest.cfg")
#   (find-librebootutilfile "libreboot-myrom/grubtest.cfg")
#   (find-librebootutilfile "libreboot-myrom/grubtest.cfg" "Edrx")
#
# (find-grubnode "menuentry")

menuentry 'configfile (ahci0,1)/boot/grub/libreboot_grub.cfg' --hotkey='c' {
  configfile (ahci0,1)/boot/grub/libreboot_grub.cfg
}

menuentry 'Boot /dev/sda6 (with home on /dev/sda7)' --hotkey='m' {
  set root=(ahci0,6)
  linux /vmlinuz root=/dev/sda6 rw
  initrd /initrd.img
  boot
}