>> HDD install of Linux is possible from both Windows and Linux, but the following steps are for Linux only <<

>> What you need <<

*The ISO (.iso) file of the distribution of your choice.
The above files are on the ISO use the following to get them:
Fire up the terminal,

Mount the .iso
>> sudo mount -o loop ubuntu-8.04.1-desktop-i386.iso /media/cdrom0 <<

Copy those two files
vmlinuz is at - "/media/cdrom/casper/vmlinuz"
initrd.gz is at - "/media/cdrom/casper/initrd.gz"

or you can download those two files from here (not recommended by me):
>> The Ubuntu 9.04 archive - http://archive.ubuntu.com/ubuntu/dists/jaunty/main/installer-i386/current/images/cdrom/ <<

>> Now What? <<

Edit the grub configuration /boot/grub/menu.lst

In the terminal type
>>sudo gedit /boot/grub/menu.lst<<

Add the following Lines in the file:

title Install Ubuntu
root (hd0,4)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.04-desktop-i386.iso
initrd /initrd.gz

>> [COLOR="Red"]NOTE: On my filesystem I've kept those three required files on partition "sda5" in the directory so the line is - root (hd0,4). Numbering starts from 0[/COLOR] <<

>> Also note the .iso filename , change it according to your distribution <<

Now save the the "menu.lst" file and reboot. The GRUB menu will automatically display a entry called "Install Ubuntu" select it just press enter.

Just take care not to format the parition/install the operating system in the partition containing the .iso, initrd.gz and vmlinuz files.

If you follow each line perfectly I'm sure you'll get the desired results but if you don't then you definitely messed up somewhere. Go through again check every step.

>>I first saw this on the Ubuntu help wiki. it worked for me<<