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

Re: Dangerous installation of bullseye: What shall i do next?



DdB <debianlist@potentially-spam.de-bruyn.de> writes:

> Now, i would like to learn from you, how are you booting ISO files on
> bullseye  (or buster) with current grub2? I seem to be unable to ...
> ... although RAM cannot be the problem, there are 128GB of ECC-RAM,
> which is more than enough to copy-to-RAM an ISO. ... methinks

I have a GRML image that I boot from Grub, GRML provides a Debian
package (grml-rescueboot) which generates Grub config entries for me and
it looks like this:

menuentry "Grml Rescue System (grml64-full_2021.07.iso)" {
        insmod part_gpt
        insmod ext2
        set root='hd1,gpt1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  f85193ed-285a-46f5-96df-c02a3b96745e
        else
          search --no-floppy --fs-uuid --set=root f85193ed-285a-46f5-96df-c02a3b96745e
        fi
        iso_path="/images_for_rescue_tools_or_tests/grml/grml64-full_2021.07.iso"
        export iso_path
        kernelopts="   "
        export kernelopts
        # support booting recent GRUB versions on UEFI systems
        rmmod tpm
        loopback loop "/images_for_rescue_tools_or_tests/grml/grml64-full_2021.07.iso"
        set root=(loop)
        configfile /boot/grub/loopback.cfg
}

I note this explicitly rmmods tpm whereas to me your entry looks like it
never removes tpm. Or actually I'm not sure since I don't know what

if test "" = "efi"; then
   	rmmod tpm
fi

means to grub since the manual doesn't mention the use of = with
test. But, it would explain why you can boot with Grub 2.02 and not with
2.06.


Reply to: