Diff for /wikisrc/ports/evbarm/install_using_sysinst.mdwn between versions 1.2 and 1.3

version 1.2, 2018/11/19 14:03:19 version 1.3, 2018/11/19 20:08:42
Line 16  external media (SATA hard disk, USB stic Line 16  external media (SATA hard disk, USB stic
   
 *TODOleot*: Document all sysinst(8) "screenshot"!  *TODOleot*: Document all sysinst(8) "screenshot"!
   
   Now that the SD card is populated with `armv7.img` we can login as `root` (by
   default the password is empty) and run `sysinst`:
   
 ````  ````
 # sysinst  # sysinst
 ````  ````
   
   The first menu is about the system type (Respberry PI or Other), we select the
   latter ("Other"):
   
 ````  ````
   
   
Line 50  external media (SATA hard disk, USB stic Line 55  external media (SATA hard disk, USB stic
   
 ````  ````
   
   We want to install NetBSD/evbarm on the hard disk so let's select
   "Install NetBSD to hard disk":
   
 ````  ````
   
  NetBSD/evbarm 8.0   NetBSD/evbarm 8.0
Line 79  external media (SATA hard disk, USB stic Line 87  external media (SATA hard disk, USB stic
   
 ````  ````
   
   Before proceeding with the installation, if the hard disk had any important data
   it is better to stop and doing a backup before proceeding. If it is empty and/or
   we can safetely remove its data we can proceed:
   
 ````  ````
   
  You have chosen to install NetBSD on your hard disk.  This will change   You have chosen to install NetBSD on your hard disk.  This will change
Line 108  external media (SATA hard disk, USB stic Line 120  external media (SATA hard disk, USB stic
   
 ````  ````
   
   Now we can see all the available disks. The hard disk attached via SATA is a
   120GB SSD recognized as `wd0`:
   
 ````  ````
   
  On which disk do you want to install NetBSD?   On which disk do you want to install NetBSD?
Line 137  external media (SATA hard disk, USB stic Line 152  external media (SATA hard disk, USB stic
   
 ````  ````
   
   We now need to edit MBR partition table. We will create two MBR partitions: the
   first one a FAT32 for `/boot` and the other for NetBSD. We select "Edit the MBR
   partition table":
   
 ````  ````
   
  We are now going to install NetBSD on the disk wd0.   We are now going to install NetBSD on the disk wd0.
Line 166  external media (SATA hard disk, USB stic Line 185  external media (SATA hard disk, USB stic
   
 ````  ````
   
   First we select the second entry ("b"), set the "type:" to "NetBSD":
   
 ````  ````
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
Line 195  external media (SATA hard disk, USB stic Line 216  external media (SATA hard disk, USB stic
   
 ````  ````
   
   We reserve for the NetBSD MBR partition all the end of the disk,
   starting at 92MB (1MB that will be empty and 91MB that will be for
   the FAT32), we also select to make it active ("active: Yes") and
   we will use it to install NetBSD ("install: Yes"):
   
 ````  ````
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
Line 224  external media (SATA hard disk, USB stic Line 250  external media (SATA hard disk, USB stic
   
 ````  ````
   
   We now select the first partition ("a") and create a "Windows FAT32", starting
   at 1MB and ending at 92MB before the "NetBSD" partition. We also make it active
   ("active: Yes"):
   
 ````  ````
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
Line 253  external media (SATA hard disk, USB stic Line 283  external media (SATA hard disk, USB stic
   
 ````  ````
   
   Here the final MBR partition table:
   
 ````  ````
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
Line 282  external media (SATA hard disk, USB stic Line 314  external media (SATA hard disk, USB stic
   
 ````  ````
   
   Now that the MBR partition table is written we can proceed to set
   sizes of NetBSD partitions:
   
 ````  ````
   
  NetBSD uses a BSD disklabel to carve up the NetBSD portion of the disk into   NetBSD uses a BSD disklabel to carve up the NetBSD portion of the disk into
Line 311  external media (SATA hard disk, USB stic Line 346  external media (SATA hard disk, USB stic
   
 ````  ````
   
   We set the swap size to 4G and we reserve the rest of the space for "/":
   
 ````  ````
   
  You can now change the sizes for the system partitions.  The default is to   You can now change the sizes for the system partitions.  The default is to
Line 340  external media (SATA hard disk, USB stic Line 377  external media (SATA hard disk, USB stic
   
 ````  ````
   
   The summary of the current BSD disklabel is:
   
 ````  ````
   
  We now have your BSD disklabel partitions as:   We now have your BSD disklabel partitions as:
Line 369  external media (SATA hard disk, USB stic Line 408  external media (SATA hard disk, USB stic
   
 ````  ````
   
   We can adjust the disklabel, for example we can use FFSv2 for "/"
   and for the disklabel "e" set its mount point to "/boot" in order
   that an `/etc/fstab` entry will be populated (please note
   that "/boot" will not be automatically mounted by default):
   
 ````  ````
   
  We now have your BSD disklabel partitions as:   We now have your BSD disklabel partitions as:
Line 398  external media (SATA hard disk, USB stic Line 442  external media (SATA hard disk, USB stic
   
 ````  ````
   
   We have finally ready to proceed with
   [[!template id=man name="sysinst" section="8"]] as usual and install
   the installation sets.  If you choose to install via FTP/HTTP please
   note that the "Binary set directory" needs to be adjusted from
   `/evbarm/binary/sets` to `/evbarm-earmv7hf/binary/sets` (it's
   missing an `-earmv7hf' due different evbarm-s):
   
 ````  ````
   
  The following are the http site, directory, user, and password that will be   The following are the http site, directory, user, and password that will be
Line 427  external media (SATA hard disk, USB stic Line 478  external media (SATA hard disk, USB stic
   
 ````  ````
   
   The installation will proceed as usual and for more information
   please give a look to
   [The NetBSD Guide](https://www.netbsd.org/docs/guide/en/chap-exinst.html#exinst-choose-media).
   
   *TODOleot*: add information how to populate `/boot` and prepare `boot.cmd`,
   `boot.scr`.
   
 ````  ````
 # mount /dev/wd0e /mnt  # mount /dev/wd0e /mnt
 # cp -r /boot/* /mnt/  # cp -r /boot/* /mnt/
 ````  ````
   
 *TODOleot*: add a reference to The NetBSD Guide for further steps of the  
 installation.   
   
 *TODOleot*: add information how to populate `/boot` and prepare `boot.cmd`,  
 `boot.scr`.  
   
   
 # References  # References
   

Removed from v.1.2  
changed lines
  Added in v.1.3


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb