How to Boot an Ubuntu ISO from Your Hard Drive

Download the bootable disc image from here., Install GRUB2 if it is not already installed., Add a menu entry for your Ubuntu ISO.,Make make the custom menu entries active, run "sudo update-grub"

5 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Download the bootable disc image from here.

    Type the following command into the terminal: sudo grub-install
    --root-directory=/media/grub2 /dev/sda. , 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 } ,
  2. Step 2: Install GRUB2 if it is not already installed.

  3. Step 3: Add a menu entry for your Ubuntu ISO.

  4. Step 4: Make make the custom menu entries active

  5. Step 5: run "sudo update-grub"

Detailed Guide

Type the following command into the terminal: sudo grub-install
--root-directory=/media/grub2 /dev/sda. , 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 } ,

About the Author

P

Paul Morris

Experienced content creator specializing in cooking guides and tutorials.

59 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: