[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 Wed 20 Jan 2021 at 20:31:53 (-0800), Dan Hitt wrote:
> […]
> The second question is whether there's a way, from grub (grub2, actually),
> of dropping down to the bios.  I imagine this is quite impossible, but if
> i'm wrong, please let me know.  The reason i would like to do this is that
> it is very hard for me to interrupt the boot process fast enough to get to
> the bios, and i've only managed to do it once or twice after many tries.
> If i were in the bios, i might be able to figure out if it could boot from
> usb, and i could set the boot order to do this, and make a bootable usb
> version of netinst (perhaps).

I think this question got overlooked earlier.

If by "bios" you mean BIOS/CMOS/UEFI, then there might be. I have
noticed that my AiO Dell has the following paragraph inserted
into grub.cfg:

  ### BEGIN /etc/grub.d/30_uefi-firmware ###
  menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
          fwsetup
  }
  ### END /etc/grub.d/30_uefi-firmware ###

This is all new to me as the Dell is my first PC that I boot through
EFI. (My other EFI-capable PC still boots linux via BIOS because
Windows was pre-installed with EFI.)

The effect of selecting this grub entry is exactly the same as
pressing F2 durimg POST and before the grub menu pops up.
I suppose the mechanism might be contained in the grub module:

root root 2216 Jul 30 18:18 /boot/grub/x86_64-efi/efifwsetup.mod

Cheers,
David.


Reply to: