1st Problem: Design Loopback code to Boot Debian Live 9.11.0 DVD with Legacy Grub2

Susmita/Rajib bkpsusmitaa at gmail.com
Mon Sep 23 12:27:57 BST 2019


To,
Teams Debian CD and Grub Development,

Dear Sirs,

I am pressing for brevity to hold your precious attention.

Have a menu-list created by Grub2 on HDD of HCL laptop. Details here:
https://bit.do/HP_i3_4Gen_Laptop_rajibando

For HCL laptop:
Have just configured Knoppix 8.2 on USB pendrive to use. Also loopback
to use the Knoppix ISO saved on HDD.

Want to design a loopback code to boot the Debian 9.11.0 Live CD image
with first the legacy grub2, and then alter the HCL laptop menu-list
with the latest Grub.

Written a code, by mounting the Debian Live ISO, reading the necessary
files and using clues therein, but still can't boot the Live Debian
CD:

#############################################
menuentry "Debian GNU/Linux Live (kernel 4.9.0-11-686)" {
         set isofile="/incomplete/debian-live-9.11.0-i386-lxde.iso"
         loopback loop (hd0,msdos4)$isofile
  linux  (loop)/live/vmlinuz-4.9.0-11-686 boot=live components splash quiet
  initrd (loop)/live/initrd.img-4.9.0-11-686
}
#############################################
submenu "Debian Live with Localisation Support" {
         set isofile="/incomplete/debian-live-9.11.0-i386-lxde.iso"
         loopback loop (hd0,msdos4)$isofile
menuentry "English (en)" {
  linux  (loop)/live/vmlinuz-4.9.0-11-686 boot=live components
locales=en_US.UTF-8 quiet splash
  initrd (loop)/live/initrd.img-4.9.0-11-686
}
#############################################

Old Grub2 is stalling after a while, resulting in barebone linux CLI.

Need help writing appropriate loopback working code for Debian Live ISO 9.11.0



Thanking you in anticipation,

Regards,
Rajib Bandopadhyay
A Debian and Knoppix user



More information about the Pkg-grub-devel mailing list