version 1.197, 2021/03/03 23:17:59
|
version 1.198, 2021/03/05 21:52:36
|
Line 160 ftp.netbsd.org/pub/NetBSD/NetBSD-9.1/amd
|
Line 160 ftp.netbsd.org/pub/NetBSD/NetBSD-9.1/amd
|
|
|
### Configuring booting |
### Configuring booting |
|
|
Read boot.cfg(8) carefully. Add lines to /boot.cfg to boot Xen: |
Read boot.cfg(8) carefully. Add lines to /boot.cfg to boot Xen, |
|
adjusting for your root filesystem: |
|
|
[[!template id=filecontent name="/boot.cfg" text=""" |
[[!template id=filecontent name="/boot.cfg" text=""" |
menu=Xen:load /netbsd-XEN3_DOM0.gz console=pc;multiboot /xen.gz dom0_mem=512M |
menu=Xen:load /netbsd-XEN3_DOM0.gz root=wd0a console=pc;multiboot /xen.gz dom0_mem=512M |
menu=Xen single user:load /netbsd-XEN3_DOM0.gz console=pc -s;multiboot /xen.gz dom0_mem=512M |
menu=Xen single user:load /netbsd-XEN3_DOM0.gz root=wd0a console=pc -s;multiboot /xen.gz dom0_mem=512M |
"""]] |
"""]] |
|
|
This specifies that the dom0 should have 512MB of ram, leaving the rest |
This specifies that the dom0 should have 512MB of ram, leaving the rest |
Line 179 fixing problems is the standard prudent
|
Line 180 fixing problems is the standard prudent
|
\todo Explain why rndseed is not set with Xen as part of the dom0 |
\todo Explain why rndseed is not set with Xen as part of the dom0 |
subconfiguration. |
subconfiguration. |
|
|
|
Note that you are likely to have to set root= because the boot device |
|
from /boot is not passed via Xen to the dom0 kernel. With one disk, |
|
it will work, but e.g. plugging in USB disk to a machine with root on |
|
wd0a causes boot to fail. |
|
|
Beware that userconf statements must be attached to the dom0 load, and |
Beware that userconf statements must be attached to the dom0 load, and |
may not be at top-level, because then they would try to configure the |
may not be at top-level, because then they would try to configure the |
hypervisor, if there is a way to pass them via multiboot . It appears |
hypervisor, if there is a way to pass them via multiboot . It appears |