install ubuntu 10.10 on hard disk using iso file

Posted by – September 13, 2010

To install Ubuntu on hard disk using iso file:

1. Download ubuntu iso file to a disk partition(e.g.: /dev/sda3) root(/) dir which NOT the partition will install Ubuntu.

[bash]
cd /
wget -c http://cdimage.ubuntu.com/daily-live/current/maverick-desktop-i386.iso
[/bash]

2. Only extract vmlinuz and initrd.lz from iso file the casper dir to the root(/) dir the iso file downloaded.
3. Reboot the box and enter into grub:

[bash]
reboot
[/bash]

Once rebooted, when see the grub list, enter ‘c’ to enter into grub.
4. Type below grub commands to install Ubuntu from hard disk:

[bash]
root (hd0,3)
kernel /vmlinuz   boot=casper    iso-scan/filename=/maverick-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initd    /initrd.lz
boot
[/bash]

4. Once enter into the new system, installing ubuntu by clicking the icon on your desktop, and follow the tips to finish installation.

Note:
1. You can renmae iso file for short.
2. You can remove the locale parameter from the kernel( if not work, use ‘linux‘ instead) command.

Enjoy!

2 Comments on install ubuntu 10.10 on hard disk using iso file

  1. mosjin says:

    Install gaea commands:
    [bash] sudo ubiquity [/bash]

  2. mosjin says:

    Mount iso file under linux (e.g. mount it to cdrom):
    [bash]mount -o loop fileName.iso /cdrom [/bash]

Leave a Reply