Date: Fri, 24 Apr 2020 11:07:34 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: bob prohaska <fbsd@www.zefox.net> Cc: Mark Millard <marklmi@yahoo.com>, freebsd-arm <freebsd-arm@freebsd.org>, Georg Lindenberg <georg.lindenberg@web.de> Subject: Re: Booting from USB on RPI3 Message-ID: <CAJuc1zNZAgA%2BismPTXi5GoSKzSXnLJ0Gy1ivMCii%2BhjF=SjPPg@mail.gmail.com> In-Reply-To: <20200423224108.GC3996@www.zefox.net> References: <mailman.61.1587470402.80084.freebsd-arm@freebsd.org> <trinity-4938b1d4-f29f-4907-bedd-65be21112e48-1587489497227@3c-app-webde-bs65> <20200421181224.GC96994@www.zefox.net> <trinity-19081201-3024-4046-817a-48321c51a515-1587587309088@3c-app-webde-bap64> <20200423162124.GA3583@www.zefox.net> <CAJuc1zMHL6ke3LH67iV8%2BogKFO18xwW_v7bRAUsj8CbxD2EOTw@mail.gmail.com> <8D1F6A8D-4910-4C1E-8EB5-2F5F89E31120@yahoo.com> <CAJuc1zOTnoRmeaKXHMTH9po=6ipBYDxvxAoiVmow-sNgwUERVQ@mail.gmail.com> <20200423212614.GA3996@www.zefox.net> <CAJuc1zO0L=M%2BOh1tXAKBW9y254rgawVqxdiGBHmoLwG1O%2B_gSQ@mail.gmail.com> <20200423224108.GC3996@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Apr 2020 at 10:41, bob prohaska <fbsd@www.zefox.net> wrote: > On Fri, Apr 24, 2020 at 09:31:09AM +1200, Jonathan Chen wrote: > > On Fri, 24 Apr 2020 at 09:26, bob prohaska <fbsd@www.zefox.net> wrote: > > > Gpart reports > > > bob@www:~ % gpart show da0 > > > => 63 78140097 da0 MBR (37G) > > > 63 2016 - free - (1.0M) > > > 2079 102312 1 fat32lba [active] (50M) > > > 104391 78035769 2 freebsd (37G) > > > > > > > This is consistent with what your boot messages are showing. Your > > loader.env should have rootdev=disk1p2: > > > I've added /boot/loader.env and tried to boot again. Actually, I was talking about /EFI/FreeBSD/loader.env on your microSD card. [...] > > Your current boot failure is due to the contents of /etc/fstab. What > > do you have in there? > > Only what was supplied by the snapshot image file: > > # Custom /etc/fstab for FreeBSD embedded images > /dev/ufs/rootfs / ufs rw 1 1 > /dev/msdosfs/MSDOSBOOT /boot/msdos msdosfs rw,noatime 0 0 > tmpfs /tmp tmpfs rw,mode=1777,size=50m 0 0 > > At the loader prompt /boot is populated, apparently from USB, > but /dev is empty. It may be crude, but would replacing > /dev/ufs/rootfs > with > /dev/da0s2a > work for now? I.e., would it become meaningful by the > time the kernel needs to know where it lives? I expected that to > happen automatically, but since /etc/fstab will have to be edited > anyway to turn on swap it's relatively easy. Yes, I think that could work. I'm not sure why your UFS label name isn't showing. Cheers. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zNZAgA%2BismPTXi5GoSKzSXnLJ0Gy1ivMCii%2BhjF=SjPPg>