Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 12,270
» Latest member: dfleisch1
» Forum threads: 1,601
» Forum posts: 6,558
Full Statistics
|
Online Users |
There are currently 98 online users. » 0 Member(s) | 92 Guest(s) Applebot, Bing, Facebook, Google, Twitter, Yandex
|
Latest Threads |
i have ventoy usb with wi...
Forum: Ventoy Discussion Forum
Last Post: xzaswq
3 hours ago
» Replies: 0
» Views: 9
|
Ventoy service autostart ...
Forum: Ventoy Discussion Forum
Last Post: reyesryder
Yesterday, 09:26 AM
» Replies: 0
» Views: 105
|
About the low activity
Forum: Ventoy Discussion Forum
Last Post: Epictetus
11-20-2024, 11:32 PM
» Replies: 2
» Views: 778
|
Installation looks streak...
Forum: iVentoy Discussion Forum
Last Post: lvinuezav
11-20-2024, 10:11 PM
» Replies: 1
» Views: 606
|
Windows 11 24H2 installer...
Forum: Ventoy Discussion Forum
Last Post: DawnTreader
11-14-2024, 07:43 PM
» Replies: 5
» Views: 4,082
|
ventoy什么时候,能支持原生4K的U盘
Forum: Ventoy Discussion Forum
Last Post: pj1981618
11-12-2024, 09:11 AM
» Replies: 2
» Views: 2,382
|
Boot ISO from sata
Forum: Ventoy Discussion Forum
Last Post: jesudia
11-10-2024, 08:17 PM
» Replies: 0
» Views: 301
|
boot iso with ventoy: "n...
Forum: Ventoy Discussion Forum
Last Post: Dutchglory
11-08-2024, 01:55 PM
» Replies: 0
» Views: 363
|
vhdimg, does it work with...
Forum: Ventoy Discussion Forum
Last Post: asdffdsa1122
11-05-2024, 10:48 PM
» Replies: 0
» Views: 380
|
Ventoy enroll key manager...
Forum: Ventoy Discussion Forum
Last Post: Epictetus
10-25-2024, 11:09 PM
» Replies: 26
» Views: 13,615
|
|
|
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"
}
]
}
|
|
|
Fichier ISO bootables |
Posted by: danfranjo - 04-13-2022, 01:56 PM - Forum: Ventoy Discussion Forum
- Replies (4)
|
|
Hello to all of you,
I am using Ventoy and I like it a lot
The question I have is that I have many ISO files that are either CSM bootable or UEFI bootable
Is there a way to convert an CSM bootable file to an UEFI bootable file and vice versa ?
Thanks in advance
|
|
|
自定义菜单插件的问题, |
Posted by: edpcnet - 04-12-2022, 04:56 AM - Forum: Ventoy Plugin Forum
- No Replies
|
|
我是小白,请问各位大神,怎么把下面这段代码写进Ventoy的自定义菜单插件里去。
运行 绕过密码启动windows
map --mem /你的IMA放置目录/KONBOOT.ima (fd0)
地图 (hd0) (hd1)
地图 (hd1) (hd0)
地图——钩子
链式装载机 (fd0)+1
rootnoverify (fd0)
menuentry "我的自定义菜单" --class=custom {
echo '这是自定义菜单...'
sleep 1
}
submenu '我的自定义子菜单 -->' --class=customsub {
menuentry "我的自定义菜单2" --class= custom2 {
echo '这是自定义 menu2 ... '
sleep 1
}
menuentry '<-- 返回上一级菜单 [Esc]' --class=vtoyret VTOY_RET {
echo 'Return ...'
}
}
menuentry '<-- 返回到上一个菜单 [Esc]' --class=vtoyret VTOY_RET {
echo 'Return ...'
}
|
|
|
|