How to install Ubuntu from hard disk (without CDROM)

There are times when you need to (re-)install Ubuntu on your computer and at the same time you are in situation where booting from CD-ROM is not possible.

Luckily I found a post from Deepblue Spaces: Install Ubuntu 8.04 from Hard Disk that contains step-by-step to start Ubuntu installer from the official Ubuntu ISO.

  • It involves downloading the Official Ubuntu ISO from http://www.ubuntu.com/getubuntu
  • Extracting /casper/vmlinuz and /casper/initrd.gz from the ISO file.
  • And modifying /grub/menu.lst file to include the boot the cd image.

For more information, please refer to the original tutorial : Deepblue Spaces: Install Ubuntu from Hard Disk.

This trick is particularly handy when you are installing Ubuntu from a computer with buggy BIOS or where CD-ROM is not readily available

How to install *.rpm in Ubuntu / Debian based operating system

There are times when you need to install an application that is only available in *.rpm package in Debian GNU/Linux or Ubuntu operating system. One of the main obstacles is that Debian / Ubuntu are using *.deb based packaging system which is incompatible with RPM.

However you can easily convert RPM package to *.deb and install it afterwards, here’s how to do it :

  • Install alien, its available in Debian, Ubuntu repository
  • Convert rpm package using command “sudo alien -k some-binary-package.rpm”
  • Install it using this command “sudo dpkg -i some-binary-package.deb

That’s all about it! Have fun installing application in your application.

ImageMagick thumbnailer scripts for blog

Hey there, I’d like to share my dirt-easy script for creating thumbnail in blog post. The script will scale any image to the width of 456pixels which I find acceptable by most blog theme (actually the limit is around 460-465 pixel, but better be safe).

Why I wrote yet another script for scaling images? because I find blogger.com and WordPress system of uploading images and photo annoys me, and I rather upload my pictures/photos on my own private server and create thumbnails on my own.

I licensed the download under WTFPL , don’t worry its a free software license.

Download : thumbnailer.sh

Enable Network Printer Sharing with Ubuntu Linux computers

Having a shared printer within a computer network is a nice thing to have. Since all computers within the network can access a remote printer to print documents. Maintenance cost is much more cheaper and easier since you only need to service only a single printer within a network.

Here’s how to enable Printer sharing with Ubuntu (or other Linux based computers) through GNOME :

At the computer with the printer

Administer Printers Ubuntu
  • First at the Desktop, go to System->Administration->Printing. A dialog will appear
  • Go to Server Settings, and check the “Share published printers connected to this system” checkbox

    Administer Printers Ubuntu

  • You may, optionally select “Allow users to cancel any job”
  • Click Apply, and close the dialog

At the client computer(s)

Network Printer Sharing Ubuntu, using Samba

  • From the Desktop, go to System->Administration->Printing. A dialog will appear
  • Check “Show shared printers from other systems” checkbox. Click Apply
  • Repeat the first step, this time click “Refresh Printer Queues” button. You shall see the list of shared printer from the server computer
  • Repeat this on other computers on the network to share the printer

That is all to it! Now you can print documents across your computer network.

Using lsb_release to get Ubuntu release information

Sometimes when you are about to ask questions or to get help about something related to your Linux computer, you might be asked which distro and the release of the distro you are using.

Same goes if you need to fix something or install binary packages on someone else’s computer. The first thing you should know, is the name of the distro and the release they are using. The simplest way is to use “lsb_release” command, which are included on most modern GNU Linux operating system.

Just run : lsb_release -a
And you will be given information you need to install binary packages, submit a bug report or to determine which solution best for the particular distro.

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 7.10
Release:        7.10
Codename:       gutsy

Melayubuntu – the best local Ubuntu blog

Today I would proudly write about a fine, if not the best local Ubuntu blog for Malaysian, Melayubuntu. Best of all, its written in Malay !

The website is filled with loads of Ubuntu tips which is useful for Ubuntu users, whether they are new or an old timer. It is the one particular blog which should be worth subscribing for.