[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing debian 10 without a cd and without usb but could use ethernet

On Thu, Jan 21, 2021 at 3:33 AM Brian <ad44@cityscape.co.uk> wrote:
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, thanks so much for your advice.  Thank you also Felix, David, and Bastien --- i need to study what you have all written.

However, Brian's final stanza is so simple that i can ask a question about it immediately.

And that is: how can grub2 or any other software know what partition '/boot' refers to?

So i presume that in this very very short stanza you provide, there will also have to be a search line like David has (search --no-floppy ......) to identify just where '/boot' is (???).

Thanks everybody for your help!!!


Reply to: