Boot Ubuntu based GNU/LINUX directly from ISO
There is a great possibility that you want to try out the newly downloaded GNU/LINUX distribution, but unfortunately you are running out of pen drives or DVDs. This post shows you how to boot directly from an ISO
Note : This method requires an existing LINUX Operating System. (For Windows, there is a software called EasyBCD which provides us the advantage to boot from ISO , but it doesn't work with LINUX ISO, atleast as far as I have tried ) We take advantage of the GRUB 2's capability to boot from the ISO to use this method. Let us see how this is done :
![]() |
Disk Utility - sda5 |
- Open Disk Utility
- Make a note of the device name and the volume id. Here in my case it is sda and 5. Let us write it in the form of (hdx,y). 'a' in sda means x=0, sd'b' means x=1 and so on. y=3. So for me it will be (hd0,5)
- Make a note of the path of the bootable ISO file.
- Open Terminal and type the following :
- Now add the following lines to the file :
- Save and close the file.
- Now run the following :
- Then restart the system and boot into the "Try LINUX" entry you just created. This will boot the system directly from the ISO. After the system has booted, open the terminal and enter the following : ( important )
gksu gedit /etc/grub.d/40_custom
menuentry "Try LINUX" { set isofile="<path_to_iso_file>/<filename>.iso" loopback loop (hd0,5)$isofile (Replace 0 and y with the values as calculated above) (For 64 bit systems : ) linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject (For 32 bit systems : ) linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject initrd (loop)/casper/initrd.lz }
sudo update-grub (or) su root update-grub
sudo umount -l -r -f /isodevice
Now you can install the distribution and continue with the installation process.
Also read :
- Install Ubuntu based GNU/LINUX from USB drive in System with No BIOS Usb-boot Support
- Mount ExFAT in LINUX
- Share files in LINUX over Network using Samba Server
Stay tuned for more information and tips. Stay connected with us on social networking sites (See the right pane for links)