Re: Regarding the boot process.

2021-09-03 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >> bootme is used by the EFI bootloader to select the boot partition. >> If that flag isn't set, there is a heuristic to select a boot partition. >How does the system decide which partition to select. I wanted to >understand how the system is able to

Re: Regarding the boot process.

2021-09-03 Thread Riza Dindir
Hello, On Fri, Sep 3, 2021 at 7:57 PM Michael van Elst wrote: > > riza.din...@gmail.com (Riza Dindir) writes: > > >On the other hand, this is very interesting, when I run the "gpt show > >-a sd0" (which is where the HDD is connected via USB) I see that the > >NetBSD partition has the "biosboot"

Re: Regarding the boot process.

2021-09-03 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >On the other hand, this is very interesting, when I run the "gpt show >-a sd0" (which is where the HDD is connected via USB) I see that the >NetBSD partition has the "biosboot" attribute, not the "bootme" >attribute. Would this cause the boot to fail?

Re: Regarding the boot process.

2021-09-03 Thread Riza Dindir
And i can also not explain why the NetBSD HDD booted when plugged into the main HDD sata slot and also when plugged into the DVD sata slot? On Fri, Sep 3, 2021 at 7:39 PM Riza Dindir wrote: > > Hello again, > > I have investigated this issue more. And read the boot and x86/boot > man pages. Also

Re: Regarding the boot process.

2021-09-03 Thread Riza Dindir
Hello again, I have investigated this issue more. And read the boot and x86/boot man pages. Also read the gpt man page and browsed the net to get more information. Here is what I did today. I started the system up from usb, and looked at the fstab and the gpt outputs. The /etc/fstab contains

Re: Regarding the boot process.

2021-09-03 Thread Michael van Elst
riza.din...@gmail.com (Riza Dindir) writes: >This would have to be on the same drive (HDD). meaning the UEFI boot >loader and the OS root partition? The EFI bootloader checks the paths: esp:/EFI/NetBSD/boot.cfg boot.cfg the first is on the EFI sytem partition ("esp:"). the second is relative

Re: Regarding the boot process.

2021-09-03 Thread Martin Husemann
On Fri, Sep 03, 2021 at 06:48:34AM +0300, Riza Dindir wrote: > Under normal conditions, I could have two disks, each having their own > UEFI partitions, and OS root partitions, and be able to boot from > either disk. Would this be correct? Yes, I do that on several machines - just press F8 or F11