I've tried this before but gave up, so now I am having another go at it.
I have an usb-stick that is ext2-formatted and has a subdirectory "/iso".
In that iso-directory I have several bootable iso-image (tails, knoppix etc).
The stick itself has grub installed and has entries in grub.cfg for all the images I want to boot, so when I boot from this stick, grub loads and presents me with a menu, from which I can then select the iso I want to boot.
Now I also want to incorporate a debian install iso to this scheme, but this proves to be more complicated than I thought as for reasons that are beyond me you cannot use the initrd that is in the installer-image but you need to download an extra one, but whatever.
Here is what I try as the moment:
Code: Select all
menuentry "debian testing install" {
insmod ext2
set iso="/iso/deb/debian-testing-amd64-netinst.iso"
loopback loop $iso
linux (loop)/install.amd/vmlinuz iso-scan/filename=$iso iso-scan/ask_second_pass=true
initrd /iso/deb/initrd.gz
}
I does boot, I can select the language etc but then the installer tries to mount the iso-image and cannot find it (even though I am using the kernel from this very image).
The problem seems to be with the iso-scan machinery that I don't understand at all.
So does anybody know how to do this?
Many thanks!