DEV Community

Cover image for OpenBSD メンテナンス: OS 再インストール
nabbisen
nabbisen

Posted on • Originally published at obsd.solutions

2

OpenBSD メンテナンス: OS 再インストール

はじめに

OpenBSD の公式ドキュメントに 次のように書かれています:

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

(私訳: 稼働中の OpenBSD システムに対しては、bsd.rd を用いるだけで、再インストールあるいは新しいバージョンへのアップグレードを行うことができます。)

この記事では上記の bsd.rd すなわち RAM ディスク・カーネルを使って、どのように OS の再インストールを開始するのかを示します。
外部メディアは要りません。ただしインストール時、"Location of sets?" で cdrom disk http nfs いずれかからファイルセットを取得する必要はあります。

本旨

マシンを再起動します。boot> が表示されたら /bsd.rd (あるいは単に bsd.rd) を入力します。なお何も入力しない状態で少し経つと、ブート・プロセスは自動的に次へ進みます。お気を付けください。

openbsd 起動中

これだけです !! インストーラーが起動されるでしょう。

openbsd ram ディスク・カーネル インストーラー

おわりに

一度 OpenBSD をインストールすると、bsd.rd は手もとにあります。
それを使うと、マシンの再インストールができます。さらに事前に Shell を使えば フルディスク暗号化 を施すこともできます。

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay