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
47e77e00
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "5da3d21c8b581eaaca13897e940c7de53f12fb55"
Commit
47e77e00
authored
May 08, 2021
by
longpanda
Browse files
1.0.43 release
parent
d05eab2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+1
-1
LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c
LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c
+7
-1
No files found.
INSTALL/grub/grub.cfg
View file @
47e77e00
...
@@ -1708,7 +1708,7 @@ function img_unsupport_menuentry {
...
@@ -1708,7 +1708,7 @@ function img_unsupport_menuentry {
#############################################################
#############################################################
#############################################################
#############################################################
set VENTOY_VERSION="1.0.4
2
"
set VENTOY_VERSION="1.0.4
3
"
#ACPI not compatible with Window7/8, so disable by default
#ACPI not compatible with Window7/8, so disable by default
set VTOY_PARAM_NO_ACPI=1
set VTOY_PARAM_NO_ACPI=1
...
...
LinuxGUI/Ventoy2Disk/Core/ventoy_disk.c
View file @
47e77e00
...
@@ -514,6 +514,8 @@ int ventoy_get_vtoy_data(ventoy_disk *info, int *ppartstyle)
...
@@ -514,6 +514,8 @@ int ventoy_get_vtoy_data(ventoy_disk *info, int *ppartstyle)
vdebug
(
"ventoy partition layout check OK: [%llu %llu] [%llu %llu]
\n
"
,
vdebug
(
"ventoy partition layout check OK: [%llu %llu] [%llu %llu]
\n
"
,
part1_start_sector
,
part1_sector_count
,
part2_start_sector
,
part2_sector_count
);
part1_start_sector
,
part1_sector_count
,
part2_start_sector
,
part2_sector_count
);
vtoy
->
ventoy_valid
=
1
;
vdebug
(
"now check secure boot for %s ...
\n
"
,
info
->
disk_path
);
vdebug
(
"now check secure boot for %s ...
\n
"
,
info
->
disk_path
);
g_fatlib_media_fd
=
fd
;
g_fatlib_media_fd
=
fd
;
...
@@ -526,7 +528,6 @@ int ventoy_get_vtoy_data(ventoy_disk *info, int *ppartstyle)
...
@@ -526,7 +528,6 @@ int ventoy_get_vtoy_data(ventoy_disk *info, int *ppartstyle)
if
(
ret
==
0
&&
vtoy
->
ventoy_ver
[
0
])
if
(
ret
==
0
&&
vtoy
->
ventoy_ver
[
0
])
{
{
vtoy
->
secure_boot_flag
=
fatlib_is_secure_boot_enable
();
vtoy
->
secure_boot_flag
=
fatlib_is_secure_boot_enable
();
vtoy
->
ventoy_valid
=
1
;
}
}
else
else
{
{
...
@@ -542,6 +543,11 @@ int ventoy_get_vtoy_data(ventoy_disk *info, int *ppartstyle)
...
@@ -542,6 +543,11 @@ int ventoy_get_vtoy_data(ventoy_disk *info, int *ppartstyle)
g_fatlib_media_fd
=
-
1
;
g_fatlib_media_fd
=
-
1
;
g_fatlib_media_offset
=
0
;
g_fatlib_media_offset
=
0
;
if
(
vtoy
->
ventoy_ver
[
0
]
==
0
)
{
vtoy
->
ventoy_ver
[
0
]
=
'?'
;
}
if
(
0
==
vtoy
->
ventoy_valid
)
if
(
0
==
vtoy
->
ventoy_valid
)
{
{
goto
end
;
goto
end
;
...
...
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