[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
libexec
/
os-probes
/
mounted
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 efi
SET
[ DEL ]
📄 05efi
2,073 B
SET
[ EDIT ]
|
[ DEL ]
📄 10freedos
517 B
SET
[ EDIT ]
|
[ DEL ]
📄 10qnx
390 B
SET
[ EDIT ]
|
[ DEL ]
📄 20macosx
842 B
SET
[ EDIT ]
|
[ DEL ]
📄 20microsoft
3,447 B
SET
[ EDIT ]
|
[ DEL ]
📄 30utility
863 B
SET
[ EDIT ]
|
[ DEL ]
📄 40lsb
891 B
SET
[ EDIT ]
|
[ DEL ]
📄 70hurd
247 B
SET
[ EDIT ]
|
[ DEL ]
📄 80minix
431 B
SET
[ EDIT ]
|
[ DEL ]
📄 83haiku
884 B
SET
[ EDIT ]
|
[ DEL ]
📄 90linux-distro
5,734 B
SET
[ EDIT ]
|
[ DEL ]
📄 90solaris
385 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: 83haiku
#!/bin/sh # Detects Haiku on BeFS partitions. . /usr/share/os-prober/common.sh partition="$1" mpoint="$2" type="$3" # Weed out stuff that doesn't apply to us case "$type" in befs|befs_be) debug "$partition is a BeFS partition" ;; *) debug "$partition is not a BeFS partition: exiting"; exit 1 ;; esac if head -c 512 "$partition" | grep -aqs "system.haiku_loader"; then debug "Stage 1 bootloader found" else debug "Stage 1 bootloader not found: exiting" exit 1 fi if system="$(item_in_dir "system" "$mpoint")" && item_in_dir -q "haiku_loader" "$mpoint/$system" && (item_in_dir -q "kernel_x86" "$mpoint/$system" || item_in_dir -q "kernel_x86_64" "$mpoint/$system") then debug "Stage 2 bootloader and kernel found" label="$(count_next_label Haiku)" result "$partition:Haiku:$label:chain" exit 0 else debug "Stage 2 bootloader and kernel not found: exiting" exit 1 fi