Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
5f3d7f38
"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "23ebbaa46ead40c44c20b707b0e53d954ea51dc5"
Commit
5f3d7f38
authored
Apr 29, 2022
by
longpanda
Browse files
Fix the bug when booting linx iso (#1600)
parent
3d1dc81f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
IMG/cpio/ventoy/hook/debian/udev_disk_hook.sh
IMG/cpio/ventoy/hook/debian/udev_disk_hook.sh
+8
-0
No files found.
IMG/cpio/ventoy/hook/debian/udev_disk_hook.sh
View file @
5f3d7f38
...
...
@@ -138,6 +138,14 @@ else
fi
fi
#special process for Linx
if
$BUSYBOX_PATH
/uname
-r
|
$GREP
-q
"^2
\.
6"
;
then
if
$GREP
-q
"linx"
/proc/version
;
then
blkdev_num
=
$(
$VTOY_PATH
/tool/dmsetup
ls
|
$GREP
ventoy |
$SED
's/.*(\([0-9][0-9]*\),.*\([0-9][0-9]*\).*/\1:\2/'
)
vtDM
=
$(
ventoy_find_dm_id
${
blkdev_num
}
)
echo
"/dev/
$vtDM
"
>
/ventoy/list-devices-usb-part
fi
fi
# OK finish
set_ventoy_hook_finish
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment