On Tue, 2007-04-17 at 14:33 -0400, 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? >
You could install a bootloader that uses a conf file, and have a script that edits that and then reboots into your chosen OS. Of course, down that road may lie much frustration as a badly-written script can cause you to reboot with a ramdisk or some such and edit by hand. > Thanks > > Jonathan Steel