From 24329a996ad05a7f772ab509145b6aa912d0fc7e Mon Sep 17 00:00:00 2001 From: longpanda Date: Mon, 12 Oct 2026 14:39:33 +0800 Subject: [PATCH] Change the new root path to absolute --- IMG/cpio/ventoy/hook/ventoy-hook-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh b/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh index 16439a2f..ee2e90f7 100644 --- a/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh +++ b/IMG/cpio/ventoy/hook/ventoy-hook-lib.sh @@ -1018,7 +1018,7 @@ ventoy_init_udev_auto_rules() { } ventoy_new_root_dir() { - for vroot in sysroot newroot new_root root live/aufs pup_new; do + for vroot in /sysroot /newroot /new_root /root /live/aufs /pup_new; do if [ -d $vroot/etc/udev/rules.d ]; then echo "$vroot" return