Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ventoy 1.0.36 release (Linux GUI)
#1
  • 2021/02/27 --- 1.0.36 release
  1. Experimental Linux GUI based on web browser. Notes

  2. Align the partitions with 4KB by default when install Ventoy. (improvement for performance and Legacy BIOS compatibility)

  3. Add a ? icon to identify secure boot option in Ventoy2Disk.exe.

  4. Add Show All Devices option in Ventoy2Disk.exe.

  5. Ventoy2Disk.exe doesn't check partition active flag anymore.
  6. Optimization for Ventoy2Disk.sh
  7. languages.ini update
  8. Add support for nbd device in Ventoy2Disk.sh (PR #746)

[Image: webui_en.png]
Reply
#2
Arrow Thanks, thread 'sticked' until next release.
Reply
#3
go go ventoy Smile
Reply
#4
Reply
#5
(02-28-2021, 07:50 AM)nguyen ha thai trong Wrote:

I have no plan to develop ventoy file manager.
Ventoy was designed to work with its disk layout from the beginning.
So all the source files and script files don't support for boot ISO files in other disk.
Maybe some iso files can boot fine, but definitely most other iso files can not boot fine.
Too many places in the source code are hard coded with the disk partition layout.
So there are too many places in the .c .h .sh need to modify to make Ventoy to support boot ISO files in other disks.

It's not very hard to make a grub2 menu system for the disks and partitions.
But it's huge workload to make ventoy work in such mode.
Reply
#6
Not working. Error each time I try to install ventoy.
I got to install thru console.

Log text is always this:


Code:
[0121/02/06 10:01:18] ==================================================================================
[0121/02/06 10:01:18] ===== ventoy install /dev/sdi style:MBR secureboot:0 align4K:1 reserve:0 =========
[0121/02/06 10:01:18] ==================================================================================
[0121/02/06 10:01:18] disk is not mounted now, we can do the install ...
[0121/02/06 10:01:18] start install thread VendorCo ProductCode (USB) ...
[0121/02/06 10:01:18] ventoy_install_thread run ...
[0121/02/06 10:01:18] check disk sdi
[0121/02/06 10:01:18] disk is not mounted now, we can do continue ...
[0121/02/06 10:01:18] ventoy_clean_disk fd:5 size:31981568000
[0121/02/06 10:01:18] write disk at off:0 writelen:65536 datalen:65536
[0121/02/06 10:01:18] write disk at off:31981502464 writelen:65536 datalen:65536
[0121/02/06 10:01:18] read core.img.xz rc:0 len:455184
[0121/02/06 10:01:18] ventoy_unxz_stg1_img len:455184 rc:0
[0121/02/06 10:01:18] read disk.img.xz rc:0 len:9877464
[0121/02/06 10:01:19] ventoy_unxz_efipart_img len:9877464 rc:0 unxzlen:33554432
[0121/02/06 10:01:19] Fill MBR part table
[0121/02/06 10:01:19] Disk signature: 0x4017f8c7
[0121/02/06 10:01:19] no need to align with 4KB
[0121/02/06 10:01:19] ReservedSector: 0
[0121/02/06 10:01:19] Part1StartSector:2048 Part1SectorCount:62396416 Part2StartSector:62398464
[0121/02/06 10:01:19] Formatting part1 exFAT /dev/sdi ...
[0121/02/06 10:01:19] Creating...
[0121/02/06 10:01:19] Flushing...
[0121/02/06 10:01:20] Formatting part2 EFI ...
[0121/02/06 10:01:20] Formatting part2 EFI offset:31948013568 ...
[0121/02/06 10:01:20] VentoyProcSecureBoot 0 ...
[0121/02/06 10:01:20] Open ventoy efi file 0x634ae0
[0121/02/06 10:01:20] ventoy efi file size 1597440 ...
[0121/02/06 10:01:20] Now delete all efi files ...
[0121/02/06 10:01:20] Open bootx64 efi file 0x634ae0
[0121/02/06 10:01:20] Open ventoy efi file 0x634f30
[0121/02/06 10:01:20] ventoy efi file size 1089536 ...
[0121/02/06 10:01:20] Now delete all efi files ...
[0121/02/06 10:01:20] Open bootia32 efi file 0x634ae0
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 10:01:20] Writing legacy grub ...
[0121/02/06 10:01:20] Write MBR stage1 ...
[0121/02/06 10:01:20] lseek offset:512(512) writelen:1048064(1048064)
[0121/02/06 10:01:20] fsync data1...
[0121/02/06 10:01:29] Checking part2 efi data /dev/sdi ...
[0121/02/06 10:01:31] part2 data check failed i=31 len:1048576
[0121/02/06 10:01:31] efi part data check failed
[0121/02/06 10:07:31] ventoy server exit due to signal ...
Reply
#7
Can you try another USB drive? @Rafael
Reply
#8
Sad 
(03-06-2021, 10:50 AM)longpanda Wrote: Can you try another USB drive? @Rafael
Of course. Well, this is well I tested:
- Older 1,2 and 8 GB --> All fine
- Just brand new 32 and 128 GB --> End with a failure ("An error happened while installing. You can reconnect USB and try again ....")

