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

version 1.3, 2018/11/19 20:08:42 version 1.4, 2018/11/19 20:14:38
Line 19  external media (SATA hard disk, USB stic Line 19  external media (SATA hard disk, USB stic
 Now that the SD card is populated with `armv7.img` we can login as `root` (by  Now that the SD card is populated with `armv7.img` we can login as `root` (by
 default the password is empty) and run `sysinst`:  default the password is empty) and run `sysinst`:
   
 ````  [[!template id=programlisting text="""
 # sysinst  # sysinst
 ````  """]]
   
 The first menu is about the system type (Respberry PI or Other), we select the  The first menu is about the system type (Respberry PI or Other), we select the
 latter ("Other"):  latter ("Other"):
   
 ````  [[!template id=programlisting text="""
   
   
   
Line 53  latter ("Other"): Line 53  latter ("Other"):
   
   
   
 ````  """]]
   
 We want to install NetBSD/evbarm on the hard disk so let's select  We want to install NetBSD/evbarm on the hard disk so let's select
 "Install NetBSD to hard disk":  "Install NetBSD to hard disk":
   
 ````  [[!template id=programlisting text="""
   
  NetBSD/evbarm 8.0   NetBSD/evbarm 8.0
   
Line 85  We want to install NetBSD/evbarm on the  Line 85  We want to install NetBSD/evbarm on the 
   
   
   
 ````  """]]
   
 Before proceeding with the installation, if the hard disk had any important data  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  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:  we can safetely remove its data we can proceed:
   
 ````  [[!template id=programlisting text="""
   
  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
  information on your hard disk.  You should have made a full backup before   information on your hard disk.  You should have made a full backup before
Line 118  we can safetely remove its data we can p Line 118  we can safetely remove its data we can p
   
   
   
 ````  """]]
   
 Now we can see all the available disks. The hard disk attached via SATA is a  Now we can see all the available disks. The hard disk attached via SATA is a
 120GB SSD recognized as `wd0`:  120GB SSD recognized as `wd0`:
   
 ````  [[!template id=programlisting text="""
   
  On which disk do you want to install NetBSD?   On which disk do you want to install NetBSD?
   
Line 150  Now we can see all the available disks.  Line 150  Now we can see all the available disks. 
   
   
   
 ````  """]]
   
 We now need to edit MBR partition table. We will create two MBR partitions: the  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  first one a FAT32 for `/boot` and the other for NetBSD. We select "Edit the MBR
 partition table":  partition table":
   
 ````  [[!template id=programlisting text="""
   
  We are now going to install NetBSD on the disk wd0.   We are now going to install NetBSD on the disk wd0.
   
Line 183  partition table": Line 183  partition table":
   
   
   
 ````  """]]
   
 First we select the second entry ("b"), set the "type:" to "NetBSD":  First we select the second entry ("b"), set the "type:" to "NetBSD":
   
 ````  [[!template id=programlisting text="""
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
  Flgs: a => Active partition, I => Install here.   Flgs: a => Active partition, I => Install here.
Line 214  First we select the second entry ("b"),  Line 214  First we select the second entry ("b"), 
              +-----------------------------------+               +-----------------------------------+
   
   
 ````  """]]
   
 We reserve for the NetBSD MBR partition all the end of the disk,  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  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  the FAT32), we also select to make it active ("active: Yes") and
 we will use it to install NetBSD ("install: Yes"):  we will use it to install NetBSD ("install: Yes"):
   
 ````  [[!template id=programlisting text="""
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
  Flgs: a => Active partition, I => Install here.   Flgs: a => Active partition, I => Install here.
Line 248  we will use it to install NetBSD ("insta Line 248  we will use it to install NetBSD ("insta
   
   
   
 ````  """]]
   
 We now select the first partition ("a") and create a "Windows FAT32", starting  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  at 1MB and ending at 92MB before the "NetBSD" partition. We also make it active
 ("active: Yes"):  ("active: Yes"):
   
 ````  [[!template id=programlisting text="""
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
  Flgs: a => Active partition, I => Install here.   Flgs: a => Active partition, I => Install here.
Line 281  at 1MB and ending at 92MB before the "Ne Line 281  at 1MB and ending at 92MB before the "Ne
   
   
   
 ````  """]]
   
 Here the final MBR partition table:  Here the final MBR partition table:
   
 ````  [[!template id=programlisting text="""
   
  The Current MBR partition table is shown below.   The Current MBR partition table is shown below.
  Flgs: a => Active partition, I => Install here.   Flgs: a => Active partition, I => Install here.
Line 312  Here the final MBR partition table: Line 312  Here the final MBR partition table:
   
   
   
 ````  """]]
   
 Now that the MBR partition table is written we can proceed to set  Now that the MBR partition table is written we can proceed to set
 sizes of NetBSD partitions:  sizes of NetBSD partitions:
   
 ````  [[!template id=programlisting text="""
   
  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
  multiple BSD partitions.  You must now set up your BSD disklabel.   multiple BSD partitions.  You must now set up your BSD disklabel.
Line 344  sizes of NetBSD partitions: Line 344  sizes of NetBSD partitions:
   
   
   
 ````  """]]
   
 We set the swap size to 4G and we reserve the rest of the space for "/":  We set the swap size to 4G and we reserve the rest of the space for "/":
   
 ````  [[!template id=programlisting text="""
   
  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
  allocate all the space to the root file system.  However, you may wish to   allocate all the space to the root file system.  However, you may wish to
Line 375  We set the swap size to 4G and we reserv Line 375  We set the swap size to 4G and we reserv
   
   
   
 ````  """]]
   
 The summary of the current BSD disklabel is:  The summary of the current BSD disklabel is:
   
 ````  [[!template id=programlisting text="""
   
  We now have your BSD disklabel partitions as:   We now have your BSD disklabel partitions as:
  This is your last chance to change them.   This is your last chance to change them.
Line 406  The summary of the current BSD disklabel Line 406  The summary of the current BSD disklabel
   
   
   
 ````  """]]
   
 We can adjust the disklabel, for example we can use FFSv2 for "/"  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  and for the disklabel "e" set its mount point to "/boot" in order
 that an `/etc/fstab` entry will be populated (please note  that an `/etc/fstab` entry will be populated (please note
 that "/boot" will not be automatically mounted by default):  that "/boot" will not be automatically mounted by default):
   
 ````  [[!template id=programlisting text="""
   
  We now have your BSD disklabel partitions as:   We now have your BSD disklabel partitions as:
  This is your last chance to change them.   This is your last chance to change them.
Line 440  that "/boot" will not be automatically m Line 440  that "/boot" will not be automatically m
   
   
   
 ````  """]]
   
 We have finally ready to proceed with  We have finally ready to proceed with
 [[!template id=man name="sysinst" section="8"]] as usual and install  [[!template id=man name="sysinst" section="8"]] as usual and install
Line 449  note that the "Binary set directory" nee Line 449  note that the "Binary set directory" nee
 `/evbarm/binary/sets` to `/evbarm-earmv7hf/binary/sets` (it's  `/evbarm/binary/sets` to `/evbarm-earmv7hf/binary/sets` (it's
 missing an `-earmv7hf' due different evbarm-s):  missing an `-earmv7hf' due different evbarm-s):
   
 ````  [[!template id=programlisting text="""
   
  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
  used.  If "user" is "ftp", then the password is not needed.   used.  If "user" is "ftp", then the password is not needed.
Line 476  missing an `-earmv7hf' due different evb Line 476  missing an `-earmv7hf' due different evb
   
   
   
 ````  """]]
   
 The installation will proceed as usual and for more information  The installation will proceed as usual and for more information
 please give a look to  please give a look to
Line 485  please give a look to Line 485  please give a look to
 *TODOleot*: add information how to populate `/boot` and prepare `boot.cmd`,  *TODOleot*: add information how to populate `/boot` and prepare `boot.cmd`,
 `boot.scr`.  `boot.scr`.
   
 ````  [[!template id=programlisting text="""
 # mount /dev/wd0e /mnt  # mount /dev/wd0e /mnt
 # cp -r /boot/* /mnt/  # cp -r /boot/* /mnt/
 ````  """]]
   
   
 # References  # References

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


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