Hello, friends. In this post, you will see how to install NetBSD. The exercise will be done on a virtual machine.
According to the project website:
NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.
So, we are talking about a very secure, stable and robust system. You can use it from servers to desktops, but always keep in mind the benefits of BSD.
Install NetBSD on Virtual Machine
First, I recommend that before installing any system on your computer, do it first on a virtual machine, so you can verify the process without damaging anything.
Then, make a backup of the most important information you have at hand. If something happens, at least you won’t lose anything essential.
Then you can download the ISO from this link and use applications like Etcher to create the bootable USB. In the case of a virtual machine, this is not necessary.
Let’s get started…
First steps
When you start the boot, you will see this first screen where you are presented with a menu
![First steps with the NetBSD installer](https://unixcop.com/wp-content/uploads/2022/12/1-11.png)
There, you will be able to choose some options before starting. But option 1 will start the installer.
On the next screen, you will be able to select the language. They are few, but I think they are enough.
![Installer Main Menu](https://unixcop.com/wp-content/uploads/2022/12/2-2.png)
Then it is the turn of the keyboard.
![Select the keyboard layout](https://unixcop.com/wp-content/uploads/2022/12/3-1.png)
Then, you will see the main menu of the installer.
![Install NetBSD - Install the system menu](https://unixcop.com/wp-content/uploads/2022/12/4-2.png)
Choose option 1 to start the installation.
You will then see everything the installer will do to install NetBSD. Press yes to continue.
![Things to do to install NetBSD](https://unixcop.com/wp-content/uploads/2022/12/5-1.png)
Preparing the hard disk for NetBSD
Select the hard disk where the installation will be done. As it is a single disk, it will only show one. Select it.
![Select the disk to install NetBSD](https://unixcop.com/wp-content/uploads/2022/12/6.png)
As it is empty, you will be able to pick a partition scheme. Select the one you want. Then, the installer will verify it.
![Check the disk for the installation](https://unixcop.com/wp-content/uploads/2022/12/7.png)
If it is correct, you will see this screen
![Install NetBSD on the selected disk](https://unixcop.com/wp-content/uploads/2022/12/8.png)
Now comes a tricky part of the process because it’s time to play with the hard disk. As it is an empty one, I will pick Use the entire disk, but you can choose other options.
![Using the default partition size](https://unixcop.com/wp-content/uploads/2022/12/9.png)
Even later, you will be able to define the size of the partitions. However, in order not to make this too long, I will use the size recommended by the installer.
Now you will see in summary all the changes that will be made to the disk.
![Disk configuration](https://unixcop.com/wp-content/uploads/2022/12/10.png)
Next, select the Bootblocks to boot the system. Normally, select BIOS Console.
![Use the BIOS console as the bootblocks](https://unixcop.com/wp-content/uploads/2022/12/11-1.png)
Now you will see a menu like this where you will have to select what you want to install. In each case, you will be presented with the options to download a network mirror.
![Install NetBSD - Installation Menu](https://unixcop.com/wp-content/uploads/2022/12/12.png)
When the whole download and installation process is finished, you will see this screen.
![NetBSD Installation complete!](https://unixcop.com/wp-content/uploads/2022/12/13.png)
As you can see, the installation was successful.
After this, you will see a menu with some extra things to do after the installation.
![NetBSD post installation menu](http://unixcop.com/wp-content/uploads/2022/12/14.png)
Now reboot the system and boot from the hard disk.
As there is only the root user and no password, then just login by typing root
and run a command
uname -a
![NetBSD installed properly](https://unixcop.com/wp-content/uploads/2022/12/15.png)
And you will have information about the newly installed system.
Conclusion
NetBSD is a very secure and stable BSD-like distribution with which you can get started in this world. It is easy to install, but you should try it on a virtual machine first.