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

Bug#757883: marked as done (support for loopback.cfg file)



Your message dated Mon, 28 Nov 2016 22:31:42 +0100
with message-id <20161128213142.gye5maz2mejb27qt@home.ouaza.com>
and subject line Feature added two years ago
has caused the Debian Bug report #757883,
regarding support for loopback.cfg file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
757883: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757883
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 4.0~alpha33-1
Severity: wishlist

Dear Maintainer,


Live-build should have support for generating a loopback.cfg file no matter
which boot method one uses for the iso.
Upstream doc: http://www.supergrubdisk.org/wiki/Loopback.cfg

1) What is loopback file?

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.

2) Here you can see how it is implemented in grml: https://github.com/grml
/grml-live/blob/6e8596be5dd0b1b26f25f1518e5a80ab0002cd64/grml-live

3) If I'm not mistaken a valid Debian live loopback.cfg would be something
like:

menuentry "Rescatux autodetect" {
  if cpuid -l ; then
    linux /live/vmlinuz1 boot=live config quiet findiso=${iso_path}
    initrd /live/initrd1.img
  else
    linux /live/vmlinuz2 boot=live config quiet findiso=${iso_path}
    initrd /live/initrd2.img
  fi
}

menuentry "Rescatux 32 bit" {
  linux /live/vmlinuz2 boot=live config quiet findiso=${iso_path}
  initrd /live/initrd2.img
}

menuentry "Rescatux 64 bit" {
  linux /live/vmlinuz1 boot=live config quiet findiso=${iso_path}
  initrd /live/initrd1.img
}

4) You can test it thanks to: Super Grub2 Disk and its option: Boot manually.
Bootable ISOs.
5) Make sure the iso is found either in /boot-isos folder or in /boot/boot-isos
folder in your media.



-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap  1.0.59
ii  python3      3.4.1-1

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-2
pn  live-boot-doc                   <none>
pn  live-config-doc                 <none>
pn  live-manual-html | live-manual  <none>

live-build suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:20151215

live-build (1:20151215) unstable; urgency=medium
[...]
  [ Adrian Gibanel Lopez ]
  * Multi bootloader support.
  * loopback.cfg support in the GRUB setup.

-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/

--- End Message ---

Reply to: