On 14/07/17 03:01, bob prohaska wrote:
> In comp.unix.bsd.freebsd.misc Mike Scott
wrote:
>>
>>
>>
>> I simply enter
>> ufs:/dev/da0p2
>> and the boot finishes successfully.
>>
>>
>
> If I'm not mistaken, that gives you the kernel from the microSD card
> but userland from the USB storage device. That may not be a bad thing
> depending on what you're doing. If the machine is intended to build its
> own world and kernel I think it'll make mischief.
>
> I'd be pleased to learn this is untrue.
Thanks for the comment.
TBH I don't know. I've always found the info for loader confusing; and
with ubldr it's not exactly got clearer. Possibly just me - but I'm
trying to use the OS, not learn about how it ticks.
My understanding, which is more than likely flawed, is that loader reads
the fstab file, and mounts / accordingly, and I think the kernel is then
loaded from /boot/.... which would mean (in this case) off the external
drive.
But in my case, they're identical anyway, and it makes not one jot of
difference in practice for my application.
But it would be good to know for sure!
(I'm not entirely convinced that running 'make buildworld' or whatever
on the rpi would be a Good Idea in any event. :-} )
As I've noted elsewhere, the problem I had was due to a race condition
for recognising the USB drive and mounting / off it. Suggests to me
something not quite kosher in the design of the boot procedure.
--
Mike Scott (unet2 [deletethis] scottsonline.org.uk)
Harlow Essex
"The only way is Brexit" -- anon.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|