Installing Ubuntu 8.04 from Hard disk

This forum will contain threads requesting support regarding Linux/Unix. If you need any kind of support like suggestion, recommendation or solution to a problem, you may post here.

Installing Ubuntu 8.04 from Hard disk

Postby Hisham » Sat May 09, 2009 5:14 pm

Well last night i bumped into a serious problem when my xubuntu 8.04 failed to Boot with some weird error. The Kernel Paniced and Attempted to Kill init ( A serious murder case )  ;D :D

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  ;D 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
Open Source, Opportunities Unlimited
User avatar
Hisham
Newbie
Newbie
 
Posts: 33
Joined: Mon Mar 24, 2008 5:41 pm
Location: Islamabad Pakistan

Re: Installing Ubuntu 8.04 from Hard disk

Postby Muhammad Shoaib » Sat May 09, 2009 5:16 pm

hmmm, nice and to ell you the truth i was kinda expecting this or "installing ubuntu from usb" article from your side... :D
Last edited by Anonymous on Sun May 10, 2009 3:00 am, edited 1 time in total.
Thank you for reading the post,
Muhammad Shoaib,
COSP BDFL,
Community for Open Source Promotion.
Open Source - Opportunities Unlimited
COSP Site | COSP Forums | Join Us | Support Us | Request Event | Send Feedback | COSP-General Mailing List | COSP Recruitees Group
User avatar
Muhammad Shoaib
Administrator
Administrator
Full Member
Full Member
 
Posts: 138
Joined: Fri Mar 21, 2008 7:12 pm
Location: Islamabad, Pakistan

Re: Installing Ubuntu 8.04 from Hard disk

Postby Hisham » Sun May 10, 2009 2:50 am

Hmm See i can read minds  ::) ::)
Open Source, Opportunities Unlimited
User avatar
Hisham
Newbie
Newbie
 
Posts: 33
Joined: Mon Mar 24, 2008 5:41 pm
Location: Islamabad Pakistan


Return to *nix

Who is online

Users browsing this forum: No registered users and 1 guest

cron