How to Boot an Ubuntu ISO from Your Hard Drive

Download ArticleDownload 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. How.com.vn English: Step 1 Download the bootable...
    Download the bootable disc image from here.
  2. How.com.vn English: Step 2 Install GRUB2 if it is not already installed.
    Type the following command into the terminal: sudo grub-install --root-directory=/media/grub2 /dev/sda.
    Advertisement
  3. How.com.vn English: Step 3 Add a menu entry for your Ubuntu ISO.
    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. Step 4 Make make the custom menu entries active, run "sudo update-grub"
  5. 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?
    How.com.vn English: 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
      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

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 16 people, some anonymous, worked to edit and improve it over time. This article has been viewed 105,159 times.
      How helpful is this?
      Co-authors: 16
      Updated: September 22, 2021
      Views: 105,159
      Categories: Ubuntu
      Thanks to all authors for creating a page that has been read 105,159 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement