f7447acc90
upcoming Boot Environment menu. The Xen Kernel is dynamically appended after the last menuitem in the Boot Options submenu. If xen_kernel is not defined in loader.conf(5) the Xen Kernel menuitem displays "N/A" versus "On"/"off". While here, fix-up the pkg-message (make capitalization of "in" vs. "In" consistent; make use of trailing ":" consistent; move a comment out of the way of file contents, etc.). Differential Revision: https://reviews.freebsd.org/D2717 Reviewed by: allanjude, bapt Approved by: bapt
17 lines
499 B
Text
17 lines
499 B
Text
Please add the following entries in order to boot the xen kernel
|
|
|
|
In /etc/sysctl.conf:
|
|
vm.max_wired=-1
|
|
|
|
In /etc/ttys:
|
|
xc0 "/usr/libexec/getty Pc" xterm on secure
|
|
|
|
In /boot/loader.conf for a dom0 with 2G memory and 4 vcpus:
|
|
xen_kernel="/boot/xen"
|
|
xen_cmdline="dom0_mem=2048M dom0_max_vcpus=4 dom0pvh=1 com1=115200,8n1 guest_loglvl=all loglvl=all"
|
|
|
|
Add to the above xen_cmdline in order to activate the serial console:
|
|
console=com1
|
|
|
|
In /boot/menu.rc.local:
|
|
try-include /boot/xen.4th
|