|
| 1 | +serial --unit=0 --speed=115200 |
| 2 | +terminal_input serial console |
| 3 | +terminal_output serial console |
| 4 | +set default=0 |
| 5 | +set timeout=5 |
| 6 | +menuentry 'XCP-ng' { |
| 7 | + search --label --set root root-vgdorj |
| 8 | + xen_hypervisor /boot/xen.gz dom0_mem=7584M,max:7584M watchdog ucode=scan dom0_max_vcpus=1-16 crashkernel=256M,below=4G console=vga vga=mode-0x0311 |
| 9 | + xen_module /boot/vmlinuz-4.19-xen root=LABEL=root-vgdorj ro nolvm hpet=disable console=hvc0 console=tty0 quiet vga=785 splash plymouth.ignore-serial-consoles |
| 10 | + xen_module /boot/initrd-4.19-xen.img |
| 11 | +} |
| 12 | +menuentry 'XCP-ng (Serial)' { |
| 13 | + search --label --set root root-vgdorj |
| 14 | + xen_hypervisor /boot/xen.gz com1=115200,8n1 console=com1,vga dom0_mem=7584M,max:7584M watchdog ucode=scan dom0_max_vcpus=1-16 crashkernel=256M,below=4G |
| 15 | + xen_module /boot/vmlinuz-4.19-xen root=LABEL=root-vgdorj ro nolvm hpet=disable console=tty0 console=hvc0 |
| 16 | + xen_module /boot/initrd-4.19-xen.img |
| 17 | +} |
| 18 | +menuentry 'XCP-ng in Safe Mode' { |
| 19 | + search --label --set root root-vgdorj |
| 20 | + xen_hypervisor /boot/xen.gz nosmp noreboot noirqbalance no-mce no-bootscrub no-numa no-hap no-mmcfg max_cstate=0 nmi=ignore allow_unsafe dom0_mem=7584M,max:7584M com1=115200,8n1 console=com1,vga |
| 21 | + xen_module /boot/vmlinuz-4.19-xen earlyprintk=xen root=LABEL=root-vgdorj ro nolvm hpet=disable console=tty0 console=hvc0 |
| 22 | + xen_module /boot/initrd-4.19-xen.img |
| 23 | +} |
| 24 | +menuentry 'XCP-ng (Xen 4.13.1 / Linux 4.19.0+1)' { |
| 25 | + search --label --set root root-vgdorj |
| 26 | + xen_hypervisor /boot/xen-fallback.gz dom0_mem=7584M,max:7584M watchdog ucode=scan dom0_max_vcpus=1-16 crashkernel=256M,below=4G |
| 27 | + xen_module /boot/vmlinuz-fallback root=LABEL=root-vgdorj ro nolvm hpet=disable console=hvc0 console=tty0 |
| 28 | + xen_module /boot/initrd-fallback.img |
| 29 | +} |
| 30 | +menuentry 'XCP-ng (Serial, Xen 4.13.1 / Linux 4.19.0+1)' { |
| 31 | + search --label --set root root-vgdorj |
| 32 | + xen_hypervisor /boot/xen-fallback.gz com1=115200,8n1 console=com1,vga dom0_mem=7584M,max:7584M watchdog ucode=scan dom0_max_vcpus=1-16 crashkernel=256M,below=4G |
| 33 | + xen_module /boot/vmlinuz-fallback root=LABEL=root-vgdorj ro nolvm hpet=disable console=tty0 console=hvc0 |
| 34 | + xen_module /boot/initrd-fallback.img |
| 35 | +} |
0 commit comments