Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 338 online users. » 0 Member(s) | 335 Guest(s) Applebot, Bing, Google
|
Latest Threads |
Updating Windows on vhd i...
Forum: Ventoy Plugin Forum
Last Post: vcespon
06-15-2025, 01:11 PM
» Replies: 0
» Views: 78
|
VHD don't work
Forum: Ventoy Plugin Forum
Last Post: vcespon
06-15-2025, 12:54 PM
» Replies: 1
» Views: 914
|
plz update hardware info ...
Forum: Ventoy Discussion Forum
Last Post: kcs
06-09-2025, 02:57 PM
» Replies: 0
» Views: 286
|
gParted Live-ISO 1.7.0-1 ...
Forum: Ventoy Discussion Forum
Last Post: odie
06-06-2025, 11:55 AM
» Replies: 0
» Views: 340
|
请问是否支持Loongarch64架构的启动引导
Forum: Ventoy Discussion Forum
Last Post: zp1688
06-01-2025, 11:57 AM
» Replies: 5
» Views: 7,801
|
还是希望能有支持国芯架构的安排吧。
Forum: Ventoy Discussion Forum
Last Post: zp1688
06-01-2025, 11:56 AM
» Replies: 1
» Views: 1,322
|
能否让ventoy直接安装到硬盘和本机的系统形成双...
Forum: Ventoy Discussion Forum
Last Post: zp1688
06-01-2025, 11:55 AM
» Replies: 2
» Views: 1,969
|
Ventoy is genius!
Forum: Ventoy Discussion Forum
Last Post: Epictetus
05-28-2025, 12:56 AM
» Replies: 0
» Views: 549
|
安装vtoyboot后,grub启动项丢失
Forum: Ventoy Plugin Forum
Last Post: 1902550300
05-17-2025, 04:07 AM
» Replies: 0
» Views: 862
|
[Feature Request] WIM / V...
Forum: iVentoy Discussion Forum
Last Post: METALHEAD
05-14-2025, 05:19 PM
» Replies: 1
» Views: 1,243
|
|
|
How to find the flash drive in GRUB for a cat command? |
Posted by: grizzogor - 04-29-2022, 07:05 PM - Forum: Ventoy Discussion Forum
- Replies (2)
|
 |
Hi, I'm using Ventoy for a new recovery disk at my workplace's IT department.
On the extra GRUB menu (/ventoy/ventoy_grub.cfg), I have a menu item that runs a cat command to display what software versions are used on the disk. Currently the menu item entry is programmed like this: (some parts I've pulled from Ventoy's other partition under Linux, like vtInputKey)
Code: menuentry 'Read VERSIONS.txt' --class=F5tool {
cat (hd0,gpt1)/VERSIONS.txt
echo -e "\nPress ENTER to exit..."
read vtInputKey
}
This works on a majority of machines I've tested, a Microsoft Surface Pro 6, a VMware VM, and an HP envy laptop of unknown model. But on some machines, GRUB can't find the file listed. I theorize that the exFAT partition is mounted at a different path depending on the computer's configuration.
Is there a way to figure out where the exFAT partition is mounted, so that the cat command would work every time?
Thanks.
|
|
|
Problem With Two Monitors |
Posted by: Starkebogen - 04-29-2022, 06:32 AM - Forum: Ventoy Discussion Forum
- Replies (2)
|
 |
I started using Ventoy about two weeks ago. It has already been a great help to me. I built a Windows 10 Ventoy USB drive and added Hiren’s BootCD PE to it. This worked well on my two Windows 10 PCs (a desktop with two monitors and a laptop). It also worked on a friend’s PC.
About a week later I added the EaseUS Recovery iso to the Ventoy drive. On the desktop the new iso would not load and caused the system to hang. On the laptop it launched and ran successfully.
Over the next 24 hours I added two more iso files to the Ventoy drive: AOMEI PE and Macrium Reflect Rescue.
All the iso files operated successfully on the laptop, but on the desktop the iso file that is second alphabetically will not run. N.B. Changing the name of the problem iso file so that another file is second alphabetically transfers the problem to the file that is now second alphabetically. I suspect that the second monitor is the cause of the problem.
Has anyone else experienced this problem? Does anyone have any advice?
|
|
|
How to boot of a third btrfs partion on a usb drive |
Posted by: wolf2482#1639 - 04-25-2022, 02:04 AM - Forum: Ventoy Discussion Forum
- No Replies
|
 |
Ok I was wondering how could I install arch linux on to a third btrfs partion and have that as a boot option I assume it is possible because Ventoy uses grub but I don't know how. could anyone tell me what changes in the arch install process I would have to do. I have never messed with grub before so and I struggled installing on my pc and once I got it to work I have no idea why it worked. So anyway what resources would be useful for me to do this?
|
|
|
Linux updating shell script |
Posted by: johnca - 04-21-2022, 08:30 PM - Forum: Ventoy Discussion Forum
- No Replies
|
 |
