From 7ff243f9bbe582e9a785838854dae7187a47d4e7 Mon Sep 17 00:00:00 2001 From: longpanda Date: Sun, 30 Jul 2023 12:58:29 +0800 Subject: [PATCH] Fix the media missing issue when boot UOS server ISO file. --- IMG/cpio/ventoy/ventoy_chain.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index cae7c4fd..b97e4afb 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -376,6 +376,14 @@ ventoy_get_os_type() { if $GREP -q 'chimera' /proc/version; then echo 'chimera'; return fi + + + if $GREP -q '4.19.' /proc/version; then + if [ -d /lib/dracut/hooks ]; then + echo 'openEuler'; return + fi + fi + echo "default" }