We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 856959c commit b13c614Copy full SHA for b13c614
Linux/tree-common/boot-local
@@ -34,7 +34,7 @@ mountroot() {
34
root_partition_uuid=$(echo "$devinfo" | cut -d' ' -f2- | grep -x "root .*" | head -1 | cut -d' ' -f3)
35
# If that doesn't work, use the first Linux filesystem partition
36
if [ -z "$root_partition_uuid" ]; then
37
- root_partition_uuid=$(echo "$devinfo" | cut -d' ' -f3 | grep -x "$partition_type .*" | head -1 | cut -d' ' -f2)
+ root_partition_uuid=$(echo "$devinfo" | cut -d' ' -f3- | grep -x "$partition_type .*" | head -1 | cut -d' ' -f2)
38
fi
39
# If that didn't work either, give up
40
[ -z "$root_partition_uuid" ] && die "No root partition found"
0 commit comments