Hello everyone.
Could we update the main scrip for terminal execution?
old scrip
Code: #!/bin/sh
OLDDIR=$(pwd)
if ! [ -f ./tool/ventoy_lib.sh ]; then
if [ -f ${0%Ventoy2Disk.sh}/tool/ventoy_lib.sh ]; then
cd ${0%Ventoy2Disk.sh}
fi
fi
if [ -f ./ventoy/version ]; then
curver=$(cat ./ventoy/version)
fi
if uname -m | egrep -q 'aarch64|arm64'; then
export TOOLDIR=aarch64
elif uname -m | egrep -q 'x86_64|amd64'; then
export TOOLDIR=x86_64
elif uname -m | egrep -q 'mips64'; then
export TOOLDIR=mips64el
else
export TOOLDIR=i386
fi
export PATH="./tool/$TOOLDIR:$PATH"
echo ''
echo '**********************************************'
echo " Ventoy: $curver $TOOLDIR"
echo " longpanda admin@ventoy.net"
echo " https://www.ventoy.net"
echo '**********************************************'
echo ''
if ! [ -f ./boot/boot.img ]; then
if [ -d ./grub ]; then
echo "Don't run Ventoy2Disk.sh here, please download the released install package, and run the script in it."
else
echo "Please run under the correct directory!"
fi
exit 1
fi
echo "############# Ventoy2Disk $* [$TOOLDIR] ################" >> ./log.txt
date >> ./log.txt
#decompress tool
echo "decompress tools" >> ./log.txt
cd ./tool/$TOOLDIR
ls *.xz > /dev/null 2>&1
if [ $? -eq 0 ]; then
[ -f ./xzcat ] && chmod +x ./xzcat
for file in $(ls *.xz); do
echo "decompress $file" >> ./log.txt
xzcat $file > ${file%.xz}
[ -f ./${file%.xz} ] && chmod +x ./${file%.xz}
[ -f ./$file ] && rm -f ./$file
done
fi
cd ../../
chmod +x -R ./tool/$TOOLDIR
if [ -f /bin/bash ]; then
/bin/bash ./tool/VentoyWorker.sh $*
else
ash ./tool/VentoyWorker.sh $*
fi
if [ -n "$OLDDIR" ]; then
CURDIR=$(pwd)
if [ "$CURDIR" != "$OLDDIR" ]; then
cd "$OLDDIR"
fi
fi
new scrip
Code: #!/bin/sh
OLDDIR=$(pwd)
if ! [ -f ./tool/ventoy_lib.sh ]; then
if [ -f ${0%Ventoy2Disk.sh}/tool/ventoy_lib.sh ]; then
cd ${0%Ventoy2Disk.sh}
fi
fi
if [ -f ./ventoy/version ]; then
curver=$(cat ./ventoy/version)
fi
if uname -m | egrep -q 'aarch64|arm64'; then
export TOOLDIR=aarch64
elif uname -m | egrep -q 'x86_64|amd64'; then
export TOOLDIR=x86_64
elif uname -m | egrep -q 'mips64'; then
export TOOLDIR=mips64el
else
export TOOLDIR=i386
fi
export PATH="./tool/$TOOLDIR:$PATH"
echo \
"
**********************************************
Ventoy: $curver $TOOLDIR
longpanda admin@ventoy.net
https://www.ventoy.net
**********************************************
$(lsblk)
==============================================
run: umount /dev/sdX*
if necesary
"
if ! [ -f ./boot/boot.img ]; then
if [ -d ./grub ]; then
echo "Don't run Ventoy2Disk.sh here, please download the released install package, and run the script in it."
else
echo "Please run under the correct directory!"
fi
exit 1
fi
echo "############# Ventoy2Disk $* [$TOOLDIR] ################" >> ./log.txt
date >> ./log.txt
#decompress tool
echo "decompress tools" >> ./log.txt
cd ./tool/$TOOLDIR
ls *.xz > /dev/null 2>&1
if [ $? -eq 0 ]; then
[ -f ./xzcat ] && chmod +x ./xzcat
for file in $(ls *.xz); do
echo "decompress $file" >> ./log.txt
xzcat $file > ${file%.xz}
[ -f ./${file%.xz} ] && chmod +x ./${file%.xz}
[ -f ./$file ] && rm -f ./$file
done
fi
cd ../../
chmod +x -R ./tool/$TOOLDIR
if [ -f /bin/bash ]; then
/bin/bash ./tool/VentoyWorker.sh $*
else
ash ./tool/VentoyWorker.sh $*
fi
if [ -n "$OLDDIR" ]; then
CURDIR=$(pwd)
if [ "$CURDIR" != "$OLDDIR" ]; then
cd "$OLDDIR"
fi
fi
|
|
|
Ventoy Boot Conf Replace Plugin - improvement ? |
Posted by: fuse59 - 04-20-2022, 07:41 AM - Forum: Ventoy Plugin Forum
- Replies (1)
|
 |
Hello !
Is it possible in a future version for the same linux iso to replace several files ?
Code: {
"conf_replace": [
{
"iso": "/iso/clonezilla-live-2.8.1-12-amd64.iso",
"org1": "/boot/grub/grub.cfg",
"new1": "/path/new-grub.cfg",
"org2": "/boot/grub/ocswp-grub2.png",
"new2": "/path/new-logo.png"
}
]
}
|
|
|
|