
Well my problem was increased exponentially because i didn't have the xubuntu 8.04 live CD. Well going through my closet i found a nice kubuntu 7.10 live cd which i used to boot my PC and make Backup. Meanwhile i investigated the murder of Init by Kernel i was pissed because i didn't have the Xubuntu 8.04 CD to install which runs smooth on my PC ( P3 800Mhz, 256MB,40GB). So i decided to google about installing from Harddisk. Lucky me i have a 1Mbps DSL Connection
which i used to download the image. Then i did the following to boot from the image i downloaded:-1)Download the CD image to the partition which you arn't formatting.
2) Extract the vmlinuz and initrd.gz from the image by doing the following :-
sudo mount -o loop /media/D/xubuntu-desktop-8.04-i386.iso /media/cdrom0
cd /media/cdrom0/casper/
cp initrd.gz /media/D
cp vmlinuz /media/D
Note:- /media/D is my BACKUP partition.
Now i had to make the following changes to my /boot/grub/menu.lst file :-
title Ubuntu Install
root (hd0,2)
kernel /vmlinuz boot=casper isoscan=/xubuntu-8.04.1-desktop-i386.iso
initrd /initrd.gz
Note:- (hd0,2) means third partiton of the first hard drive e.g. /dev/hda3 or /dev/sda3.
Save the menu.lst file and reboot to see the grub menu with "Ubuntu Install".
This is use full for Netbook users who dont have a cd/dvdrom attached to the netbook.
for more information Google
installing ubuntu 8.04 from harddisk
or visit :- http://deepbluespaces.blogspot.com/2008/07/install-ubuntu-804-from-hard-disk.html
[EDIT]
Edited section is highlighted. Author misunderstood grub partition count which actually starts from 0.
-- Muhammad Shoaib



