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
a1299967
Commit
a1299967
authored
Jan 21, 2021
by
longpanda
Browse files
1.0.33 release
parent
8632e565
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
103 deletions
+15
-103
IMG/cpio/ventoy/hook/debian/360-disk.sh
IMG/cpio/ventoy/hook/debian/360-disk.sh
+0
-58
IMG/cpio/ventoy/hook/debian/360-switch-root.sh
IMG/cpio/ventoy/hook/debian/360-switch-root.sh
+0
-29
IMG/cpio/ventoy/hook/debian/puppy-hook.sh
IMG/cpio/ventoy/hook/debian/puppy-hook.sh
+3
-12
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+10
-2
INSTALL/ventoy/ventoy.cpio
INSTALL/ventoy/ventoy.cpio
+0
-0
INSTALL/ventoy/vtloopex.cpio
INSTALL/ventoy/vtloopex.cpio
+0
-0
README.md
README.md
+2
-2
No files found.
IMG/cpio/ventoy/hook/debian/360-disk.sh
deleted
100644 → 0
View file @
8632e565
#!/ventoy/busybox/sh
#************************************************************************************
# Copyright (c) 2020, longpanda <admin@ventoy.net>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
#************************************************************************************
.
/ventoy/hook/ventoy-hook-lib.sh
if
is_ventoy_hook_finished
;
then
exit
0
fi
vtlog
"#######
$0
$*
########"
VTPATH_OLD
=
$PATH
;
PATH
=
$BUSYBOX_PATH
:
$VTOY_PATH
/tool:
$PATH
wait_for_usb_disk_ready
vtdiskname
=
$(
get_ventoy_disk_name
)
if
[
"
$vtdiskname
"
=
"unknown"
]
;
then
vtlog
"ventoy disk not found"
PATH
=
$VTPATH_OLD
exit
0
fi
vtlog
"fuse
$*
"
mkdir
-p
$VTOY_PATH
/mnt/fuse
$VTOY_PATH
/mnt/iso
vtoydm
-p
-f
$VTOY_PATH
/ventoy_image_map
-d
$vtdiskname
>
$VTOY_PATH
/ventoy_dm_table
vtoy_fuse_iso
-f
$VTOY_PATH
/ventoy_dm_table
-m
$VTOY_PATH
/mnt/fuse
mount
-t
iso9660
$VTOY_PATH
/mnt/fuse/ventoy.iso
$VTOY_PATH
/mnt/iso
rm
-f
/puppy.sfs
echo
-e
"
\n\\
033[1;35mCopying to ram ...
\\
033[0;39m"
>
/dev/console
[
-d
$VTOY_PATH
/mnt/iso/360Disk
]
&&
cp
-a
$VTOY_PATH
/mnt/iso/360Disk
$VTOY_PATH
/
[
-e
$VTOY_PATH
/360Disk/puppy.sfs
]
&&
mv
$VTOY_PATH
/360Disk/puppy.sfs /puppy.sfs
umount
$VTOY_PATH
/mnt/iso
umount
$VTOY_PATH
/mnt/fuse
PATH
=
$VTPATH_OLD
set_ventoy_hook_finish
IMG/cpio/ventoy/hook/debian/360-switch-root.sh
deleted
100644 → 0
View file @
8632e565
#!/ventoy/busybox/sh
#************************************************************************************
# Copyright (c) 2020, longpanda <admin@ventoy.net>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
#************************************************************************************
.
/ventoy/hook/ventoy-hook-lib.sh
VTPATH_OLD
=
$PATH
;
PATH
=
$BUSYBOX_PATH
:
$VTOY_PATH
/tool:
$PATH
mkdir
-p
/pup_new/mnt/sdz
mv
$VTOY_PATH
/360Disk /pup_new/mnt/sdz/
[
-f
/pup_new/root/scripts/cd_plugin
]
&&
echo
"/root/scripts/cd_plugin sdz"
>>
/pup_new/etc/rc.d/rc.local
PATH
=
$VTPATH_OLD
IMG/cpio/ventoy/hook/debian/puppy-hook.sh
View file @
a1299967
...
@@ -17,18 +17,9 @@
...
@@ -17,18 +17,9 @@
#
#
#************************************************************************************
#************************************************************************************
if
$GREP
-q
'^ *HAVE_PARTS='
/init
;
then
$SED
'1 apmedia=usbhd'
-i
/init
$SED
'1 apmedia=usbhd'
-i
/init
$SED
"/^ *HAVE_PARTS=/a
\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/debian/puppy-disk.sh"
-i
/init
$SED
"/^ *HAVE_PARTS=/a
\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/debian/puppy-disk.sh"
-i
/init
$SED
"/^ *HAVE_PARTS=/a
\
HAVE_PARTS='ventoy|iso9660'"
-i
/init
$SED
"/^ *HAVE_PARTS=/a
\
HAVE_PARTS='ventoy|iso9660'"
-i
/init
fi
#360UDisk
if
[
-e
/360anim
]
;
then
$BUSYBOX_PATH
/touch /puppy.sfs
$SED
"/if *.*flag-usb-ready/i
\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/debian/360-disk.sh"
-i
/init
$SED
"/^exec *switch_root/i
\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/debian/360-switch-root.sh"
-i
/init
fi
if
[
-f
/DISTRO_SPECS
]
;
then
if
[
-f
/DISTRO_SPECS
]
;
then
if
!
[
-d
/dev
]
;
then
if
!
[
-d
/dev
]
;
then
...
...
INSTALL/grub/grub.cfg
View file @
a1299967
...
@@ -622,6 +622,12 @@ function uefi_linux_menu_func {
...
@@ -622,6 +622,12 @@ function uefi_linux_menu_func {
vt_linux_chain_data "${1}${chosen_path}"
vt_linux_chain_data "${1}${chosen_path}"
if [ -n "$LoadIsoEfiDriver" -a $vt_chosen_size -lt 104857600 ]; then
if [ -f (loop)/efi/clover/cloverx64.efi ]; then
unset LoadIsoEfiDriver
fi
fi
if [ -n "$vtoy_chain_mem_addr" ]; then
if [ -n "$vtoy_chain_mem_addr" ]; then
ventoy_acpi_param ${vtoy_chain_mem_addr} 2048
ventoy_acpi_param ${vtoy_chain_mem_addr} 2048
ventoy_cli_console
ventoy_cli_console
...
@@ -946,7 +952,9 @@ function ventoy_iso_busybox_ver {
...
@@ -946,7 +952,9 @@ function ventoy_iso_busybox_ver {
set ventoy_busybox_ver=64
set ventoy_busybox_ver=64
elif vt_str_begin "$vt_volume_id" "smgl-test-quinq-x86_64"; then
elif vt_str_begin "$vt_volume_id" "smgl-test-quinq-x86_64"; then
set ventoy_busybox_ver=64
set ventoy_busybox_ver=64
elif vt_str_begin "$vt_volume_id" "LDiagBootable"; then
set ventoy_busybox_ver=64
fi
fi
fi
fi
}
}
...
@@ -1476,7 +1484,7 @@ function img_unsupport_menuentry {
...
@@ -1476,7 +1484,7 @@ function img_unsupport_menuentry {
#############################################################
#############################################################
#############################################################
#############################################################
set VENTOY_VERSION="1.0.3
2
"
set VENTOY_VERSION="1.0.3
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
...
...
INSTALL/ventoy/ventoy.cpio
View file @
a1299967
No preview for this file type
INSTALL/ventoy/vtloopex.cpio
View file @
a1299967
No preview for this file type
README.md
View file @
a1299967
...
@@ -16,7 +16,7 @@ You can copy many image files at a time and ventoy will give you a boot menu to
...
@@ -16,7 +16,7 @@ You can copy many image files at a time and ventoy will give you a boot menu to
x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI and ARM64 UEFI are supported in the same way.
<br/>
x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI and ARM64 UEFI are supported in the same way.
<br/>
Both MBR and GPT partition style are supported in the same way.
<br/>
Both MBR and GPT partition style are supported in the same way.
<br/>
Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...)
<br/>
Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...)
<br/>
6
0
0+ ISO files are tested. 90%+ distros in distrowatch.com supported.
<br/>
6
1
0+ ISO files are tested. 90%+ distros in distrowatch.com supported.
<br/>
</h4>
</h4>
# Features
# Features
...
@@ -35,7 +35,7 @@ Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...) <br/>
...
@@ -35,7 +35,7 @@ Most type of OS supported(Windows/WinPE/Linux/Unix/Vmware/Xen...) <br/>
*
FAT32/exFAT/NTFS/UDF/XFS/Ext2(3)(4) supported for main partition
*
FAT32/exFAT/NTFS/UDF/XFS/Ext2(3)(4) supported for main partition
*
ISO files larger than 4GB supported
*
ISO files larger than 4GB supported
*
Native boot menu style for Legacy & UEFI
*
Native boot menu style for Legacy & UEFI
*
Most type of OS supported, 6
0
0+ iso files tested
*
Most type of OS supported, 6
1
0+ iso files tested
*
Linux vDisk boot supported
*
Linux vDisk boot supported
*
Not only boot but also complete installation process
*
Not only boot but also complete installation process
*
Menu dynamically switchable between List/TreeView mode
*
Menu dynamically switchable between List/TreeView mode
...
...
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