Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set efi_machtype='x86_64'
- export efi_machtype
- set efi_arch='EFI64'
- export efi_arch
- fix_video
- set grub2efi_intel_gma_patch='enabled'
- export grub2efi_intel_gma_patch
- fakebios
- set grub2efi_fakebios='generic'
- export grub2efi_fakebios
- set boot_iso='/efi/boot/boot.iso'
- export boot_iso
- set efi_services='noefi'
- set persistent=''
- export efi_services
- export persistent
- set iso_path=${boot_iso}
- export iso_path
- set real_root=${root}
- export real_root
- set real_prefix=${prefix}
- export real_prefix
- loopback loop (${real_root})${boot_iso}
- set root=(loop)
- set gfxpayload=keep
- clear
- echo
- echo Welcome to the << Ubuntu ISO - EFI Booter >> (vers. 0.01 beta)
- echo
- echo
- echo
- echo Loading Linux...
- linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=${iso_path} ${efi_services} ${persistent} quiet splash --
- echo done
- echo
- echo
- echo Loading RAMdisk...
- initrd /casper/initrd.lz
- echo done
- echo
- echo
- echo
- echo
- echo
- echo OK, fasten your seat belts now, we are booting the kernel.
- echo This may take a while, please be patient...
- echo
- boot
- echo
- echo Oops, this should not happen, we are hanging here.
- echo Perhaps a missing bootable ISO file?
- echo ( should be named <boot.iso> )
- echo
- # configfile "(${root})/boot/grub/loopback.cfg"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement