Re: detecting boot order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2008-08-29 at 15:33 -0400, Mark Belanger wrote:
> <snip>

> 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 flagged as bootable
(I don't recall ATM the conditions under which this is true). As long as
you know that all are so flagged, that will answer one part of your
need.

Part two can be answered if that boot partition always gets mounted (I
use read-only mount by default). But that only tells which was booted,
not which will be/is being booted.

> 
> -Mark
> 

-- 
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux