Install fresh Ubuntu 10.04 on Ubuntu 9.10 only machine without burning CD
Posted Under: General
Ubuntu 10.04 has released for two days and there are several ways for people to make a fresh installation,such as install from Windows,install from a usb stick,or directory from the Ubuntu live-cd.Here is another way for Ubuntu single system machine to make a fresh installation without burning CD if don’t want to upgrade from earlier version.This works on Ubuntu 9.10 and higher with grub2 boot loader.Following is how to install Ubuntu 10.04 on the Ubuntu 9.10 machine.
First download the Ubuntu 10.04 iso file and put it into the root directory (“/”):
open terminal from Application->Accessories menu and run sudo nautilus,this opens the file browser with root privilege.So we can directlycopy and paste Ubuntu 10.04 iso file into the root directory.

Now,edit /boot/grub/grub.cfg and add a menu into grub boot loader,so we can boot into the iso just like boot from the live-cd.
type this in terminal to edit /boot/grub/grub.cfg:
gksudo gedit /boot/grub/grub.cfg
add following into the end and save the file:
menuentry “Ubuntu 10.04 desktop” {
loopback loop /ubuntu-10.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04-desktop-amd64.iso noeject noprompt –
initrd (loop)/casper/initrd.lz
}
there you should change “ubuntu-10.04-desktop-amd64.iso” (without quotes) into the iso filename that you just downloaded.
Finally,reboot and there should be a new option “Ubuntu 10.04 desktop” in grub menu,select and boot it.Then you should get into Ubuntu 10.04 just like booting with the live-cd.
Related posts:
- Install Ubuntu 9.10(Karmic) from Windows XP dual-boot system
- How to install ubuntu9.04 dual boot with Windows XP
- How to install Windows 7 from Ubuntu without burnning a disc
- Mount ISO images without burning them in Ubuntu
- Fix system only boots into memtest after install Ubuntu 9.10(Karmic)

Reader Comments
Does it work on GRUB too?Or only GRUB2?Thanks.
[Reply]
Thanks for the tutorial.
However,I get “error, need to load the kernel first”
did you forget brackets on the first loop ?
“loopback (loop)/ubuntu-10.04-desktop-amd64.iso”
I’m also a bit worried that while the install process deletes my root directory it would also delete the installer file and fail to install. Do I need to choose a different partition than the one I am installing for it ?
[Reply]
admin Reply:
May 8th, 2010 at 9:26 pm
I can’t explain why it works, but I did install Ubuntu 10.04 on my 9.10 partition and it didn’t come to any error.And where you get “need to load the kernel first” error?
[Reply]