[CentOS] How does Live CD find OS's?

Sat Jan 23 14:37:08 UTC 2016
Jonathan Billings <billings at negate.org>

On Sat, Jan 23, 2016 at 01:50:42PM +0000, Timothy Murphy wrote:
> If I boot into CentOS on my home server from a Live CD or USB stick
> and go to Troubleshoot, it lists OS's it finds on the machine.
> How does it find these OS's?
> Presumably it looks through all the partitions on all the hard disks
> for something that looks like an OS?
> But how exactly does it identify an OS?

I know that in el7, grub2 uses os-prober
(http://joeyh.name/code/os-prober/), which is probably what it uses in
the LiveCD.

-- 
Jonathan Billings <billings at negate.org>