OpenBSD maintenance: OS reinstall

Table of contents

Summary Summary

The OpenBSD (opens in a new tab) official documentation says (opens in a new tab):

If you have a running OpenBSD system, bsd.rd is all you need to reinstall or upgrade to a newer version.

This post shows how to use bsd.rd above, the ramdisk kernel, to start to reinstall the OS. Network or external media is unnecessary. Besides, in installation, it is necessary to get the file sets from any of cdrom disk http nfs at “Location of sets?”.

Description Description

Reboot the machine, enter /bsd.rd (or just bsd.rd) when boot> is shown. Well, remember the boot process will go on automatically in a short while if you don’t enter anything.

openbsd booting

That’s it !! You will see the installer start.

openbsd ram disk kernel installer

Conclusion Conclusion

After installing OpenBSD once, bsd.rd is in your hands. With it, you can reinstall the machine. You can also apply full disk encryption via the shell beforehand.

More on: Upgrade and maintain OpenBSD

OBSD Solutions

OBSD Solutions: OpenBSD consulting and support by Scqr, Reflerd Inc. (opens in a new tab)

Comments and feedback are welcome.