<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Aug 29, 2008 at 1:58 PM, Mark Belanger <span dir="ltr"><<a href="mailto:mark_belanger@ltx.com">mark_belanger@ltx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Given that I have a machine with possibly multiple disks, each of<br>
which is bootable(has an MBR)....<br>
<br>
Is there a command that will query the BIOS and tell me which disk<br>
is the default boot disk.  BTW - this is x86.<br>
<br>
The goal is to remotely reboot the workstation into the desired<br>
disk(which contain different centos versions).<br>
<br>
tia,<br>
<br>
-Mark<br><font color="#888888"></font></blockquote><div><br>Just a thought ...<br><br>Check-out kexec and possibly grub.exe.<br><br>What you can do is build a RAM disk with grub.exe as the<br>kernel and boot it with command line options that will boot<br>
any of your other disks.  Kind of "neat" ....<br><br>I use it as part of anaconda / kickstart to re-flash the BIOS<br>by booting up a DOS system (when flashrom does not [yet]<br>work) and then boot back into the kickstart.<br>
<br>Unfortunately, kexec really only works in fairly recent<br>kernels, however.  So, that may be an issue for you.<br><br>  -rak-<br><br> <br></div></div><br></div>