OS Prober

From LFScript

LFScript can find this software under the name os-prober.

Sources


MD5 Checksums:

3010a4b20c81da2a4ac25c59a1c090d3  os-prober_1.74.tar.xz

Dependencies

  • which

This dependency is not actually for OS Prober, but for grub which needs it to locate OS Prober.

Installation

make

As the root user:

mkdir -pv /usr/{lib,share}/os-prober
cp -v os-prober /usr/bin
cp -v linux-boot-prober /usr/bin
cp -v newns /usr/lib/os-prober
cp -v common.sh /usr/share/os-prober

As the root user:

mkdir -pv /usr/lib/linux-boot-probes/mounted
mkdir -pv /usr/lib/os-probes/{init,mounted}

As the root user:

cp -v linux-boot-probes/common/*         /usr/lib/linux-boot-probes
cp -v linux-boot-probes/mounted/common/* /usr/lib/linux-boot-probes/mounted
cp -v linux-boot-probes/mounted/x86/*    /usr/lib/linux-boot-probes/mounted

As the root user:

cp -v  os-probes/common/*         /usr/lib/os-probes
cp -v  os-probes/init/common/*    /usr/lib/os-probes/init
cp -v  os-probes/mounted/common/* /usr/lib/os-probes/mounted
cp -vR os-probes/mounted/x86/*    /usr/lib/os-probes/mounted

As the root user:

mkdir -pv /var/lib/os-prober