Month: May 2013

  • How to rewind a tape drive in Ubuntu

    How to rewind a tape drive in Ubuntu

      This again uses the mt command, and is nice and easy:   sudo mt -f [path/to/tape/drive] rewind   A common example would be:   sudo mt -f /dev/st0 rewind   Easy done! In the above example it’s st (zero) not st (letter o) – in case it’s not clear from the font.

  • Changing or Updating the time zone in Ubuntu Server

    Changing or Updating the time zone in Ubuntu Server

      There are quite a few reasons you may find that you need to change your time zone – for example, if you’re using a pre-made image for a virtual machine you may find that the default timezone is not set to your country. You can change the time manually, though there is a quick…

  • Installing Xen on Ubuntu: Error “makeinfo is missing on your system”

    Installing Xen on Ubuntu: Error “makeinfo is missing on your system”

      This is another error that seems to crop up when making Xen on Ubuntu – you can fix it by installing the texinfo package:   sudo apt-get install texinfo   The error message should now no longer appear.

  • Installing Xen on Ubuntu: Error bits/predefs.h: No such file or directory

    Installing Xen on Ubuntu: Error bits/predefs.h: No such file or directory

      This error cropped up when we were building Xen on a system running Ubuntu 12.04 Server:   /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory   To get past this point, install gcc-multilib.   sudo apt-get install gcc-multilib   The required files are around 20MB and should allow you to get past that…