Date: Fri, 10 Oct 2025 09:14:57 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: Freebsd-stable List <stable@freebsd.org>, virtualization@freebsd.org Subject: Re: ALPHA-3 diskless + bhyve issues Message-ID: <639210F6-87B6-4B34-AB9B-8EAB46682B80@cs.huji.ac.il> In-Reply-To: <rp3o2r-413n-9p94-656n-32sp812037rn@mnoonqbm.arg> References: <342F2780-9C83-4CEE-BE3E-AE72C9AE12BA@cs.huji.ac.il> <rp3o2r-413n-9p94-656n-32sp812037rn@mnoonqbm.arg>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > On 10 Oct 2025, at 00:33, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote: > > On Tue, 23 Sep 2025, Daniel Braniss wrote: > >> So after many years, I tried to install instead of upgrading, >> and after much fiddling (if anyone is interested I can write how I did i) I got it to >> install, now here is my problem: >> when the the local disk was empty, loader.efi is called (this via dhcp) and it boots diskless, >> but now that the disk is populated, it boots from it. >> >> Q: how can I have it boot diskless again? > > I haven't seen an answer. Have you tried the freebsd-virtualization list? > > I assume you could interrupt the boot process if fast enough (but it's the blink of an eye); > so you'll most likely be more successful putting a startup.nsh and possibly an EFI shell in the EFI System Partition (ESP) and script it? Could be the bhyve firmware brings the efi shell along already? > > /bz > > -- > Bjoern A. Zeeb r15:7 hi, no answer yet, but after some experimenting: boots diskless: if no local disk - dah if local disk and no EFI partition if local disk has the above but no valid root partition and finally if root partition and efi but no bootx64.efi ( i just move it to bootx64.efix) thanks, danny ps: i guess i forgot to mention that the host is running in bhyve (14.3) pass: it’s now alpha-5 [-- Attachment #2 --] <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 10 Oct 2025, at 00:33, Bjoern A. Zeeb <<a href="mailto:bzeeb-lists@lists.zabbadoz.net" class="">bzeeb-lists@lists.zabbadoz.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Tue, 23 Sep 2025, Daniel Braniss wrote:<br class=""><br class=""><blockquote type="cite" class="">So after many years, I tried to install instead of upgrading,<br class="">and after much fiddling (if anyone is interested I can write how I did i) I got it to<br class="">install, now here is my problem:<br class="">when the the local disk was empty, loader.efi is called (this via dhcp) and it boots diskless,<br class="">but now that the disk is populated, it boots from it.<br class=""><br class="">Q: how can I have it boot diskless again?<br class=""></blockquote><br class="">I haven't seen an answer. Have you tried the freebsd-virtualization list?<br class=""><br class="">I assume you could interrupt the boot process if fast enough (but it's the blink of an eye);<br class="">so you'll most likely be more successful putting a startup.nsh and possibly an EFI shell in the EFI System Partition (ESP) and script it? Could be the bhyve firmware brings the efi shell along already?<br class=""><br class="">/bz<br class=""><br class="">-- <br class="">Bjoern A. Zeeb r15:7<br class=""></div></div></blockquote></div><br class=""><div class="">hi,</div><div class=""><div class="">no answer yet, but after some experimenting:</div><div class="">boots diskless:</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>if no local disk - dah</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>if local disk and no EFI partition</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>if local disk has the above but no valid root partition</div><div class="">and finally if root partition and efi but no bootx64.efi ( i just move it to <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">bootx64.efix)</span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">thanks,</span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>danny</span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">ps: i guess i forgot to mention that the host is running in bhyve (14.3)</span></div></div><div class=""><font color="#000000" class="">pass: it’s now alpha-5</font></div><div class=""><font color="#000000" class=""><br class=""></font></div></body></html>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?639210F6-87B6-4B34-AB9B-8EAB46682B80>
