Re: How to BIOS-boot from NVMe device?

2022-09-09 Thread Robert Elz
Date:Fri, 9 Sep 2022 11:10:36 +0200 From:Rhialto Message-ID: | How does the UEFI system decide what to boot? There are a whole set of variables in UEFI internal storage One group of those are named BOOT where the is a 4 digit hex value. Its value is

Re: How to BIOS-boot from NVMe device?

2022-09-09 Thread Rhialto
On Thu 08 Sep 2022 at 12:36:46 -0400, Brad Spencer wrote: > This is a clear indication of a UEFI boot. There is confusion in the > docs about where the boot.cfg file should be located. I have also found > that the desired behavior works if it is in the root of the EFI > filesystem. How does the

re: How to BIOS-boot from NVMe device?

2022-09-08 Thread matthew green
> > > If anyone wants to play with UEFI booting and has access to a recent Xen > > > DOM0 system you can install the pkgsrc/sysutils/ovmf package and point a > > pkgsrc/sysutils/ovmf does not build on -current at least - and hasn't been > > building for a long while. > > Hmm... unfortunate...

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Brad Spencer
Chavdar Ivanov writes: [snip] > > If anyone wants to play with UEFI booting and has access to a recent Xen > > DOM0 system you can install the pkgsrc/sysutils/ovmf package and point a > pkgsrc/sysutils/ovmf does not build on -current at least - and hasn't been > building for a long while.

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Chavdar Ivanov
On 08 September 2022 17:36:46 (+01:00), Brad Spencer wrote: > Paul Goyette writes: > > > On Thu, 8 Sep 2022, Paul Goyette wrote: > > > >> Would be nice to get my menu back and have it default to the NetBSD > >> system partition, but at least it boots! > > > > I got my menu back. Just had to

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Brad Spencer
Paul Goyette writes: > On Thu, 8 Sep 2022, Paul Goyette wrote: > >> Would be nice to get my menu back and have it default to the NetBSD >> system partition, but at least it boots! > > I got my menu back. Just had to put it at /efi/boot.cfg (ie, at the > root of the EFI partition). > > >

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Robert Elz
Date:Thu, 8 Sep 2022 08:07:44 -0700 (PDT) From:Paul Goyette Message-ID: | I got my menu back. Just had to put it at /efi/boot.cfg (ie, at the | root of the EFI partition). That's interesting, not where it is supposed to be placed - I hadn't tried putting one

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Robert Elz
Date:Thu, 8 Sep 2022 07:46:14 -0700 (PDT) From:Paul Goyette Message-ID: | (The EFI partition is still marked ``bootme''.) That one you should probably turn off - bootme (the UEFI "where to boot" flag) should be on the NetBSD root partition. Or not there at all,

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Paul Goyette
On Thu, 8 Sep 2022, Paul Goyette wrote: Would be nice to get my menu back and have it default to the NetBSD system partition, but at least it boots! I got my menu back. Just had to put it at /efi/boot.cfg (ie, at the root of the EFI partition).

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Paul Goyette
Yay - it boots again! I re-ran ``gpt biosboot'' and ``installboot'' specifying the NetBSD partition (index=2), and completely disconnected the hard drives. It booted! But I think it is still confused. The BIOS no longer offers EFI as a boot option. Yet, the boot menu I get is the NetBSD flag

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Robert Elz
Date:Wed, 7 Sep 2022 20:37:43 -0700 (PDT) From:Paul Goyette Message-ID: | I tried to run gpt biosboot (and specified -i 1 for the partition) | and I also ran installboot. You didn't show the GPT tables for this system, so "-i 1" means nothing to anyone but you

Re: How to BIOS-boot from NVMe device?

2022-09-08 Thread Martin Husemann
On Wed, Sep 07, 2022 at 08:37:43PM -0700, Paul Goyette wrote: > On a positive front, the BIOS seems to now recognize the NVMe as > having a UEFI OS. Trying to boot it takes me down some new path > having to do with SecureBoot, and I don't have time for that now. There is typicaly a setting in

Re: How to BIOS-boot from NVMe device?

2022-09-07 Thread Paul Goyette
OK, now I _really_ messsed things up, to the point where I have to write this using the old spinny-rust! Kernel is at least a month out of date! I tried to run gpt biosboot (and specified -i 1 for the partition) and I also ran installboot. Result: an unbootable system. :( Just goes back to

Re: How to BIOS-boot from NVMe device?

2022-09-07 Thread Paul Goyette
On Thu, 8 Sep 2022, Robert Elz wrote: Do you have evidence that the motherboard can boot from nmve at all? If the motherboard in question is of a similar vintage to those 10 year old boxes of rust, then it might not be able to, and you might need some kind of SATA (or perhaps USB) device to

Re: How to BIOS-boot from NVMe device?

2022-09-07 Thread Robert Elz
Date:Wed, 7 Sep 2022 13:39:08 -0700 (PDT) From:Paul Goyette Message-ID: | I have completely disconnected the wd0 and wd1 hard drives, and now | the motherboard/BIOS can't find something (primary boot?). It does | not give any helpful messages (no messages at

Re: How to BIOS-boot from NVMe device?

2022-09-07 Thread Paul Goyette
On Wed, 7 Sep 2022, Michael van Elst wrote: p...@whooppee.com (Paul Goyette) writes: I have completely disconnected the wd0 and wd1 hard drives, and now the motherboard/BIOS can't find something (primary boot?). It does not give any helpful messages (no messages at all), but just goes back

Re: How to BIOS-boot from NVMe device?

2022-09-07 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: >I have completely disconnected the wd0 and wd1 hard drives, and now >the motherboard/BIOS can't find something (primary boot?). It does >not give any helpful messages (no messages at all), but just goes >back to the interactivve BIOS screens. It's

How to BIOS-boot from NVMe device?

2022-09-07 Thread Paul Goyette
I'm trying desperately to retire my way-too-old spinny-rust, but I have run into a little problem. I have completely disconnected the wd0 and wd1 hard drives, and now the motherboard/BIOS can't find something (primary boot?). It does not give any helpful messages (no messages at all), but just