Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2022 03:33:50 -0800
From:      Fred Finster <wb7odyfred@yahoo.com>
To:        freebsd-arm@freebsd.org
Cc:        fbsd@www.zefox.net, Fred.Suyimazu@theGalacticZoo.com
Subject:   SSD 500GB, has several slices, FreeBSD-ARM64 Snapshot 14, installed to a slice.
Message-ID:  <17693697-ba5d-7b09-4bcb-c7e5e43a6f01@yahoo.com>
References:  <17693697-ba5d-7b09-4bcb-c7e5e43a6f01.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------8CJO0Pe5ymtCU0v0PyR8HtR5
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I will post details and pictures to https://ghostbsd-arm64.blogpost.com 
to better explain my confusion

I want to thank  Bob Prohaska for his little notes on setting up 
Raspberry Pi 4B at http://www.zefox.net/~fbsd/u-boot_cheatsheet for 
booting from a USB SSD disk. http://www.zefox.net/~fbsd/ Check his other 
notes on booting Raspberry Pi 3+ and 4B SBCs.

I am searching and looking for using EFIBOOTMGR to setup the SSD to boot 
from a slice.  There is an error about NO BootOrder setup and missing 
ubootefi.var value.

So I can boot from a USB 2.0 Flash drive with the FreeBSD 14.0 RPI3 
snapshot installed.  I did  install same image to a slice on the 500GB 
SATA SSD , but did not make any other changes or settings.  Still 
looking for the Instructions, Dance Steps, what ever it takes to make 
the SSD boot for a self contained system.

I document here the steps, so others can follow.

Install FreeBSD 14.0 Snapshot RPI3 to USB Flash Drive:

download from freebsd.org/where 
https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220127-2c449a4c5a3-252673.img.xz 
2022 01 27 date snapshot

Note:  unxz 
FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220127-2c449a4c5a3-252673.img.xz

dd if=./FreeBSD-ARM64-RPI3.img of=/dev/da1  bs=1m conv=notrunc 
status=progress

Install FreeBSD 14.0 Snapshot RPI3 to USB 3.0 500GB SSD in an external 
HornetTek metal case Drive enclosure:

dd if=./FreeBSD-ARM64-RPI3.img of=/dev/da1p4  bs=1m conv=notrunc 
status=progress

Look at the location difference between  a single USB Flash drive stick  
/dev/da1   and the SDD /dev/da1p4  into a slice (linux primary partition 
) versus if  I used /dev/da1 for the whole disk.  So does the U-Boot 
have logic to do both to boot from a SSD (1.) boot whole drive and then 
2.0 boot a single Slice that has 2 partitions 1.) MSDOS FAT32 2.) BSD 
with a label. )

So I am missing  efibootmrg on  aarch64 FreeBSD 14.0 snapshot to set the 
"boot order".  Missing ubootefi.var  variables?

So  look at more details here at https://ghostbsd-arm64.blogspot.com 
{not like a web page with text files, yet I can display pictures I took 
with a camera here }.AR  I have not made the post "Booting 500 GB SSD on 
FreeBSD-ARM64-14.0 January 27, 2022  snapshot". yet.

Simply,  I am asking:

  1.)  Can U-BOOT and UEFI handle booting from an image installed to a  
slice or does it have to be an image installed to a full disk?  How do 
you point the UEFI loader to select this one slice? Which tools 
accomplish that?  Are those tools already loaded inside the snapshot 
image downloaded from FreeBSD.org/where ??  I don't have ethernet access 
here and the internal wifi device does not have a working device driver 
for the Broadcom wifi.

  2.)  Is there a method, to boot Rod Smiths rEFInd aaarch64 boot 
manager to allow FreeBSD 14 ARM64, POP!_OS ARM64, Manjaro Linux ARM64, 
Raspup 8.2.1 (ARM32) from the same disk?   Is there a UEFI work around 
using EFIBOOTMGR, EFI commands: printenv , setenv, run bootcmd  ??

URLS to read are good resource, that I would read.

pss.  Hard when you are starting out, to now what commands to issue in which sequence for the desired effect, unless you follow a pattern worked out by someone else.
If I run eifbootmgr on my FreeBSD developer machine with the SSD plugged in.  It sees the other devices and proceeds to setup the boot order for the development machine,
not the SSD disk that has be plugged in termporarily.   The answer is something simple, that I have not read about using before.  Or so obvious a child could do it.

-- 
Fred Finster
email:Fred.Suyimazu@theGalacticZoo.com
971-718-9144
ghostbsd-arm64.blogspot.com  <https://ghostbsd-arm64.blogspot.com>;

