Day: June 20, 2016

connecting a virtual console with VirtualBox and SoCat

connecting a virtual console with VirtualBox and SoCat

There are times when being able to connect a console to a terminal application becomes useful. For example, Getting kernel panic messages and you need to get the entire message so that it can help you figure out what is going on. If using Virtualbox on linux, the serial console with need to be setup:

 

Once that is set, download and install the command screen and socat.

yum install screen socat

When the programs have finished installing. Run this command:

./socat-2.0.0-b9/socat UNIX-CONNECT:/tmp/NyLinuxVM-con PTY,link=/tmp/NyLinuxVM-con-pty &

This creates a socket to the virtual machines console and the & allows it run in the background.


screen /tmp/NyLinuxVM-con-pty

Now I can connect to the console using the command screen.

Slow Cooker Lemon And Garlic Chicken

Slow Cooker Lemon And Garlic Chicken

INGREDIENTS

  • 1 whole chicken (based on the size of your slow cooker – a 1.3kg chicken should just about fit into a 3.5L slow cooker – while a 6.5L would probably fit a 2kg chicken)
  • 4 lemons
  • 10 garlic cloves divided (8 whole and 2 halved)
  • 4 sprigs rosemary
  • Salt
  • Pepper

INSTRUCTIONS

  • Remove any giblets etc. from the cavity of the chicken, sometimes in a small bag.
  • Stuff chicken with 1 sprig of rosemary, 1 lemon (quartered) and 4 cloves garlic.
  • Season all sides of the chicken with salt and pepper.
  • Remove both ends of a lemon, cut in half to create very thick slices.
  • Line the bottom of the slow cooker with 4 lemon slices, 4 whole garlic cloves and a sprig of rosemary.
  • Put the chicken in the slow cooker.
  • Cut 2 garlic cloves in half and put all four pieces on top of the chicken along with the 2 remaining lemon slices.
  • Garnish with 1-2 more sprigs of rosemary. Put the lid on the slow cooker and set to high for 4 hours.
  • Place cooked chicken under the grill (broil) for 10 minutes to crisp the skin (optional).

Allow chicken to rest for 10 minutes before carving and serving. Leftover juices in the slow cooker are mostly lemon juice with a bit of chicken fat and can be used sparingly as a strongly flavoured sauce.
Enjoy!

%d bloggers like this: