19th October 2007

KVM, serial console and screen… BSD too !

Tags : ,

posted in Configuration |

Why to stop ? I have a Debian in KVM in screen... I want BSD too. More difficult ? No, easier.

After installing FreeBSD 6.2 on a CoW disk image with TUN/TAP bridge just like Debian, there are some things to configure.

First, tell the bootloader to use serial console. Just add on line in your /boot/loader.conf :

console="comconsole"

Like in GNU/Linux wee need to check that the system see this TTY like a secure one Change just one line in your /etc/ttys to :

# The 'dialup' keyword identifies dialin lines to login, fingerd etc
ttyd0   "/usr/libexec/getty std.9600"   vt100   on secure

We want to see much more boot messages on our serial console. Create a /boot.config containing :

-D

As specified in FreeBSD documentation, this tell the system to use internal console AND serial.

Little note : don't use -no-acpi option because ACPI/APM is usefull for BSD to shutdown the system and not just stop it. You must use halt -p. Without this kvm never quit and you must kill it.

This entry was posted on Friday, October 19th, 2007 at 4:57 pm and is filed under Configuration. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image