I've switched over to using grub2 as my bootloader as that supports kopenbsd /bsd.rd i.e. I can use Linux to download the latest OBSD snapshot bsd.rd file to the / folder of Linux, and then boot that in order to (re)install (or update) OBSD.
I edited /etc/grub.d/40_custom to contain ...
Code: Select all
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
#
# Confusing ... drives are numbered from 0, partitions are numbered from 1
# if you get invalid signature errors you've misnumbered things
# run update-grub after changing
# or may have to rebuild using grub-mkconfig -o /boot/grub/grub.cfg
menuentry 'OpenBSD' {
set root=(hd0,4)
chainloader +1
}
menuentry 'OpenBSD bsd.rd' {
kopenbsd /bsd.rd
}
Makes reinstalling or updating to the latest snapshot easier (one less reboot involved). I have a script that I store on a linux partition that I mount and run after installation that does all my configuring of OBSD, so literally takes just minute to install and configure.
EDIT:
Reinstalling grub4dos again and adding a menu.lst entry of
Code: Select all
title chain grub2
find --set-root /boot/grub/i386-pc/core.img
kernel /boot/grub/i386-pc/core.img
boot