Hello list users,

I have a virtual server for testing, on which I have installed OpenBSD 4.8.
The installation is on wd0a, and there's just a single / partition.

I then did a second installation, and setup OpenBSD 4.9 on wd0d, also with a
single / partition.

At this point, I can reboot the server, and at the boot prompt, I can
manually boot into one or the other system as follows:

boot> boot hd0a:/bsd (for OpenBSD 4.8)
boot> boot hd0d:/bsd (for OpenBSD 4.9)

Next, I wished to make the 4.9 installation the default. Therefore, I did
the following:

1. Booted into 4.9
2. Logged in as root
3. cd /usr/mdec; ./installboot /boot ./biosboot wd0
4. echo 'boot hd0d:/bsd' > /etc/boot.conf

My expectation was that after a reboot, the OpenBSD booter would load up,
look for wd0d:/etc/boot.conf, find the boot command in there, and boot
automatically into 4.9. This is based on my reading of the boot.conf man
page, section 5:

5.   If the file */etc/boot.conf* exists on the filesystem *boot* was loaded
          from, open and parse it.  This file may contain any commands *boot*
          accepts at the interactive prompt.  Though default settings usually
          suffice, they can be changed here.

However, this didn't happen. Instead, the server booted off hd0a:/bsd, and
into 4.8.

Is this a bug, or have I missed something?

Regards,

Anand

Reply via email to