Is maybe related to USB size?

Update: I got an older 32GB USB, and no problems, so issue is not size related 

This is the log generated when formatting the 128GB USB pen:

Code:
[0121/02/06 21:46:10] ventoy_disk_enumerate_all
[0121/02/06 21:46:10] get disk info sdf
[0121/02/06 21:46:10] get disk size from sysfs for sdf
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sdf
[0121/02/06 21:46:10] disk /dev/sdf is too small 0
[0121/02/06 21:46:10] disk:</dev/sdf 8:80> model:<Generic STORAGE DEVICE (USB)> size:0 (0 GB)
[0121/02/06 21:46:10] /dev/sdf NO Ventoy detected
[0121/02/06 21:46:10] get disk info nvme0n1
[0121/02/06 21:46:10] get disk size from sysfs for nvme0n1
[0121/02/06 21:46:10] /sys/block/nvme0n1/device/vendor not exist
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/nvme0n1
[0121/02/06 21:46:10] Invalid efi part2 name <Microsoft reserved partition>
[0121/02/06 21:46:10] disk:</dev/nvme0n1 259:0> model:< WDS250G2X0C-00L350 (nvme)> size:250059350016 (256 GB)
[0121/02/06 21:46:10] /dev/nvme0n1 NO Ventoy detected
[0121/02/06 21:46:10] get disk info sdd
[0121/02/06 21:46:10] get disk size from sysfs for sdd
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sdd
[0121/02/06 21:46:10] disk /dev/sdd is too small 0
[0121/02/06 21:46:10] disk:</dev/sdd 8:48> model:<Generic STORAGE DEVICE (USB)> size:0 (0 GB)
[0121/02/06 21:46:10] /dev/sdd NO Ventoy detected
[0121/02/06 21:46:10] get disk info sdb
[0121/02/06 21:46:10] get disk size from sysfs for sdb
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sdb
[0121/02/06 21:46:10] Invalid efi part2 name <Intercambio>
[0121/02/06 21:46:10] disk:</dev/sdb 8:16> model:<ATA TOSHIBA HDWD120 (scsi)> size:2000398934016 (2048 GB)
[0121/02/06 21:46:10] /dev/sdb NO Ventoy detected
[0121/02/06 21:46:10] get disk info sdi
[0121/02/06 21:46:10] get disk size from sysfs for sdi
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sdi
[0121/02/06 21:46:10] Invalid mbr magic 0x0 0x0
[0121/02/06 21:46:10] disk:</dev/sdi 8:128> model:<VendorCo ProductCode (USB)> size:127926272000 (128 GB)
[0121/02/06 21:46:10] /dev/sdi NO Ventoy detected
[0121/02/06 21:46:10] get disk info sdg
[0121/02/06 21:46:10] get disk size from sysfs for sdg
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sdg
[0121/02/06 21:46:10] disk /dev/sdg is too small 0
[0121/02/06 21:46:10] disk:</dev/sdg 8:96> model:<Generic STORAGE DEVICE (USB)> size:0 (0 GB)
[0121/02/06 21:46:10] /dev/sdg NO Ventoy detected
[0121/02/06 21:46:10] get disk info sde
[0121/02/06 21:46:10] get disk size from sysfs for sde
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sde
[0121/02/06 21:46:10] Not valid ventoy partition layout [63 3911617] [0 0]
[0121/02/06 21:46:10] disk:</dev/sde 8:64> model:<Generic STORAGE DEVICE (USB)> size:2002780160 (2 GB)
[0121/02/06 21:46:10] /dev/sde NO Ventoy detected
[0121/02/06 21:46:10] get disk info sdc
[0121/02/06 21:46:10] get disk size from sysfs for sdc
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sdc
[0121/02/06 21:46:10] disk /dev/sdc is too small 0
[0121/02/06 21:46:10] disk:</dev/sdc 8:32> model:<Generic STORAGE DEVICE (USB)> size:0 (0 GB)
[0121/02/06 21:46:10] /dev/sdc NO Ventoy detected
[0121/02/06 21:46:10] get disk info sda
[0121/02/06 21:46:10] get disk size from sysfs for sda
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sda
[0121/02/06 21:46:10] Not valid ventoy partition layout [2048 976771120] [0 0]
[0121/02/06 21:46:10] disk:</dev/sda 8:0> model:<ATA TOSHIBA DT01ACA0 (scsi)> size:500107862016 (512 GB)
[0121/02/06 21:46:10] /dev/sda NO Ventoy detected
[0121/02/06 21:46:10] get disk info sdh
[0121/02/06 21:46:10] get disk size from sysfs for sdh
[0121/02/06 21:46:10] ventoy_get_vtoy_data /dev/sdh
[0121/02/06 21:46:10] disk /dev/sdh is too small 0
[0121/02/06 21:46:10] disk:</dev/sdh 8:112> model:<Generic Ultra HS-SD/MMC (USB)> size:0 (0 GB)
[0121/02/06 21:46:10] /dev/sdh NO Ventoy detected
[0121/02/06 21:46:33] ==================================================================================
[0121/02/06 21:46:33] ===== ventoy install /dev/sdi style:MBR secureboot:0 align4K:1 reserve:0 =========
[0121/02/06 21:46:33] ==================================================================================
[0121/02/06 21:46:33] disk is not mounted now, we can do the install ...
[0121/02/06 21:46:33] start install thread VendorCo ProductCode (USB) ...
[0121/02/06 21:46:33] ventoy_install_thread run ...
[0121/02/06 21:46:33] check disk sdi
[0121/02/06 21:46:33] disk is not mounted now, we can do continue ...
[0121/02/06 21:46:33] ventoy_clean_disk fd:5 size:127926272000
[0121/02/06 21:46:33] write disk at off:0 writelen:65536 datalen:65536
[0121/02/06 21:46:33] write disk at off:127926206464 writelen:65536 datalen:65536
[0121/02/06 21:46:33] read core.img.xz rc:0 len:455184
[0121/02/06 21:46:33] ventoy_unxz_stg1_img len:455184 rc:0
[0121/02/06 21:46:33] read disk.img.xz rc:0 len:9877464
[0121/02/06 21:46:33] ventoy_unxz_efipart_img len:9877464 rc:0 unxzlen:33554432
[0121/02/06 21:46:33] Fill MBR part table
[0121/02/06 21:46:33] Disk signature: 0x90962a5d
[0121/02/06 21:46:33] no need to align with 4KB
[0121/02/06 21:46:33] ReservedSector: 0
[0121/02/06 21:46:33] Part1StartSector:2048 Part1SectorCount:249788416 Part2StartSector:249790464
[0121/02/06 21:46:33] Formatting part1 exFAT /dev/sdi ...
[0121/02/06 21:46:33] Creating...
[0121/02/06 21:46:33] Flushing...
[0121/02/06 21:46:41] Formatting part2 EFI ...
[0121/02/06 21:46:41] Formatting part2 EFI offset:127892717568 ...
[0121/02/06 21:46:41] VentoyProcSecureBoot 0 ...
[0121/02/06 21:46:41] Open ventoy efi file 0x634ae0
[0121/02/06 21:46:41] ventoy efi file size 1597440 ...
[0121/02/06 21:46:41] Now delete all efi files ...
[0121/02/06 21:46:41] Open bootx64 efi file 0x634ae0
[0121/02/06 21:46:41] Open ventoy efi file 0x634f30
[0121/02/06 21:46:41] ventoy efi file size 1089536 ...
[0121/02/06 21:46:41] Now delete all efi files ...
[0121/02/06 21:46:41] Open bootia32 efi file 0x634ae0
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] write disk writelen:1048576 datalen:1048576 [ success ]
[0121/02/06 21:46:41] Writing legacy grub ...
[0121/02/06 21:46:41] Write MBR stage1 ...
[0121/02/06 21:46:41] lseek offset:512(512) writelen:1048064(1048064)
[0121/02/06 21:46:41] fsync data1...
[0121/02/06 21:46:53] Checking part2 efi data /dev/sdi ...
[0121/02/06 21:46:56] part2 data check failed i=0 len:1048576
[0121/02/06 21:46:56] efi part data check failed
Reply
#9
More info:
I tried same (I insist, brand new, but not from know manufacturers) from Windows with same 2 USB pens (32 and 128GB respectively). It seemed all worked fine. Process finished without errors. I even copied some ISOs. However, when trying to boot from that sticks, always ended with GRUB console. I tried again (from Windows) to install Ventoy newly in these sticks and I discovered that Ventoy didn't detect any Ventoy installed on these (both) sticks.

I reinstalled Ventoy on both sticks and, again, when I refreshed (clicking on "Refresh" button), Ventoy interface didn't detect the just recently installed Ventoy version. Any version. Like if Ventoy were not installed.

What's happening with this USB sticks?
Reply
#10
(03-07-2021, 12:39 AM)Rafael Wrote: More info:
I tried same (I insist, brand new, but not from know manufacturers) from Windows with same 2 USB pens (32 and 128GB respectively). It seemed all worked fine. Process finished without errors. I even copied some ISOs. However, when trying to boot from that sticks, always ended with GRUB console. I tried again (from Windows) to install Ventoy newly in these sticks and I discovered that Ventoy didn't detect any Ventoy installed on these (both) sticks.

I reinstalled Ventoy on both sticks and, again, when I refreshed (clicking on "Refresh" button), Ventoy interface didn't detect the just recently installed Ventoy version. Any version. Like if Ventoy were not installed.

What's happening with this USB sticks?

I think there maybe some hardware problem with the USB drive, please refer:
https://github.com/ventoy/Ventoy/issues/689
https://github.com/ventoy/Ventoy/issues/695
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)