Archive for the 'Ubuntu' Category

FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.

I installed Ubuntu 8.10 on my Toshiba U100 which does not work too well with grub.  Having installed 8.10 and replaced Grub with Lilo I ran update manager for all updates.

This failed when updating the kernel with the error ‘Could not find postinst hook script [update-grub]’.

To fix after running the update manager simply open a terminal and run the following commands.

Continue reading ‘FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.’

HOWTO: Set up NFS remote file shariing and mounting in Ubuntu

Scenario: You have two Ubuntu PCs - you want to share a folder from one to the other.  A common answer you’ll see posted around to this is to use Samba.  While this does allow the shared folder to be accessed by Windoze machines there is a far simpler and more efficient method that can be used when both machines are Linux.

In the following guide ‘Server’ means the computer where the folder to be shared is (192.168.2.2 in my example) and ‘Client’ (192.168.2.3) is where you would like to access the folder from.
Continue reading ‘HOWTO: Set up NFS remote file shariing and mounting in Ubuntu’

FIX: dependency is not satisfiable: libicu36 when installing Chandler on Ubuntu

I tried installing installing Chandler the GTD app from the .deb file but got an error about ‘dependency is not satisfiable:  libicu36′.

This is as newer versions of Ubuntu use libicu38.

To fix the error try:
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu36_3.6-3ubuntu0.1_i386.deb

sudo dpkg -i libicu36_3.6-3ubuntu0.1_i386.deb
Then try installing the Chandler .deb again.

HOWTO: Install a .TTF Font in Ubuntu Hardy Heron

If you have a .ttf file (lets call it your_font.ttf) that you have downloaded and want to install it as an available font you should follow these steps:

1. Create somewhere to keep your .ttf fonts:
sudo mkdir /usr/share/fonts/truetype/custom

2. Copy your font there:
sudo cp your_font.ttf /usr/share/fonts/truetype/custom

3. Run the following command to rebuild your font cache:
sudo fc-cache -f -v

That should be it! Your sexy new font should now be available.

HOW TO: Auto login to IRC using IRSSI

For Linux I reckon irssi is probably the coolest IRC client out there and has some nifty features for a terminal app. It can be installed with:

sudo apt-get install irssi

One of the first thing you will probably need to do is set it up to auto login.  This can be done in a couple of simple steps:

Continue reading ‘HOW TO: Auto login to IRC using IRSSI’

HOW TO: Harden and Secure SSH on Ubuntu Linux

If you want to harden and secure your SSH installation on Ubuntu Linux then there are a few simple steps you can follow:

Continue reading ‘HOW TO: Harden and Secure SSH on Ubuntu Linux’

HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu

Dolphin Smart Community Builder is a very cool open source social networking script that oddly does not seem to have much in the way of installation instructions.  After some digging around I managed to get in installed by following these steps:

Continue reading ‘HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu’

HOWTO: Set up wireless networking between VirtualBox VMs on Ubuntu Hardy Heron

I’m working on a project at the moment that requires a whole bunch of Win XP VMs.  I’m using VirtualBox on my M1330 which out of the box is set up with NAT addressing.  This is fine for accessing the interweb but I need the VMs to talk to each other.  Not as straightforward as it seems but I managed to get it working as follows:

Continue reading ‘HOWTO: Set up wireless networking between VirtualBox VMs on Ubuntu Hardy Heron’

FIX: GRUB Hard Disk Error with Ubuntu Hardy Heron on Libretto U100 or U105

I decided to install Ubuntu on my tiny Toshiba Libretto U100 but ran into a problem when rebooting after the install.

I accepted pretty much all the defaults during the install and it was a complete wipe of the hard drive (Linux only, no Windows partitions).  However after rebooting I got the less then friendly message:

GRUB Hard Disk Error

This seems to be down to GRUB and the U100 BIOS being unable to agree on the geometry of the disk.  Luckily LILO does work.  To fix follow these steps:

Continue reading ‘FIX: GRUB Hard Disk Error with Ubuntu Hardy Heron on Libretto U100 or U105′

HOWTO: Mount an ISO file in Ubuntu Linux

How to mount a CD ISO Image and read files in UbuntuI recently downloaded some language CD ISO files and wanted to transfer to my ipod.   Usually ISO files are designed to be burnt to CDs but if you just want to mount the image and read the files CD free there are a couple of options in Ubuntu.

Continue reading ‘HOWTO: Mount an ISO file in Ubuntu Linux’




Add to Technorati Favorites
Zen Handbook

Latest Posts

RSS