Steps to Ubuntu Desktop 17.4 LIVE Boot Using ISO in CentOS 7

Steps to Ubuntu Desktop 17.4 LIVE Boot Using ISO in CentOS 7


Ubuntu Desktop 16.4 LIVE Boot Using ISO - CentOS 7


Step 1:

Download Ubuntu From "http://releases.ubuntu.com"

  

 U14 - http://releases.ubuntu.com/14.04/ubuntu-14.04.5-desktop-amd64.iso

   U16 - http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-amd64.iso    

   U17 - http://releases.ubuntu.com/17.04/ubuntu-17.04-desktop-amd64.iso

Download: ubuntu 16.4

   mkdir /live
  
   cd /live
   
   wget http://releases.ubuntu.com/16.04/ubuntu-16.04.3-desktop-amd64.iso

live-downoad.png

   mv ubuntu-16.04.3-desktop-amd64.iso /boot/ubuntu17.iso

Step 2:

Add Menuentry on grub.cfg

Loopback Explantion :

The loopback line must reflect the actual location of the ISO file. In the example, the ISO file is stored in the / directory

X is the drive number, starting with 0;
Y is the partition number, starting with 1

sda5 would be designated as (hd0,5); disk 1 partition no 5
sdb1 would be (hd1,1); disk 2 partition no 1

Other Location Examples:

(hd0,5) /boot/$isofile , Located in the system's normal /boot partition on sda5

(hd0,6)/$isofile : Located in a separate boot partition on sda6

(hd0,7)/username/Downloads/$isofile  : Located in a separate home partition on sda7

(hd1,2)/iso/$isofile :  Located in the /iso folder of the sdb2 / partition

df -f

liveubunut.png

Here is ISO file path is /live on /sda2 , disk 1 & partatin no 2
  
vi /boot/grub2/grub.cfg

### BEGIN /etc/grub.d/10_linux ###

………..
………..
………..
………..


### Grub Entry for boot ISO
   

menuentry "Ubuntu16" {            # Define Menu
set isofile="/live/ubuntu.iso"        # Image ISO Path
loopback loop (hd0,2)$isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd.lz
}

### END /etc/grub.d/10_linux ###
live-ubuntu-grub.png


Step 3:

Run command and install

grub-reboot Ubuntu17

reboot

Enjoy & Now your Live Ubuntu 17.4  ISO will Boot  



Previous
Next Post »