Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frombenny <frombenny@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: GRUB2 facility to boot ISOs?
Date: Tue, 18 May 2010 15:34:24 +0200	[thread overview]
Message-ID: <4BF29760.4020206@gmail.com> (raw)
In-Reply-To: <4BF23DD1.6090604@pricom.com.au>

Here's an example to launch an iso of gpartedlivecd from Grub2. I always 
add it on my 40_custom file :

menuentry "ISO Live - GParted Live" {
insmod loopback
insmod iso9660
set isofile="/iso/gparted-live-0.5.2-1.iso"
loopback loop (hd0,5)$isofile
set gfxpayload=800x600x16, 800x600
linux (loop)/live/vmlinuz locale=fr_FR keyb=fr console-setup/layoutcode=fr gl_kbd=fr gl_lang=fr_FR gl_numlk=off gl_batch boot=live union=aufs noswap noprompt ip=frommedia toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}

There are others examples on this page : 
http://doc.ubuntu-fr.org/tutoriel/grub2_lancer_des_images_iso

You can use the soft here : http://liveusb.info/ to launch one or more 
iso(s) from an USB key.

In short, Grub2 have made a great job yet.. Now to spread it, it depends 
on linux distributions to implement it in their isos.

Benoit

Le 18/05/2010 09:12, Philip Rhoades a écrit :
> People,
>
> I started this thread quite a while ago (I have asked LQ why it has 
> another user's name on it):
>
> http://www.linuxquestions.org/questions/linux-software-2/booting-of-raw-iso-from-grub-lilo-though-preferably-grub-367901/ 
>
>
> but haven't ever gotten a workable response.  I realise that ISOs from 
> different distros are set up differently but is it a 
> feasible/desirable feature to think about for GRUB2?
>
> Thanks,
>
> Phil.


      parent reply	other threads:[~2010-05-18 13:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.0.1274102495.27675.grub-devel@gnu.org>
2010-05-18  5:18 ` Using GRUB2 to access/change GRUB legacy partitions Philip Rhoades
2010-05-18  8:20   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-05-18  7:12 ` GRUB2 facility to boot ISOs? Philip Rhoades
2010-05-18 11:04   ` Colin Watson
2010-05-18 13:34   ` Frombenny [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF29760.4020206@gmail.com \
    --to=frombenny@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox