Linux

Grab several screenshots from specified window in linux

This was a short bash script I wrote to help document some startup problems on a server. The script was grabbing screen dumps from iDRAC during boot on a RHEL6 server, but it can be used on other distributions as well since the console command xwd is common. #!/bin/bash # Description: # Grab screenshot of […]

Read More
Linux

Switching to a graphical login on RHEL6

This is a short post on how to install the necessary components to get X Server running on a bare bone RedHat 6 Enterprise Server (CentOS6) installation. The following commands should be run from a console window as the root user. Install barebone X support # yum groupinstall “X Window System” Install X and the […]

Read More
Linux

How to corrupt a disk partition using dd

I wanted to test corruption of a 41TB XFS filesystem and the dd command was the perfect tool for the job. I used a block size of 512 bytes and wrote 10 blocks of data from device /dev/urandom to the partition /dev/sdb1. The “Seek” option specifies how many blocks are skipped, counting 100 blocks from […]

Read More
Linux

Fix low volume issue in Ubuntu 11.04

This post is a short howto to fix/workaround the problem with low volume in some Ubuntu 11.04 installations. The fix for me was to open a console window (as the user I’m logged in with) and start the alsamixer # alsamixer You will then see the alsamixer window. Use the left/right arrow keys and choose […]

Read More