Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 12:15:52 -0700
From:      John Kennedy <warlock@phouka.net>
To:        "Wall, Stephen" <stephen.wall@redcom.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Installing 13.1 ARM on SSD
Message-ID:  <YsiCaBSm931ZXuOk@phouka1.phouka.net>
In-Reply-To: <MN2PR09MB4667B5F0C2430DD5D980BD72EE829@MN2PR09MB4667.namprd09.prod.outlook.com>
References:  <MN2PR09MB4667694B5C97EAFA1816901AEE829@MN2PR09MB4667.namprd09.prod.outlook.com> <Yshwu18f3IuBUjU6@phouka1.phouka.net> <MN2PR09MB4667B5F0C2430DD5D980BD72EE829@MN2PR09MB4667.namprd09.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 08, 2022 at 06:26:59PM +0000, Wall, Stephen wrote:
> I tried something like this - I used rsync to replicate the SD card's (mounted) msdos partition onto the SSD's (also mounted) efi partition.  That got past the firmware message, but then it stopped in the boot loader asking for a partition to boot from.  'zfs:zroot/ROOT/default' resulted in an unknown partition.
> 
> At the moment, I'm running with the SSD imaged from the FreeBSD RPI .img file, and that is working, but it's UFS, not ZFS.  I'll give your steps a try, and if I get nowhere, I might wind up creating a UFS partition for root and boot, and make the rest of the disk zfs with my desired filesystems.

  So, bsdinstall should have set that up (zroot/ROOT/default).  From the
UFS disk, I think (off the top of my head) you can just do a "zfs import
zroot" and then you should be able to see it (and everything else) with
a:  "zfs list -tall -r zroot"  If you picked something other than zroot
for the pool name, you might need to do some more tweaking.

  In my case, my USB disk is only ~256G.  I don't know if uboot has any
BIOS limitations like old x86 did.  I've never had to be too wary, but
then I've never had BIOS-breaking SSDs laying around to attach to RPI.

  I think uboot has some commands that might let you do some zfs
exploration, but hate to point you at web resources because there seems
to be a huge variations in what we end up with on FreeBSD/RPI.  My RPI
is a few hours into a firefox rebuild so I can't give you some real
guidance from what I'm using at the moment.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YsiCaBSm931ZXuOk>