PDF download Download Article PDF download Download Article

Booting an ISO on your hard drive is useful for testing new versions of Ubuntu without using up a CD. It is quicker than using a live USB tool such as UNetBootin or Ubuntu Live USB Creator.

  1. Download the bootable disc image from here.
  2. Type the following command into the terminal: sudo grub-install --root-directory=/media/grub2 /dev/sda.
    Advertisement
  3. Here are a few examples. Type the following command into the terminal: sudo gedit /etc/grub.d/40_custom and paste these menu entries to the end of the file. Replace /PATH-TO-UBUNTU-ISO/FILENAME.iso with the appropriate path. On my system it would be /home/myUserName/Downloads/lubuntu-natty-i386.iso
    =====
    menuentry "Ubuntu 10.10 Desktop ISO" {
    loopback loop /PATH-TO-UBUNTU-ISO/FILENAME.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/PATH-TO-UBUNTU-ISO/FILENAME.iso noeject noprompt splash --
    initrd (loop)/casper/initrd.lz
    }
    menuentry "Linux Mint 10 Gnome ISO" {
    loopback loop /FILEPATH/linuxmint10.iso
    linux (loop)/casper/vmlinuz
    file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.lz iso-scan/filename=/FILEPATH/linuxmint10.iso noeject noprompt splash --
    initrd (loop)/casper/initrd.lz
    }
  4. Advertisement

Community Q&A

Search
Add New Question
  • Question
    I have downloaded the ubuntu ISO from the internet. I want to install from a hard drive. How do I do this?
    Poyoa
    Poyoa
    Community Answer
    Since you're trying to modify your hard drive, it'd be better to run it from a disc. Use a program (such as Windows Disc Image Burner) to burn the file to a CD, then restart your computer, boot from the CD and go from there to install Ubuntu.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • If you want to install a new version of Ubuntu, partition your hard drive first. Use GParted or a similar tool. Assuming you are using an Ubuntu CD image, you will only need a 700mb partition to hold the image. If you have a liveUSB or liveCD, that's the easiest way to re-partition because you can't change or shrink a partition while it has your operating system (and re-partitioning tool) currently running on it.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Installing boot-loaders and operating systems can destroy your data. The same applies when partitioning a hard drive. Make appropriate backups of any files or settings if they are on the hard drive(s) you are working with.
  • You can't format a partition that is currently in use (for the running operating system)
  • Installing GRUB2 will over-write your previous boot loader. So if GRUB2 does not detect your existing operating system, you may have no way to get back into it.
Advertisement

You Might Also Like

Install Puppy Linux Install Puppy Linux on a USB Drive or PC
Boot Linux from a USB on Windows 10 Run Linux from a USB: Making a Bootable Stick and Installing
Install Ubuntu Linux Without CD (Windows) Install Ubuntu Without an CD: Step-by-Step Tutorial
Install Ubuntu Linux Install Ubuntu Linux: Dual Boot with Windows or macOS
Install Two Operating Systems on One ComputerInstalling Two Operating Systems on Your PC: Dual Boot Guide
Install Ubuntu on VirtualBoxInstall Ubuntu on VirtualBox
Use a Flash Drive As a Hard Drive Use a Flash Drive as a Hard Drive for File Storage
Install Linux Install Linux on Your Computer
Switch to UbuntuSwitch to Ubuntu
Use RufusUsing Rufus to Create Bootable USB Drives: A Step-By-Step Guide
Move from Windows to Linux Switch from Microsoft Windows to Linux
Install Arch LinuxInstall Arch Linux
Configure a Computer to Multi Boot Operating SystemsConfigure a Computer to Multi Boot Operating Systems
Create a Bootable Windows 7 or Vista USB DriveCreate a Bootable Windows 7 or Vista USB Drive
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 17 people, some anonymous, worked to edit and improve it over time. This article has been viewed 108,985 times.
How helpful is this?
Co-authors: 17
Updated: December 23, 2024
Views: 108,985
Categories: Ubuntu
Thanks to all authors for creating a page that has been read 108,985 times.

Is this article up to date?

Advertisement