On 30/12/2022 00:42, Brian wrote:
I doubt GRUB would act on (hd0,partition1).
Perhaps the idea was that "partition1" may be "msdos1" or "gpt1". I do not have some specific suggestion how to improve https://d-i.debian.org/manual/en.amd64/ch05s01.html#boot-initrd
On Thu 29 Dec 2022 at 22:07:15 +0700, Max Nikulin wrote:Notice that you having an .iso file stored on a hard drive, it is possible to boot it directly.
...
GRUB's loopback facility will not work with installer images. They do not contain iso-scan. https://bugs.debian.org/618000 https://bugs.debian.org/724931
My bad, thank you for clarification. Is there a reason why these report are not merged?
I rarely need a "hardware" install media, for a VM an .iso file can be used directly to emulate cdrom. I believed that Ubuntu uses features available everywhere.
Actually when I need a bootable USB, I use non-destructive method: remove old files and extract content of an .iso file using 7zip or bsdtar. It is enough for UEFI, for BIOS a couple of additional steps were required to install syslinux and to adjust its config.