NetBSD-Users archive

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

Re: [netbsd-users] About using NetBSD as a guest, why, how etc.



On Tue 10 Dec 2019 at 18:39:00 +1100, Malcolm Herbert wrote:
> is doing a manual from-scratch install from the command-line
> documented anywhere?

I think it probably is in several places (the broad outlines are a)
partition disk b) newfs file system(s) c) install bootblocks d) extract
all tar sets and that's mostly it; but the details are what counts of
course and if you're doing it for the first time it can be a bit tricky
to get right).

But you can try another approach: you can have sysinst create a shell
script which contains everything it does (at least when I tried it once
upon a time it seemed to work). So you go through the procedure once
interactively and then you can just use the recorded script to repeat
the procedure. You can enable the script in sysinst from the start by
following e: Utility menu, e: Logging function, b: Scripting: On.
The main trick is at the end, to make sure that the recorded script gets
copied to the installed system, because it is stored in the install
image and it will be lost on reboot. Also, I seem to remember that the
install image had very little space and even the modestly sized shell
script didn't fit. But that was years ago and all sizes of everything
are now different, so you can just try and see where it gets you :)

> Regards,
> Malcolm
-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index