Re: [CentOS] detecting boot order

2008-08-29 Thread Richard Karhuse
On Fri, Aug 29, 2008 at 1:58 PM, Mark Belanger <[EMAIL PROTECTED]>wrote: > Given that I have a machine with possibly multiple disks, each of > which is bootable(has an MBR) > > Is there a command that will query the BIOS and tell me which disk > is the default boot disk. BTW - this is x86. >

Re: [CentOS] detecting boot order

2008-08-29 Thread William L. Maltby
On Fri, 2008-08-29 at 15:33 -0400, Mark Belanger wrote: > > So far, the best thing I've seen is sfdisk -l which will show me > bootable partitions. In a pinch, I could mount all the bootably parts > and scriptify the altering of grub.conf Keep in mind that partitions don't always have to be fl

Re: [CentOS] detecting boot order

2008-08-29 Thread Mark Belanger
William L. Maltby wrote: On Fri, 2008-08-29 at 13:58 -0400, Mark Belanger wrote: Given that I have a machine with possibly multiple disks, each of which is bootable(has an MBR) Is there a command that will query the BIOS and tell me which disk is the default boot disk. BTW - this is x86.

Re: [CentOS] detecting boot order

2008-08-29 Thread William L. Maltby
On Fri, 2008-08-29 at 13:58 -0400, Mark Belanger wrote: > Given that I have a machine with possibly multiple disks, each of > which is bootable(has an MBR) > > Is there a command that will query the BIOS and tell me which disk > is the default boot disk. BTW - this is x86. > > The goal is t

[CentOS] detecting boot order

2008-08-29 Thread Mark Belanger
Given that I have a machine with possibly multiple disks, each of which is bootable(has an MBR) Is there a command that will query the BIOS and tell me which disk is the default boot disk. BTW - this is x86. The goal is to remotely reboot the workstation into the desired disk(which contain