ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 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

 

 

 

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