将以下参数添加到所有标签中:
dom0_mem=max:128G(rescue 标签为 max:126G)
编辑完成后,您的文件应如下所示:
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
default ks
prompt 1
timeout 30
display boot.msg
F1 boot.msg
F2 options.msg
label xen
kernel mboot.c32
append xen.gz dom0_mem=max:128G --- vmlinuz --- initrd.img
label p2v
kernel mboot.c32
append xen.gz dom0_mem=max:128G --- vmlinuz p2v --- initrd.img
label rescue
kernel mboot.c32
append xen.gz dom0_mem=max:126G --- vmlinuz rescue --- initrd.img
label ks
kernel mboot.c32
append xen.gz dom0_mem=max:128G --- vmlinuz ks=file:/ks.cfg --- initrd.img