Re: installing debian 10 without a cd and without usb but could use ethernet
On Wed 20 Jan 2021 at 20:31:53 -0800, Dan Hitt wrote:
[...]
> menuentry "debian-10-iso" {
> set isofile="/USER/iso/debian-10.7.0-amd64-xfce-CD-1.iso"
> loopback loop (hd0,gptNN)$isofile
> linux (loop)/install.amd/vmlinuz boot=install.amd
> iso-scan/filename=$isofile noprompt noeject
> initrd (loop)/install.amd/initrd.gz
> }
This technique is doomed to failure. debian-10.7.0-amd64-xfce-CD-1.iso
needs to be mounted when it is found. However, the installer's initrd
does not contain a loop module, so this is not possible.
David Wright's advice to use the hd-media kernel and initrd is your way
forward. The simplest GRUB stanza possible is
menuentry 'Debian 10' {
linux /boot/vmlinuz
initrd /boot/initrd.gz
}
--
Brian.
Reply to: