I need to set up Debian 12 on a remote system and can only access the install media through GRUB. I can boot the image, but it can't find the install media. My /etc/grub.d/40_custom entry is as follows:
menuentry 'Debian Install Image' {
insmod part_msdos
insmod ext2
set root='(hd0,1)'
set isofile='/images/debian-12.6.0-amd64-DVD-1.iso'
set initrdfile='/images/debian-12.6.0-amd64-DVD-1.gz'
loopback loop (hd0,1)$isofile
linux (loop)/install.amd/vmlinuz findiso=$isofile iso-scan/filename=$isofile priority=low noeject
initrd $initrdfile
}
The initrd was copied from the ISO's /install.amd/initrd.gz
The same method was used almost verbatim on a Debian 10 system and works great. Any advice for helping it to find the install media?
EDITS: I want to clarify, it's the Debian install media I want to try and use, not a live CD. It appears that the Debian 12 installer media initrds don't actually have the filesystem (ext2, etc) modules needed to be able to read an iso install media from a hard drive any more. I was incredulous at first, but it seems this is actually the case. This leaves me without being able to use installer media with the packages already included.