| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 13,624
» Latest member: Santo
» Forum threads: 1,672
» Forum posts: 6,720
Full Statistics
|
| Online Users |
There are currently 509 online users. » 0 Member(s) | 505 Guest(s) Baidu, Bing, Google, Yandex
|
| Latest Threads |
Ventoy Linux still does n...
Forum: Ventoy Discussion Forum
Last Post: bahaedin
7 hours ago
» Replies: 1
» Views: 185
|
Ventoy installation for o...
Forum: Ventoy Discussion Forum
Last Post: FroggieTheGremlin
Yesterday, 01:09 PM
» Replies: 5
» Views: 270
|
Screen Resolution 800x600
Forum: Ventoy Discussion Forum
Last Post: fan_boy
10-20-2025, 08:32 PM
» Replies: 0
» Views: 138
|
Issues with windows vista...
Forum: Ventoy Discussion Forum
Last Post: johnson
10-19-2025, 04:10 PM
» Replies: 4
» Views: 10,723
|
Help $OEM$
Forum: Ventoy Discussion Forum
Last Post: venster
10-04-2025, 03:18 PM
» Replies: 2
» Views: 6,251
|
iso not working HP SSA Of...
Forum: Ventoy Discussion Forum
Last Post: rjc862003
09-30-2025, 02:02 AM
» Replies: 2
» Views: 8,561
|
Lost ISO partition
Forum: Ventoy Discussion Forum
Last Post: abba
09-29-2025, 12:05 PM
» Replies: 0
» Views: 955
|
Remove Version Number
Forum: Ventoy Discussion Forum
Last Post: XxJourdanYxX
09-26-2025, 06:42 AM
» Replies: 2
» Views: 9,185
|
Install Ventoy with a dat...
Forum: Ventoy Discussion Forum
Last Post: odie
09-25-2025, 03:14 PM
» Replies: 0
» Views: 1,324
|
big discussion on OpenSUS...
Forum: Ventoy Discussion Forum
Last Post: Dutchglory
09-21-2025, 12:44 AM
» Replies: 0
» Views: 2,817
|
|
|
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"
}
]
}
|
|
|
|