Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Utilisateur supprimé
Date de publication: 2014/03/11
Utilisateur supprimé
par Utilisateur supprimé

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