(03-06-2021, 10:50 AM)longpanda Wrote: Can you try another USB drive? @RafaelOf 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