Advertisement
Groudie

40_custom (Grub)

Dec 7th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 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 "Microsoft Windows 8.1" {
  8. echo "Loading Microsoft Windows 8.1..."
  9. insmod part_gpt
  10. insmod fat
  11. insmod search_fs_uuid
  12. insmod chain
  13. search --fs-uuid --no-floppy --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 C2F6-2E2C
  14. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  15. }
  16.  
  17. menuentry "System shutdown" {
  18. echo "System shutting down..."
  19. halt
  20. }
  21.  
  22. menuentry "System restart" {
  23. echo "System rebooting..."
  24. reboot
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement