DEV Community

Cover image for NetBSD minimal installation
Efe Ertugrul
Efe Ertugrul

Posted on • Originally published at efeertugrul.com

NetBSD minimal installation

Summary

These are the step by step instructions of installing a minimal NetBSD on a virtual machine. I'm using NetBSD as a mini server. So this installation has no graphical packages. I'm also using 32bit version. A bit slower but less demanding.

I'm publishing this for the future reference. Because i'm sure i'm going to forget how i've installed and configured this OS.

You can download NetBSD 9.2 CD image from this site:

https://www.netbsd.org/releases/formal-9/NetBSD-9.2.html

The VM has this configuration:

1 core cpu
1024mb ram
8gb ide hdd
no soundcard


Instructions

1- Boot your vm from cd image and wait until you see this screen. Press enter and continue next screen.

netbsd-001

2- Select your keyboard and press enter.

netbsd-002

3- Select install to hard disk and continue.

netbsd-003

4- Select yes and continue.

netbsd-004

5- Select 8.0G disk.

netbsd-005

6- Select "Guid Partition Table"

netbsd-006

7- Select correct and continue.

netbsd-007

8- Select sizes of NetBSD partitions.

netbsd-008

9- Press x to select go on and then press enter.

netbsd-009

10- Press x to select go on and then press enter.

netbsd-010

11- Select yes and continue.

netbsd-011

12- Select BIOS console and continue.

netbsd-012

13- Select custom installation and continue.

netbsd-013

14- Set "Manual pages" to Yes. (Man pages are always better than google searches)

netbsd-014

15- Select "Install selected sets" and continue.

netbsd-015

16- Select CD-ROM and continue.

netbsd-016

17- Wait for extraction to end.

netbsd-017

18- Press enter to start configuration.

netbsd-018

19- First thing is to set "root" user password. Select Change root password.

netbsd-019

20- Select yes.

netbsd-020

21- Enter new root password.

netbsd-021

22- Set "Enable raidframe" to No. Because i'm not going to use any RAID implementations. Look here for more info: NetBSD Raidframe

netbsd-022

23- Set "Enable cgd" to No. Because im not going to encrypt any disks. Look here for more info: NetBSD cgd

netbsd-023

24- Select "Add a user" and press enter.

netbsd-024

25- Enter username and add this user to wheel group. (Wheel group means privileged users)

netbsd-025

26- Select bin/sh and continue.

netbsd-026

27- Set your user password.

netbsd-027

28- Select finished configuration and hit enter.

netbsd-028

29- Installation is completed. Hit enter.

netbsd-029

30- Select reboot the computer and hit enter.

netbsd-030

31- After boot, you should be able to see this login screen.

netbsd-032

Congratulations

You've successfully installed a minimal NetBSD 32bit operating system.

Top comments (0)