Advertisement
ciusss89

40_custom

Jan 30th, 2014
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.73 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 7" {
  8.     insmod part_gpt
  9.     insmod fat
  10.     insmod search_fs_uuid
  11.     insmod chain
  12.     # Determinate your root:
  13.     # echo `sudo grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi` `sudo grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi`
  14.     search --fs-uuid --no-floppy --set=root YOUR_ROOT_HERE
  15.     chainloader /EFI/Microsoft/Boot/bkpbootmgfw.efi
  16. }
  17.  
  18. menuentry "Riavvia" {
  19.         reboot
  20. }
  21.  
  22. menuentry "Spegni" {
  23.         halt  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement