NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysinst: /bin/sh with new system disk still mounted?



On Tue, Aug 13, 2024 at 08:24:57AM +0200, Martin Husemann wrote:
> On Mon, Aug 12, 2024 at 01:34:44PM -0700, Steve Rikli wrote:
> > This works OK for me, but I'm wondering if other folks have better
> > ideas. I don't see an obvious sysinst menu option for this kind of
> > activity.
> 
> There is a good point in the installation where this should happen,
> and that is the final "additional configuration" menu, where you can
> add users, install pkgsrc and what have you.
> 
> Maybe we should add another "run a shell" entry there.

Sounds right. There's a "Root shell" menu item there already, which at
first glance gave me hope, but I then I realized that's actually to
configure the login shell for root. :)

And agreed, IME after you select "Finished" on that menu, you get
"installation is now complete"; you might also see sysinst messages
happening behind the menu about unmounting and doing away with dk*,
maybe if your terminal and TERM aren't quite right(?). So the most
useful shell running needs to happen prior to exiting that menu.

> There is a trivial workaround with the current version: when you are
> at that menu, use ^Z to suspend sysinst, do whatever is needed and
> exit the shell to return to the sysinst menu and finalize the setup.

Neat; I'll have to try that next time. :)

sr.


Home | Main Index | Thread Index | Old Index