>>>>> "JK" == Jeremy Katz <katzj@xxxxxxxxxx> writes: JK> There's too large a variety of ways that booting can be done and JK> there's not a deterministic way to be able to handle this in a way JK> that doesn't make me go crazy I don't know what the original requester's application is, but would it be sufficient to just stick something in %pre to dd if=(whatever drive) bs=512 count=1 and look for "GRUB"? You could even loop over the output of list-harddrives if you wanted to check all devices. - J<