Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Global options (from sysrcd)
- set timeout=90
- set default=0
- set fallback=1
- set pager=1
- have_grubenv=true
- load_env
- insmod part_msdos
- insmod fat
- ## Display settings (from sysrcd)
- if loadfont /boot/grub/font.pf2 ; then
- set gfxmode=640x480
- set color_normal=black/cyan
- set color_highlight=black/light-gray
- set menu_color_normal=black/cyan
- set menu_color_highlight=black/light-gray
- insmod efi_gop
- insmod efi_uga
- insmod gfxterm
- insmod all_video
- insmod videotest
- insmod videoinfo
- terminal_output gfxterm
- fi
- terminal_output gfxterm
- insmod gfxmenu
- loadfont /boot/grub/themes/breeze/unifont-bold-16.pf2
- loadfont /boot/grub/themes/breeze/unifont-regular-14.pf2
- loadfont /boot/grub/themes/breeze/unifont-regular-16.pf2
- loadfont /boot/grub/themes/breeze/unifont-regular-32.pf2
- insmod png
- set theme=/boot/grub/themes/breeze/theme.txt
- export theme
- set menu_color_normal=white/black
- set menu_color_highlight=black/light-gray
- ## END from neon.grub.cfg }
- submenu "System Rescue"{
- set usbstickdevice='/dev/disk/by-uuid/242A-5DE2'
- ## Doesn't work
- menuentry "SytemRescue 8.0 (64 bit, default boot options)" {
- set isofile="/boot/iso/systemrescue-8.00-amd64.iso"
- set usbstickdevice='/dev/disk/by-uuid/242A-5DE2'
- set gfxpayload=keep
- loopback loop $isofile
- echo "Loading kernel..."
- linux (loop)/sysresccd/boot/x86_64/vmlinuz img_dev=$usbstickdevice img_loop=$isofile earlymodules=loop archisobasedir=sysresccd archisolabel=RESCUE800
- echo "Loading initramfs..."
- initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
- }
- menuentry "SytemRescue 6.0.3 (64 bit, default boot options)" {
- ## setting variables outside of menuentry doesn't work for some reason
- set isofile="/boot/iso/systemrescuecd-6.0.3.iso"
- set gfxpayload=keep
- loopback loop $isofile
- echo "Loading kernel..."
- linux (loop)/sysresccd/boot/x86_64/vmlinuz img_dev=$usbstickdevice img_loop=$isofile archisobasedir=sysresccd archisolabel=SYSRCD603
- echo "Loading initramfs..."
- initrd (loop)/sysresccd/boot/x86_64/sysresccd.img
- }
- menuentry 'Memtest' {
- set isofile="/boot/iso/systemrescue-8.00-amd64.iso"
- loopback loop $isofile
- linux16 (loop)/sysresccd/boot/memtest
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement