[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759744: debian-cd: loopback.cfg support for booting ISOs from within GRUB

Package: debian-cd
Version: 3.1.15
Severity: wishlist

[Cc-ing Colin as requested]

I'm hereby following up our discussion we - Steve McIntyre, Colin
Watson and me - had at DebConf14.

Quoting from http://www.supergrubdisk.org/wiki/Loopback.cfg:

| A loopback.cfg is basically just a grub.cfg that's designed to be
| used to boot a live distribution from an iso file on a filesystem
| rather than an actual physical CD.

This is a very handy feature for booting ISO directly from within
GRUB and it would be great if this feature would be supported by the
official Debian ISOs as well. (For example Ubuntu and Grml support
it since quite some time and it's really useful.)

Quoting tools/boot/utopic/boot-amd64 from
"bzr branch lp:~ubuntu-cdimage/debian-cd/ubuntu debian-cd":

,---- [ debian-cd.bzr/tools/boot/utopic/boot-amd64 ]
|     cat >> $CDDIR/boot/grub/loopback.cfg <<EOF
| menuentry "${livelabel#^}" {
|         set gfxpayload=keep
|         linux   $CASPER_KERNEL $KERNEL_PARAMS $DEFAULT_PRESEED boot=casper$liveparams iso-scan/filename=\${iso_path} quiet splas
| h --
|         initrd  $CASPER_INITRD
| }

The options/params would need to be adjusted accordingly
for sure (e.g. like boot=live instead of boot=casper, findiso
instead of iso-scan,...), but the idea should be clear.


Attachment: signature.asc
Description: Digital signature

Reply to: