- Once our machine starts booting from NetBSD install image, installation begins by entering the installation program, called sysinst. Choose option (a) for English and hit Enter. You could also use arrow keys on your keyboard to navigate between other options or by entering highlighted letters for each options. On the next step we choose our prefered keyboard type and hit Enter.
- Choose "Install NetBSD to hard disk" to begin the installation process.
- Choose Yes to continue.
- A list of available disks to install NetBSD on is shown to you, choose the hard disk you want to install NetBSD on.
- Choose your prefered partitioning scheme.
- For next step sysinst recognizes your disk’s geometry by getting its value from BIOS, proceed with the first option.
- Here, we choose default partitioning method which will use the whole disk.
- On this step, you can see the details of your partitioning. Note that this is your last chance to make any changes, e.g. your filesystem type and disk size. If you want to continue with the default values please select option (x) and skip step 9, otherwise follow the next step.
- For instance, by selecting type or size and then hitting Enter you can change FS type and size of the selected disk.
Choose option (x) and hit Enter.
- At this stage you’ll be asked whether you want to install the normal set of bootblocks or serial bootblocks. Here we use BIOS console.
- Choose Custom installation:
- Here we can choose which distribution sets to install. At a minimum you should install Kernel, Base and Configuration files (/etc). Select other components according to your usage, otherwise keep the default values and continue.
- Choose your installation source, here we select first option as our install image is an .iso file.
Installation in progress:
- Installing of distribution files is done, hit Enter to continue. Please note that you can start the installation program from begining by pressing combination of control-c on your keyboard during the installation, then type sysinst on the opened shell.
- Final configurations: First configure network connection.
Choose from available interfaces:
If your network has DHCP support proceed with autoselect. Hit Enter to configure network automatically:
Select Yes for next three steps:
- Select root password:
Select Yes and enter your password:
- In this step we configure pkgin, a binary package manager. Select option (e) and hit Enter.
Make sure your network configuration is successful. Select option (x) and wait for installation to finish. Note that you don’t need to change other options.
Hit Enter to continue.
- Now you should configure package isntallation from source, pkgsrc. Select (f) and hit Enter:
Select (x) to fetch and unpack pkgsrc.
- Next, we add a user to our system:
Enter a username. In answer to "Do you want to add this user to group wheel" anser Yes to enable root privileges for the newly created user.
Choose user’s shell.
Choose a password for it.
- After you’re finished configuring the system you can select option (x) to finish installation.
In the end, you can enable sshd, ntpd, mdnsd, … service daemons to start on boot.
- Be sure to enable mdnsd (Multicast and Unicast DNS daemon), see mdnsd(8).
- Disable raidframe if you do not have any plan for using RAID, see raid(4) and raidctl(8).
Hit Enter to continue:
Now you can choose "Reboot your computer" to boot to your new NetBSD system.