On Sat 18 Feb 2023 at 18:55:03 +0700, Max Nikulin wrote:

> On 18/02/2023 12:26, Charles Curley wrote:
> > menuentry "Install Debian 12 OS (preseeded)" {
> >      set root='hd0,msdos5'
> >      set isofile=/firmware-testing-i386-netinst.iso
> >      insmod part_msdos
> >      insmod loopback
> >      loopback loop (hd0,msdos5)$isofile
> >      linux (loop)/install.386/vmlinuz auto=true file=/media/preseed.cfg
> >      initrd (loop)/install.386/initrd.gz
> > }
> 
> Due to the following message I am confused if it should work for Debian:
> 
> Brian to debian-user. Re: problem with loading installer (hard disk method)
> Thu, 29 Dec 2022 17:42:59 +0000.
> https://lists.debian.org/msgid-search/?m=29122022172846.4fc3cfd29...@desktop.copernicus.org.uk
> 
> > 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

I am going to stick to that view and add that an initrd also
needs to contain loop.ko. 'lsinitramfs initrd.gz' is a useful
command. Bother items show in the hd-media intitrd but not in
the initrd of debian-testing-amd64-netinst.iso.

I am mystified as to Charles Curley's experience.

-- 
Brian.


Reply via email to