All pastes #3748585 Raw Edit

Something

public unlisted text v1 · immutable
#3748585 ·published 2016-12-22 21:32 UTC
rendered paste body
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_input console
terminal_output console
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
play 480 440 1
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Proxmox Virtual Environment GNU/Linux' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-/dev/sda2' {
	load_video
	insmod gzio
	insmod part_gpt
	echo	'Loading Linux 4.4.35-1-pve ...'
	linux	/ROOT/pve-1@/boot/vmlinuz-4.4.35-1-pve root=ZFS=/ROOT/pve-1 ro boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs 
	echo	'Loading initial ramdisk ...'
	initrd	/ROOT/pve-1@/boot/initrd.img-4.4.35-1-pve
}
submenu 'Advanced options for Proxmox Virtual Environment GNU/Linux' $menuentry_id_option 'gnulinux-advanced-/dev/sda2' {
	menuentry 'Proxmox Virtual Environment GNU/Linux, with Linux 4.4.35-1-pve' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.35-1-pve-advanced-/dev/sda2' {
		load_video
		insmod gzio
		insmod part_gpt
		echo	'Loading Linux 4.4.35-1-pve ...'
		linux	/ROOT/pve-1@/boot/vmlinuz-4.4.35-1-pve root=ZFS=/ROOT/pve-1 ro boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs 
		echo	'Loading initial ramdisk ...'
		initrd	/ROOT/pve-1@/boot/initrd.img-4.4.35-1-pve
	}
	menuentry 'Proxmox Virtual Environment GNU/Linux, with Linux 4.4.35-1-pve (recovery mode)' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.35-1-pve-recovery-/dev/sda2' {
		load_video
		insmod gzio
		insmod part_gpt
		echo	'Loading Linux 4.4.35-1-pve ...'
		linux	/ROOT/pve-1@/boot/vmlinuz-4.4.35-1-pve root=ZFS=/ROOT/pve-1 ro single boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs
		echo	'Loading initial ramdisk ...'
		initrd	/ROOT/pve-1@/boot/initrd.img-4.4.35-1-pve
	}
	menuentry 'Proxmox Virtual Environment GNU/Linux, with Linux 4.4.21-1-pve' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.21-1-pve-advanced-/dev/sda2' {
		load_video
		insmod gzio
		insmod part_gpt
		echo	'Loading Linux 4.4.21-1-pve ...'
		linux	/ROOT/pve-1@/boot/vmlinuz-4.4.21-1-pve root=ZFS=/ROOT/pve-1 ro boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs 
		echo	'Loading initial ramdisk ...'
		initrd	/ROOT/pve-1@/boot/initrd.img-4.4.21-1-pve
	}
	menuentry 'Proxmox Virtual Environment GNU/Linux, with Linux 4.4.21-1-pve (recovery mode)' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.21-1-pve-recovery-/dev/sda2' {
		load_video
		insmod gzio
		insmod part_gpt
		echo	'Loading Linux 4.4.21-1-pve ...'
		linux	/ROOT/pve-1@/boot/vmlinuz-4.4.21-1-pve root=ZFS=/ROOT/pve-1 ro single boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs
		echo	'Loading initial ramdisk ...'
		initrd	/ROOT/pve-1@/boot/initrd.img-4.4.21-1-pve
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_gpt
	linux16	/ROOT/pve-1@/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	linux16	/ROOT/pve-1@/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_gpt
	multiboot	/ROOT/pve-1@/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_gpt
	multiboot	/ROOT/pve-1@/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###