You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Detects Haiku on BeFS partitions and FUSE mounted BeFS too.
3
+
# Discussion at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732696
4
+
# From version 42 (dated 20150811) updated by Jeroen Oortwijn at https://bazaar.launchpad.net/~idefix/ubuntu/trusty/os-prober/HaikuPM/files/head:/os-probes/mounted/x86
3
5
4
6
. /usr/share/os-prober/common.sh
5
7
@@ -9,43 +11,38 @@ type="$3"
9
11
10
12
# Weed out stuff that doesn't apply to us
11
13
case"$type"in
12
-
befs|befs_be) debug "$partition is a BeFS partition" ;;
14
+
bfs|befs) debug "$partition is a BeFS partition" ;;
15
+
fuse|fuseblk) debug "$partition is a FUSE partition"; mpoint="$mpoint/myfs" ;; # might be befs-fuse
13
16
*) debug "$partition is not a BeFS partition: exiting";exit 1 ;;
14
17
esac
15
18
16
-
if head -c 512 "$partition"| grep -qs 'system.*haiku_loader';then
17
-
debug "Stage 1 bootloader found"
19
+
if head -c 512 "$partition"| grep -qs "haiku_loader";then
20
+
debug "Haiku stage 1 bootloader found"
18
21
else
19
-
debug "Stage 1 bootloader not found: exiting"
22
+
debug "Haiku stage 1 bootloader not found: exiting"
0 commit comments