Skip to content

Instantly share code, notes, and snippets.

Created December 13, 2016 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/bf19837a537aa1d5f99342a49710a4e5 to your computer and use it in GitHub Desktop.
Save anonymous/bf19837a537aa1d5f99342a49710a4e5 to your computer and use it in GitHub Desktop.
/boot/grub/grub.cfg
insmod part_gpt
insmod btrfs
insmod ntfs
insmod chain
insmod drivemap
search --no-floppy --fs-uuid --set=root 9941d4e3-3219-42ba-887c-8b0f2154a972
terminal_output gfxterm
set timeout=5
menuentry "CRUX" {
linux /boot/vmlinuz root=PARTUUID=2793de06-f1df-40ed-bc76-73f60c2988f2 ro
}
menuentry "CRUX old" {
linux /boot/vmlinuz.old root=PARTUUID=2793de06-f1df-40ed-bc76-73f60c2988f2 ro
}
menuentry "Wintendo" {
insmod ntfs
insmod chain
insmod drivemap
set root=(hd1)
drivemap -s (hd1) (hd0)
chainloader +1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment