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
22ad828d
Commit
22ad828d
authored
Dec 18, 2022
by
longpanda
Browse files
1.0.85 release
parent
83f22173
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
1 deletion
+18
-1
INSTALL/EFI/BOOT/grubx64.efi
INSTALL/EFI/BOOT/grubx64.efi
+0
-0
INSTALL/Ventoy2Disk.exe
INSTALL/Ventoy2Disk.exe
+0
-0
INSTALL/Ventoy2Disk_ARM.exe
INSTALL/Ventoy2Disk_ARM.exe
+0
-0
INSTALL/Ventoy2Disk_ARM64.exe
INSTALL/Ventoy2Disk_ARM64.exe
+0
-0
INSTALL/Ventoy2Disk_X64.exe
INSTALL/Ventoy2Disk_X64.exe
+0
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+1
-1
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
+17
-0
No files found.
INSTALL/EFI/BOOT/grubx64.efi
deleted
100644 → 0
View file @
83f22173
File deleted
INSTALL/Ventoy2Disk.exe
View file @
22ad828d
No preview for this file type
INSTALL/Ventoy2Disk_ARM.exe
View file @
22ad828d
No preview for this file type
INSTALL/Ventoy2Disk_ARM64.exe
View file @
22ad828d
No preview for this file type
INSTALL/Ventoy2Disk_X64.exe
View file @
22ad828d
No preview for this file type
INSTALL/grub/grub.cfg
View file @
22ad828d
...
@@ -2397,7 +2397,7 @@ function mimg_common_menuentry {
...
@@ -2397,7 +2397,7 @@ function mimg_common_menuentry {
#############################################################
#############################################################
#############################################################
#############################################################
set VENTOY_VERSION="1.0.8
4
"
set VENTOY_VERSION="1.0.8
5
"
#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
...
...
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
View file @
22ad828d
...
@@ -1750,6 +1750,7 @@ int InstallVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive, int PartStyle, int TryId)
...
@@ -1750,6 +1750,7 @@ int InstallVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive, int PartStyle, int TryId)
UINT64
Part1SectorCount
=
0
;
UINT64
Part1SectorCount
=
0
;
UINT64
Part2StartSector
=
0
;
UINT64
Part2StartSector
=
0
;
BOOL
LargeFAT32
=
FALSE
;
BOOL
LargeFAT32
=
FALSE
;
BOOL
DefaultExFAT
=
FALSE
;
Log
(
"#####################################################"
);
Log
(
"#####################################################"
);
Log
(
"InstallVentoy2PhyDrive try%d %s PhyDrive%d <<%s %s %dGB>>"
,
TryId
,
Log
(
"InstallVentoy2PhyDrive try%d %s PhyDrive%d <<%s %s %dGB>>"
,
TryId
,
...
@@ -1862,6 +1863,17 @@ int InstallVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive, int PartStyle, int TryId)
...
@@ -1862,6 +1863,17 @@ int InstallVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive, int PartStyle, int TryId)
goto
End
;
goto
End
;
}
}
}
}
else
if
(
GetVentoyFsType
()
==
VTOY_FS_EXFAT
&&
GetClusterSize
()
==
0
)
{
Log
(
"Formatting part1 exFAT ..."
);
DefaultExFAT
=
TRUE
;
if
(
0
!=
FormatPart1exFAT
(
pPhyDrive
->
SizeInBytes
))
{
Log
(
"FormatPart1exFAT failed."
);
rc
=
1
;
goto
End
;
}
}
else
else
{
{
Log
(
"Zero part1 file system ..."
);
Log
(
"Zero part1 file system ..."
);
...
@@ -2008,6 +2020,11 @@ End:
...
@@ -2008,6 +2020,11 @@ End:
Log
(
"No need to reformat for large FAT32"
);
Log
(
"No need to reformat for large FAT32"
);
pPhyDrive
->
VentoyFsClusterSize
=
GetVolumeClusterSize
(
MountDrive
);
pPhyDrive
->
VentoyFsClusterSize
=
GetVolumeClusterSize
(
MountDrive
);
}
}
else
if
(
DefaultExFAT
)
{
Log
(
"No need to reformat for default exfat"
);
pPhyDrive
->
VentoyFsClusterSize
=
GetVolumeClusterSize
(
MountDrive
);
}
else
else
{
{
bRet
=
DISK_FormatVolume
(
MountDrive
,
GetVentoyFsType
(),
Part1SectorCount
*
512
);
bRet
=
DISK_FormatVolume
(
MountDrive
,
GetVentoyFsType
(),
Part1SectorCount
*
512
);
...
...
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