Hi all .
recently i use debian's grub2 as openbsd boot loader .
install debian in ext2fs. no swap , if 2GB space ok .
^^^^^^
and debian's
/etc/grub.d/40_custom
------------------------
#!/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.
#1
menuentry 'openbsd wd111111111111111111' {
#root (hd1,3)
set root='(hd1,msdos4)'
chainloader +1
}
#2
menuentry 'openbsd wd00000000000000000' {
#root (hd0,3)
set root='(hd0,msdos4)'
chainloader +1
}
#3
menuentry 'openbsd install-5.7' {
kopenbsd /bsd.rd-57
}
#4
menuentry 'openbsd install-snap' {
kopenbsd /bsd.rd-snap
#2 is used main openbsd .
#1 is used as spare or experimental .
#3 is used as openbsd 5.7 installer or upgrader .
#4 is used as openbsd snapshot installer .
in order to **update** bsd.rd-snap ,i run next script on **openbsd**(no
need boot debian) .
cat bsd-rd.bat
----------------------------
umont /mnt-deb
mount_ext2fs /dev/wd0i /mnt-deb
rm /mnt-deb/bsd.rd
wget -c ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.rd
mv bsd.rd /mnt-deb/bsd.rd-snap
ls -ltr /mnt-deb/bsd.rd*
i use rental server , so this procedure is very convinient .
----------------
thanks.