On Fri, 2019-01-18 at 21:24 +0300, Lev Serebryakov wrote: > On 18.01.2019 21:14, Toomas Soome wrote: > > > errm.. you press a key and enter device and or loader path. if it is not working - the code is there to be fixed. > > And loader looks to "bootme" attribute and try to boot from partition > which has one, even if it is loaded from other partition itself. > I am catching up, very late, on this old thread. What Toomas was describing does work, but it was broken for a long time. It got fixed in r341071 last November. I hate the syntax, but at the gptboot boot prompt (boot:) you can enter "da(D,P)" and gptboot will run loader(8) from that drive number D, partition number P, and (after r341071) it will pass that info properly so that loader(8) will attempt to load the kernel from the same drive/partition. IMO, it would be nice if "currdev syntax" worked too, so you could just enter disk3p4 or similar. I may look into adding that to the code. -- Ian > > GPT does not have the concept of active partition. > > It has "bootme" / "bootonce" attributes. And [zfs]gptboot doesn't have > any tools to set these attributes, AFAIK. Same for UEFI boot code. >Received on Tue Apr 30 2019 - 14:57:59 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC