NetBSD-Users archive

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

Re: sysinst(8), `Installing from an unmounted filesystem'



On Wed, Oct 10, 2018 at 06:58:59PM +0200, Rocky Hotas wrote:
> Hi!
> As regards
> 
> http://www.netbsd.org/docs/guide/en/chap-exinst.html
> 
> Items in Fig. 3.22 have changed in 8.0 installation. They are now:
> 
> Device
> File system
> Base directory
> Binary set directory
> Source set directory

Let me do an example with the stock ISO image for sparc64:

Device: cd0a
File system: /mnt

This will do something equivalent to:

  mount /dev/cd0a /mnt


For the stock ISOs, the release is at the top of the CD, so:

Base directory: /

The other two should be pre-populated with working defaults, i.e. in my
sparc64 example:

Binary set directory: sparc64/binary/sets

Now sysinst will do something like:

  cd /targetroot	# this is where the to-be installed disk is mounted
  tar xpzf /mnt//sparc64/binary/sets/base.tgz

Not quite, it will use progress -z, but you get the idea.

Martin


Home | Main Index | Thread Index | Old Index