OS Prober

From LFScript
Revision as of 13:54, 14 June 2014 by Marcel (talk | contribs)

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

Sources


MD5 Checksums:

16c999d00a925968c99a8ca8cc9a3c3a  os-prober_1.63.tar.gz

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