Boot tumbleweed live iso from HD

I want to boot the live iso from HD
Playing around

menuentry ‘DVR live’ {
insmod zfs
insmod gzio
insmod part_gpt
insmod ext2
set isofile=‘/jam/openSUSE_Tumbleweed_XFCE_Live.iso’
loopback loop (hd1,gpt10)$isofile
linux (loop)/boot/x86_64/loader/linux root=live:CDLABEL=openSUSE_Tumbleweed_XFCE_Live iso-scan/filename=$isofile
initrd (loop)/boot/x86_64/loader/initrd
}

Everything works except
all the insmod lines have no effect
settings (eg network) are not saved
at boot a few messages appear

  • error …/…/grub_core/fs/fshelp:257:file ‘bootgrub/xf_64-efi/zfs.mod’ no found
  • error …/…/grub-core/net/net.c:1474:disk '(hd1,gpt10) not found
  • error …/…/grub-core/net/net.c:1316:no server is specified
  • error …/…/grub-core/loader/i386/efi/linux.c:168:you need to load the kernel first

I’m a bit overwhelmed, Grub on the iso boots without complaint.
Can anyone help me thanks

James

You did not say what exact grub binary you were using nor what platform you have. If you are using signed EFI binary, module loading is disabled and only drivers built into this binary are available. zfs is not included in signed EFI grub.

I do not understand what it means.

Sorry I mean

I boot a usb mem stick without any error messages and changes that I make are saved to the iso (to the squash-fs)

I am booting a grub partition from
NAME=“openSUSE Tumbleweed”

VERSION=“20230417”

ID=“opensuse-tumbleweed”
ID_LIKE=“opensuse suse”
VERSION_ID=“20230417”
PRETTY_NAME=“openSUSE Tumbleweed”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:tumbleweed:20230417”
complaints about urls . . .
BUG_REPORT_URL="
SUPPORT_URL=
HOME_URL="
DOCUMENTATION_URL=
LOGO=“distributor-logo-Tumbleweed”

How do I find if the grub binary is signed. What can I do if it is?

James

What about describing from the beginning? Where did you add your grub configuration?

You can disable secure boot and use normal grub2.

your questions are not relevant.
Because I’m playing trying to find a solution I added

BEGIN /etc/grub.d/10_linux

menuentry ‘DVR live’ {
insmod zfs
insmod gzio
insmod part_gpt
insmod ext2
set isofile=‘/jam/openSUSE_Tumbleweed_XFCE_Live.iso’
loopback loop (hd1,gpt10)$isofile
linux (loop)/boot/x86_64/loader/linux root=live:CDLABEL=openSUSE_Tumbleweed_XFCE_Live iso-scan/filename=$isofile
initrd (loop)/boot/x86_64/loader/initrd
}

directly to /boot/grub2/grub.cfg

I use ‘tainted’ modules from Sensoray so I need to, and make a point of, not enabling secure boot.

I have a problem that a camera system for divers in the middle of the ocean trashes the (m2) disk because of power ripples getting past the battery and charger (ships have terrible power)
So I want a ram root and an unused m2 disk (except when booting)

All good but I want a partition on m2 where recordings CAN be saved. RAM root seems easier for the end user than clonezilla.

A trashed m2 is a wasted ocean voyage AKA a big deal

It was left off but previous post started with “smile” “<” smile “>” is a problem

If you say so …

So, you are likely using default bootloader installed by Tumbleweed and default bootloader on EFI is signed image (of course, as you consider my questions irrelevant you did not bother to answer whether you are using EFI or legacy BIOS so anything I say is just a guess).

I will not waste your time with irrelevant questions anymore, sorry for that.

“smile” implied that the answer was glib. I KNOW one ought not edit grub.cfg but I did because the whole loop of /etc/grub/40- is wasted here.
You offered stuff I did not know (signed grub image) so I appreciate that.
The “not relevant” was prefixed with a smile to say ‘don’t bother telling me about editing grub.cfg’ I’m sorry that the light hearted comment caused offence it was not ment to.
Clearly you know more about grub than me, I’d be silly to spurn your answer and indeed I don’t

The cause of all the trouble …

To which I said “your question is not relevant” [see above discussion]
I cannot see questions about EFI

I am using NUC i3, i5, i7 with UEFI enabled but secure boot not enabled