Posted by Ahmad on Jun 21, '09 2:39 AM for everyone
Link: http://deepbluespaces.blogspot.com/2008/07/install-ubuntu-804-from-har...

According to Ubuntu official website, installing Ubuntu 8.04 or upgrade to Ubuntu 8.04 from older version need CD. But in fact, burning a CD is not necessary. If you have installed a distribution of Linux but have no CD writer, you can also install Ubuntu 8.04 by the ISO file. I installed it from hard disk just now and now I am going to write something about how to do it.

First, make sure that you have more than one partitions (except swap partition). For example, I have two partitions /dev/sda1 (mounted as /) and /dev/sda5 (mounted as /home). Since I planned to install Ubuntu 8.04 on /dev/sda1. I downloaded the desktop iso file from here and save it in /home, the /dev/sda5 partition. So the full path of the ISO file is: /home/ubuntu-8.04.1-desktop-i386.iso.

Second, extract /casper/vmlinuz and /casper/initrd.gz from the ISO file. Since I had installed Ubuntu 7.10, I need to execute the following commands:
cd /home
sudo mount -o loop ubuntu-8.04.1-desktop-i386.iso /media/cdrom0
sudo cp /media/cdrom/casper/vmlinuz .
sudo cp /media/cdrom/casper/initrd.gz .

Now edit the grub configuration file /boot/grub/menu.lst. Add this item:
title Install Ubuntu
root (hd0,4)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.04.1-desktop-i386.iso
initrd /initrd.gz

Note: the red text (hd0,4) means the fifth partition on the first hard disk. i.e. it means /dev/sda5. The partition number of grub is from zero, not one.

Save menu.lst and reboot your computer. You can start Ubuntu 8.04 live CD from grub and install it to your hard disk as using CD. The only thing you must care about is that you mustn't format the partition which contains the ISO file. In my installation, the ISO file is at /sda5 so I can't format it. In addition, I mounted /home onto /dev/sda5.

laptopmini wrote on Jun 21, '09
Roaming...
harijauh wrote on Jun 21, '09
Tu kalo instal fress...kalo upgrade gmn caranya? Misalnya yg sudah terinstal ubuntu 8.10 trz mau upgrade 9.04...file iso ubuntu 9.04 jg sdh ada
achfan wrote on Jun 21, '09
Tu kalo instal fress...kalo upgrade gmn caranya? Misalnya yg sudah terinstal ubuntu 8.10 trz mau upgrade 9.04...file iso ubuntu 9.04 jg sdh ada
belum pernah coba sih mas.......
tapi ada info dari tentangga sebelah......
# Mount file iso-nya dengan perintah :

sudo mount -t iso9660 ubuntu-9.04-alternate-i386.iso /cdrom -o loop

# Jalankan aplikasi upgrade dari CD.

gksu "sh /cdrom/cdromupgrade"

# System akan di upgrade dan akan di reboot jika selesai. Dan jangan lupa hapus entry CD image yang berada pada file: /etc/apt/sources.list

info lebih lanjut ke sini saja mas......
http://www.ubuntu.com/getubuntu/upgrading
http://bicchi.blogspot.com/2007/10/upgrade-ubuntu-from-iso-image.html
Add a Comment