Console tip.

Share this link

If you have built a KVM lab like I did, you know what it means not to be able to connect to your VM because you made a mistake in your /etc/fstab file.
This happened to everybody!
Hopefully, there is a solution: create a serial console.
It only takes 3 lines and a reboot!
# echo "S0:12345:respawn:/sbin/agetty ttyS0 115200" >>/etc/inittab
# grubby --update-kernel=ALL --args="console=ttyS0"
# echo "ttyS0" >>/etc/securetty
# reboot
Now, if you want to connect to your vm, type:
# virsh console vm.example.com
If you know why it’s not done by default, let me know!

Posted in RHEL6

Upcoming Events (Local Time)

There are no events.

RHCSA7: Task of the day

Allowed time: 8 minutes.
Find all files bigger than 100MB and write their names into the /root/results.txt file.

RHCE7: Task of the day

Allowed time: 8 minutes.
Set up an iScsi target based on a block backstore of 100MB called lv_iscsi with basic authentication, ext4 filesystem and standard firewall configuration.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...