NetBSD - Changing the default startup disk for fn: diskn

Just a quick tip. Here is how you change the default startup disk which is used by the fn: diskn menu.

On a default NetBSD installation with multiple partitions, fdisk acts as the bootloader unless there is a separate bootloader installed.

When booting NetBSD you may see “fn: diskn” followed by a list of options. This menu is part of fdisk.

To change the default startup disk, use the following command:

fdisk -B

You will eventually be prompted for the ‘default boot option’. Simply specify which one should be the default.

This is helpful if you have a multi-boot system and decide you would prefer NetBSD to boot up by default instead of Windows, etc.

You must be logged in to post a comment.