Just a short Tutorial today. It’s surprising how many people do not know this. To change the hostname under Linux, open a terminal window. Type the following code.
sudo nano /etc/hosts
and change the text to your new hostname. Changes will take effect on Restart.
IBM Developerworks: "The tools used to boot Linux� are changing. Specifically, the Grand Unified Bootloader (GRUB) is now officially in maintenance mode only, and GRUB's developers have abandoned the original GRUB in favor of an entirely rewritten package, known as GRUB 2. Discover GRUB 2's new capabilities and how to use it."