Coder Social home page Coder Social logo

vtoydump's Introduction

vtoydump

1. Introduction

This is a tool used with "Ventoy Compatible". See https://www.ventoy.net/en/compatible.html for detail.

2. Usage

For Linux: (must be run with root privileges)

vtoydump [ -lL ] [ -v ]  
    none   Only print ventoy runtime data  
    -l     Print ventoy runtime data and image location table  
    -L     Only print image location table (used to generate dmsetup table)  
    -v     Verbose, print additional debug info  

For Windows:

vtoydump.exe [ -m=[K/0xFFFF] ] [ -i filepath ] [ -v ]  
    none  Only print ventoy runtime data  
    -m    Mount the iso file (Not supported before Windows 8 and Windows Server 2012)  
    -i    Load .sys driver  
    -v    Verbose, print additional debug info 


Examples for -m option:
vtoydump.exe -m
Mount the iso file to any free drive letter

vtoydump.exe -m=Y
Mount the iso file to Y: drive

vtoydump.exe -m=0x7FFFF8
Select a free drive from D E F G H I J K L M N O P Q R S T U V W and use it to mount the ISO file.

3. Build From Source

For Linux:
Normally you can directly use the binraries in bin/linux directory (e.g. bin/linux/x86_64/vtoydump).
These binaries are static built version and should work for most distros.
Also you can build from source for your distro. Of course, gcc must be available before build.
Just run sh build.sh to build vtoydump.
If your OS is x86_64 then the output vtoydump is just for x86_64 architecture, so as for i386 and arm64.

For Windows:
Normally you can directly use the binraries in bin/windows directory (e.g. bin/windows/NT6/64/vtoydump.exe).
Also you can build from source for your distro. Of course, VisualStudio must be installed before build.
Just click the bat file (e.g. build64.bat) to build vtoydump.exe.

vtoydump's People

Contributors

a1ive avatar ventoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vtoydump's Issues

UEFI 32

good project !
but it doesn't boot with a 32bit uefi boot. some computers use it like asus transformer book or MacBook 2.1 (I don't know why). to boot with uefi 32 we need a file named "bootia32.efi" in the efi directory.

vtoydump does not report on kernel 6.1

It seems vtoydump does not work on kernel 6.1 (haven't tried 6.0) but on this one it says there is not ventoy environment or something similar. (the system was booted through Ventoy of course). Tried the same with 5.19 and it reports correctly the iso file and environment.

Legacy 模式启动的前提下,Windows 10 Version 2004 下 vtoydump 不按预期工作

检查发现和我构建的PE没关系。
Legacy 模式下,即便是在原版的安装镜像下手动调用命令提示符执行 vtoydump 也不会返回镜像路径。UEFI 模式下就可以正常返回路径。

手头暂时没有 Version 1903 / 1909 的安装镜像测试,但在 Version 1809 下执行同样的 vtoydump.exe 构建可以正常返回路径。

legacy
uefi

Documentation needs improvement

I am impressed with ventoy, less so with vtoydump.

It would be helpful in your readme if you stated that vtoydump has to be run with admin privileges. That would have saved me time scratching my head wondering why it did not work, i.e. sudo vtoydump.

In the git package there is a binary, vtoydump64. I have two custom isos, one built off ubuntu 18.04 (bionic) the other 20.04 (focal). sudo vtoydump64 worked in the focal iso, it did not in the bionic iso, vtoydump64: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28' not found (required by vtoydump64). Can I install a later version of libc6 in bionic - NO. If you are going to include binaries, a version built on older ubuntu/debian would be more helpful.

So I installed ubuntu 18.04 in a VM. Is there any documentation stating what packages are required to build using your build.sh script - NO. I guessed build-essential would probably be required, installed it. Ran script - error. It took some googling on the error to find out I also needed to install gcc-multilib. Did the script then run without error - NO. Looking at the build folder I have 32 and 64 bit versions of vtoydump, what is happening? More googling.

If you want to build both AMD and ARM versions of vtoydump in the same script you could at least have a menu:

  1. AMD version.
  2. ARM version.
  3. Both.
    Enter 1, 2 or 3:

and wrap the build code in a case or if statement. It is not difficult. Did the version of vtoydump built in bionic work in both my isos - YES.

You want devs to make their isos 'ventoy compatible' and ventoy is a good product, but being generous - your documentation and build script for vtoydump is sloppy. Want us to support ventoy, you need to improve.

All you have done here is leave one dev irritated.

vtoydump.exe 无法挂载含有中文路径的 ISO

如下图,使用 Hikari PE (Ventoy Compatible) 测试。
ISO 路径是 "/中文测试/Hikari_PE_X64_V8.2_R2_SC.iso",Ventoy 启动 PE 后无法挂载 ISO,vtoydump 取出的路径好像不对。
1
若路径改为 "/engtest/Hikari_PE_X64_V8.2_R2_SC.iso",则一切正常。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.