Advertisement
Guest User

/etc/grub.d/40_custom

a guest
Apr 20th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/sh
  2. exec tail -n +3 $0
  3. # This file provides an easy way to add custom menu entries. Simply type the
  4. # menu entries you want to add after this comment. Be careful not to change
  5. # the 'exec tail' line above.
  6.  
  7. menuentry "Windows" {
  8. regexp -s root '\((.+)\)' "$cmdpath"
  9. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement