Advertisement
Guest User

Ubuntu ISO - EFI Booter Config File

a guest
Jun 17th, 2013
540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. set efi_machtype='x86_64'
  2. export efi_machtype
  3.  
  4. set efi_arch='EFI64'
  5. export efi_arch
  6.  
  7. fix_video
  8. set grub2efi_intel_gma_patch='enabled'
  9. export grub2efi_intel_gma_patch
  10.  
  11. fakebios
  12. set grub2efi_fakebios='generic'
  13. export grub2efi_fakebios
  14.  
  15. set boot_iso='/efi/boot/boot.iso'
  16. export boot_iso
  17.  
  18. set efi_services='noefi'
  19. set persistent=''
  20.  
  21. export efi_services
  22. export persistent
  23.  
  24. set iso_path=${boot_iso}
  25. export iso_path
  26.  
  27. set real_root=${root}
  28. export real_root
  29. set real_prefix=${prefix}
  30. export real_prefix
  31.  
  32. loopback loop (${real_root})${boot_iso}
  33. set root=(loop)
  34.  
  35.  
  36. set gfxpayload=keep
  37.  
  38. clear
  39. echo
  40. echo Welcome to the << Ubuntu ISO - EFI Booter >> (vers. 0.01 beta)
  41. echo
  42. echo
  43. echo
  44. echo Loading Linux...
  45. linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=${iso_path} ${efi_services} ${persistent} quiet splash --
  46. echo done
  47. echo
  48. echo
  49. echo Loading RAMdisk...
  50. initrd /casper/initrd.lz
  51. echo done
  52. echo
  53. echo
  54. echo
  55. echo
  56. echo
  57. echo OK, fasten your seat belts now, we are booting the kernel.
  58. echo This may take a while, please be patient...
  59. echo
  60. boot
  61. echo
  62. echo Oops, this should not happen, we are hanging here.
  63. echo Perhaps a missing bootable ISO file?
  64. echo ( should be named <boot.iso> )
  65. echo
  66.  
  67. # configfile "(${root})/boot/grub/loopback.cfg"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement