Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to use GRUB2 to boot "system rescue CD.iso" file or "UbuntuLiveCD.iso" file, this file is saved on unmounted partation at hard drive ?

user-image
Question added by Deleted user
Date Posted: 2014/03/11

basm alah alrahman alrahim

 

I just asked the same question at ask.ubuntu and I get the following answer :

 

I started to make a partition by using the following command:

 

$ sudo fdisk /dev/sdb

 

 

I used fdisk command parameters (or sub commands ) to make a partition /dev/sdb6 [ extended partition ]

 

 

Then I made a mount point by using the following commands:

 

$ sudo mkdir /mnt/Rescue

$ sudo mount /dev/sdb6 /mnt/Rescue

$ sudo chmod +rwx /mnt/Rescue

 

I then made a menu entry at /etc/grub.d/40_custom file with the following entries

 

menuentry "Ubuntu-12.04-ISO" {

 

set isofile="/ubuntu-12.04-desktop-i368.iso"

 

loopback loop (hd1,6)$isofilelinux

 

(loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noejectinitrd

 

(loop)/casper/initrd.lz }

 

 

 

Note: I am using2 hard disks1st one with /dev/sda and the2nd with /dev/sdb

 

 

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.