use grub and make a script to edit its "default N" config line
you can mount your ext2 partition from gentoo on openbsd and edit /boot/grub/menu.lst
this way you can make an script to reboot into openbsd or reboot into gentoo
it can be useful for systems controlled through ssh

Jon Steel wrote:
Hi

Im trying to find a way to do a sort of very soft reboot. For example I
want to boot up the computer into a kernel on one drive, and then after
saying reboot, the computer loads up a kernel from a second drive.

I have gotten this to work with the use of a file to pass information
between boots, but that is not an ideal solution. What I really want is
either a way to pass a parameter to the BIOS so that it can pass it to
boot upon restarting, or a way to reload the boot loader into memory and
then execute it.

It would even be fine to use another operating system on the first boot.
So it boots up into say Gentoo, and then when Im done with that, I want
to load OpenBSD.

Does anybody have an idea how I can approach this?

Thanks

Jonathan Steel

Reply via email to