Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 13,182
» Latest member: videonablyudeniemoskva.ru
» Forum threads: 1,653
» Forum posts: 6,665

Full Statistics

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

 
solved 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.

Print this item

  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?

Print this item

Heart Ventoy 1.0.74 release
Posted by: longpanda - 04-29-2022, 01:32 AM - Forum: Ventoy Discussion Forum - Replies (1)

  • 2022/04/28 --- 1.0.74 release
  1. Show the directory path in the return menu for TreeView mode and Browser mode.

  2. Fix a bug that Windows ISO in local disk can not install when boot through F2 browser mode in Legacy BIOS mode.

  3. Fix a bug when install Ventoy if the USB already mounted at a path which contains space.

  4. Fix the issue when booting customized CentOS7 with inst.ks=cdrom:/xxx boot parameter.

  5. Fix a bug for Linux GUI program when update from old release. (#1590)
  6. Fix the issue when booting Fedora with VTOY_LINUX_REMOUNT=1
  7. Fix the log and ini file owner attribute for VentoyGUI in linux.
  8. Fix the issue when booting Prime OS 2.1.0.
  9. Fix the issue when booting Euler OS V2
  10. Update languages.json
  11. Document: About USB hardware problem
  12. New ISO support (total 850+)

Print this item

  Can't Get There From Here
Posted by: greno - 04-28-2022, 06:40 PM - Forum: Ventoy Discussion Forum - Replies (7)

Ventoy newbie here.  Been reading Ventoy forum and many others for days.

Years ago I used something called USBoot to create a bootable Windows XP installation on a USB flash drive.
This worked extremely well since I went full time Linux starting around 2006.
But that was many laptops and hard drives ago.
I see now that it looks like USBoot has died.

So here's my current problem.  I have an HP dv7t-7000 notebook @2012 with a good Intel i7-3620MQ 8-thread CPU that I've upgraded over time to max memory 16GB.
The HDD in this machine has now died.  Taking with it my Windows 7 Home Prem and Fedora Linux installations. I have a backup of all my personal stuff so I'm not worried about that. I bought a new SSD drive and this time I'd like to do something like a USBoot USB for my Windows 7 Home Prem and then just have Linux on the SSD.  I haven't needed Windows except for a couple old programs like tax software and for my engine dyno simulation software and for things like BIOS flashing (damn HP for ever changing from DOS based to Windows based BIOS flashing but I digress).  So I still need it but not very often.

So right now I have no machines with Windows.  I do have Linux machines.  So how do I go about using Linux to create a Windows installation on USB that'll boot UEFI? 
As the title says, to me it looks like Can't Get There From Here. Sad

Print this item

  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?

Print this item

  无法正常启动
Posted by: gc孤晨 - 04-23-2022, 02:20 PM - Forum: Ventoy Plugin Forum - Replies (1)

U盘安装了软件以后,开机按启动热键就显示这个,该怎么办呢       Blush

Print this item

  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

Print this item

  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"
      }
    ]
}

Print this item

Question [ Feature request ] f2fs support
Posted by: jozefk - 04-17-2022, 07:58 PM - Forum: Ventoy Plugin Forum - No Replies

Hi! 
Was just thinking about asking if it would be possible and make sense to add f2fs to the list of supported file systems for the partition which is by default made to exFAT?
I tried to make it f2fs but it didn't work. 

Thanks!

Print this item

  能不能支持vmdk格式启动,现在是iso格式。
Posted by: 成千成万 - 04-15-2022, 01:37 AM - Forum: Ventoy Discussion Forum - No Replies

能不能支持vmdk格式启动,现在是iso格式。

Print this item