--------------8CJO0Pe5ymtCU0v0PyR8HtR5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I will post details and pictures to  <a moz-do-not-send="true"
        href="https://ghostbsd-arm64.blogpost.com"
        class="moz-txt-link-freetext">https://ghostbsd-arm64.blogpost.com</a>;
      to better explain my confusion<br>
    </p>
    <p>I want to thank  Bob Prohaska for his little notes on setting up
      Raspberry Pi 4B at <a moz-do-not-send="true"
        href="http://www.zefox.net/~fbsd/u-boot_cheatsheet"
        class="moz-txt-link-freetext">http://www.zefox.net/~fbsd/u-boot_cheatsheet</a>;
      for booting from a USB SSD disk.  <a moz-do-not-send="true"
        href="http://www.zefox.net/~fbsd/" class="moz-txt-link-freetext">http://www.zefox.net/~fbsd/</a> 
      Check his other notes on booting Raspberry Pi 3+ and 4B SBCs.<br>
    </p>
    <p>I am searching and looking for using EFIBOOTMGR to setup the SSD
      to boot from a slice.  There is an error about NO BootOrder setup
      and missing ubootefi.var value.</p>
    <p>So I can boot from a USB 2.0 Flash drive with the FreeBSD 14.0
      RPI3 snapshot installed.  I did  install same image to a slice on
      the 500GB SATA SSD , but did not make any other changes or
      settings.  Still looking for the Instructions, Dance Steps, what
      ever it takes to make the SSD boot for a self contained system.</p>
    <p>I document here the steps, so others can follow.  <br>
    </p>
    <p>Install FreeBSD 14.0 Snapshot RPI3 to USB Flash Drive:</p>
    <p>download from  <a moz-do-not-send="true"
        href="freebsd.org/where" class="moz-txt-link-freetext">freebsd.org/where</a>  
      <a moz-do-not-send="true"
href="https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220127-2c449a4c5a3-252673.img.xz"
        class="moz-txt-link-freetext">https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220127-2c449a4c5a3-252673.img.xz</a> 
      2022 01 27 date snapshot   <br>
    </p>
    <p>Note:  unxz 
FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220127-2c449a4c5a3-252673.img.xz<br>
    </p>
    <p>dd if=./FreeBSD-ARM64-RPI3.img of=/dev/da1  bs=1m conv=notrunc 
      status=progress</p>
    <p>Install FreeBSD 14.0 Snapshot RPI3 to USB 3.0 500GB SSD in an
      external HornetTek metal case Drive enclosure:</p>
    <p>dd if=./FreeBSD-ARM64-RPI3.img of=/dev/da1p4  bs=1m conv=notrunc 
      status=progress</p>
    <p>Look at the location difference between  a single USB Flash drive
      stick  /dev/da1   and the SDD /dev/da1p4  into a slice (linux
      primary partition ) versus if  I used /dev/da1 for the whole
      disk.  So does the U-Boot have logic to do both to boot from a SSD
      (1.) boot whole drive and then 2.0 boot a single Slice that has 2
      partitions 1.) MSDOS FAT32 2.) BSD with a label. )</p>
    <p>So I am missing  efibootmrg on  aarch64 FreeBSD 14.0 snapshot to
      set the "boot order".  Missing ubootefi.var  variables?<br>
    </p>
    <p>So  look at more details here at <a moz-do-not-send="true"
        href="https://ghostbsd-arm64.blogspot.com"
        class="moz-txt-link-freetext">https://ghostbsd-arm64.blogspot.com</a>;
      {not like a web page with text files, yet I can display pictures I
      took with a camera here }.AR  I have not made the post "Booting
      500 GB SSD on FreeBSD-ARM64-14.0 January 27, 2022  snapshot". 
      yet.</p>
    <p>Simply,  I am asking:</p>
    <p> 1.)  Can U-BOOT and UEFI handle booting from an image installed
      to a  slice or does it have to be an image installed to a full
      disk?  How do you point the UEFI loader to select this one slice? 
      Which tools accomplish that?  Are those tools already loaded
      inside the snapshot image downloaded from FreeBSD.org/where ??  I
      don't have ethernet access here and the internal wifi device does
      not have a working device driver for the Broadcom wifi.<br>
    </p>
    <p> 2.)  Is there a method, to boot Rod Smiths rEFInd aaarch64 boot
      manager to allow FreeBSD 14 ARM64, POP!_OS ARM64, Manjaro Linux
      ARM64, Raspup 8.2.1 (ARM32) from the same disk?   Is there a UEFI
      work around using EFIBOOTMGR, EFI commands: printenv , setenv, run
      bootcmd  ??</p>
    <p>URLS to read are good resource, that I would read.<br>
    </p>
    <pre class="moz-signature" cols="72">
pss.  Hard when you are starting out, to now what commands to issue in which sequence for the desired effect, unless you follow a pattern worked out by someone else.  
If I run eifbootmgr on my FreeBSD developer machine with the SSD plugged in.  It sees the other devices and proceeds to setup the boot order for the development machine, 
not the SSD disk that has be plugged in termporarily.   The answer is something simple, that I have not read about using before.  Or so obvious a child could do it.

-- 
Fred Finster 
email:  <a class="moz-txt-link-abbreviated" href="mailto:Fred.Suyimazu@theGalacticZoo.com">Fred.Suyimazu@theGalacticZoo.com</a>
971-718-9144
<a moz-do-not-send="true" href="https://ghostbsd-arm64.blogspot.com">ghostbsd-arm64.blogspot.com</a>;
</pre>
  </body>
</html>

--------------8CJO0Pe5ymtCU0v0PyR8HtR5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17693697-ba5d-7b09-4bcb-c7e5e43a6f01>