Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml
Show First 20 Lines • Show All 1,226 Lines • ▼ Show 20 Lines | grub> <userinput>boot</userinput></screen> | ||||
console of <application>bhyve</application> be a null modem | console of <application>bhyve</application> be a null modem | ||||
device that can be accessed with <command>cu</command>. To do | device that can be accessed with <command>cu</command>. To do | ||||
this, load the <filename>nmdm</filename> kernel module and | this, load the <filename>nmdm</filename> kernel module and | ||||
replace <option>-l com1,stdio</option> with | replace <option>-l com1,stdio</option> with | ||||
<option>-l com1,/dev/nmdm0A</option>. The | <option>-l com1,/dev/nmdm0A</option>. The | ||||
<filename>/dev/nmdm</filename> devices are created | <filename>/dev/nmdm</filename> devices are created | ||||
automatically as needed, where each is a pair, corresponding | automatically as needed, where each is a pair, corresponding | ||||
to the two ends of the null modem cable | to the two ends of the null modem cable | ||||
(<filename>/dev/nmdm1A</filename> and | (<filename>/dev/nmdm0A</filename> and | ||||
<filename>/dev/nmdm1B</filename>). See &man.nmdm.4; for more | <filename>/dev/nmdm0B</filename>). See &man.nmdm.4; for more | ||||
information.</para> | information.</para> | ||||
<screen>&prompt.root; <userinput>kldload nmdm</userinput> | <screen>&prompt.root; <userinput>kldload nmdm</userinput> | ||||
&prompt.root; <userinput>bhyve -A -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,<replaceable>tap1</replaceable> -s 3:0,virtio-blk,<replaceable>./linux.img</replaceable> \ | &prompt.root; <userinput>bhyve -A -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,<replaceable>tap1</replaceable> -s 3:0,virtio-blk,<replaceable>./linux.img</replaceable> \ | ||||
-l com1,<replaceable>/dev/nmdm0A</replaceable> -c <replaceable>4</replaceable> -m <replaceable>1024M</replaceable> <replaceable>linuxguest</replaceable></userinput> | -l com1,<replaceable>/dev/nmdm0A</replaceable> -c <replaceable>4</replaceable> -m <replaceable>1024M</replaceable> <replaceable>linuxguest</replaceable></userinput> | ||||
&prompt.root; <userinput>cu -l <replaceable>/dev/nmdm0B</replaceable> -s 9600</userinput> | &prompt.root; <userinput>cu -l <replaceable>/dev/nmdm0B</replaceable></userinput> | ||||
Connected | Connected | ||||
Ubuntu 13.10 handbook ttyS0 | Ubuntu 13.10 handbook ttyS0 | ||||
handbook login:</screen> | handbook login:</screen> | ||||
</sect2> | </sect2> | ||||
<sect2 xml:id="virtualization-bhyve-managing"> | <sect2 xml:id="virtualization-bhyve-managing"> | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |