Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- insmod gzio
- insmod iso9660
- insmod png
- loadfont /boot/grub/unicode.pf2
- set gfxmode=640x400
- # set kernel parameter vga=791
- # do not specify color depth here (else efifb can fall back to 800x600)
- set gfxpayload=1024x768
- #set gfxmode=auto
- #set gfxpayload=keep
- insmod all_video
- insmod gfxterm
- set theme=/boot/grub/pvetheme/theme.txt
- terminal_output gfxterm
- menuentry 'Install Proxmox VE' --class debian --class gnu-linux --class gnu --class os {
- echo 'Loading Proxmox Installer ...'
- linux /boot/linux26 ro ramdisk_size=16777216 rw quiet splash=silent
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img
- }
- menuentry 'Install Proxmox VE (Debug mode)' --class debian --class gnu-linux --class gnu --class os {
- echo 'Loading Proxmox Installer ...'
- linux /boot/linux26 ro ramdisk_size=16777216 rw quiet splash=verbose proxdebug
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img
- }
- menuentry 'Rescue Boot!' --class debian --class gnu-linux --class gnu --class os {
- insmod lvm
- insmod ext2
- set tmproot=$root
- if test -e (lvm/pve-root)/boot/pve/vmlinuz; then
- echo 'LVM Rescue Boot ...'
- linux (lvm/pve-root)/boot/pve/vmlinuz ro ramdisk_size=16777216 root=/dev/mapper/pve-root
- initrd (lvm/pve-root)/boot/pve/initrd.img
- boot
- else
- insmod zfs
- search --no-floppy --label rpool --set root
- if test -e /ROOT/pve-1/@//boot/pve/vmlinuz; then
- echo 'ZFS Rescue Boot ...'
- linux /ROOT/pve-1/@//boot/pve/vmlinuz ro ramdisk_size=16777216 root=ZFS=rpool/ROOT/pve-1 boot=zfs
- initrd /ROOT/pve-1/@//boot/pve/initrd.img
- boot
- else
- echo 'ERROR: unable to find boot disk automatically.'
- fi
- fi
- set root=$tmproot
- }
- menuentry 'Test memory' {
- linux16 /boot/memtest86+.bin
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement