ventoy / Ventoy

A new bootable USB solution.
https://www.ventoy.net
GNU General Public License v3.0
61.62k stars 4.01k forks source link

Usb becoming read-only #1486

Closed tree-t closed 2 years ago

tree-t commented 2 years ago

Official FAQ

Ventoy Version

1.0.70

What about latest release

No. I didn't try the latest release.

BIOS Mode

Legacy BIOS Mode

Partition Style

MBR

Disk Capacity

4.1GB

Disk Manufacturer

Don't know

Image file checksum (if applicable)

No.

Image file download link (if applicable)

No response

What happened?

Hello everyone, When I was using a disk using Ventoy, I suddenly noted(before that, the previous two boots were wierd, in one the display was blank and in the second one, the grub bootloader could be seen without the ventoy beautifications), that the disk had become read-only. Even in linux(Slax 11.2.0 & Fossadog) the disk showed itself as read-only, but in Windows 7 using diskpart I found out that the current read-only state was set to yes, whereas read-only was set to no. I tried using etchdroid in Android [as rufus, ventoy and chk failed in windows and gparted failed in linux(Fossadog)], but it said that the drive was not properly connected (even though some other apps did recognise it properly, but they could only copy data from usb). Can anybody please help me?

tree-t commented 2 years ago

Edit: 1 This is what I get when I use diskpart: Capture

Thank you in advance.

ventoy commented 2 years ago

Open Ventoy2Disk.exe and upload the log.txt here.

tree-t commented 2 years ago

Hello, Sorry for a late answer, as I had removed ventoy from windows 7 after deployment, so I have installed a fresh copy of it and tried both install and update options, but none of them appear to work. Here is ventoy-1.0.70/log.txt log.txt And how it looks from inside(maybe you wanted it this way):

[2022/03/04 09:42:49.223] ################################################################################## ######################### Ventoy2DiskX86 1.0.0.3 (1.0.70) ######################### ################################################################################## [2022/03/04 09:42:49.239] Current directory: [2022/03/04 09:42:49.254] id=3332/1760 [2022/03/04 09:42:49.270] PPath:<C:\Windows\explorer.exe> [2022/03/04 09:42:49.270] PSize:<2616320 2555KB> [2022/03/04 09:42:49.286] Lunch main process 0 [2022/03/04 09:42:49.286] Control Flag: 0 1 1 [2022/03/04 09:42:49.301] Windows Version: <<Windows 7 SP1 32 bit>> [2022/03/04 09:42:49.317] ===================== Enum All PhyDrives ===================== [2022/03/04 09:42:49.332] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0 [2022/03/04 09:42:49.348] RegQueryValueExA ret:0 Size:4 Value:1 [2022/03/04 09:42:49.364] GetPhysicalDriveCount: 1 [2022/03/04 09:42:49.364] Logical Drives: 0x1c [2022/03/04 09:42:49.379] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:42:49.395] C --> 0 [2022/03/04 09:42:49.410] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:42:49.410] D --> -1 [2022/03/04 09:42:49.426] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:42:49.442] E --> 0 [2022/03/04 09:42:49.442] Create file Handle:00000074 \.\PhysicalDrive0 status:0 [2022/03/04 09:42:49.457] PHYSICALDRIVE0 size 160041885696 bytes [2022/03/04 09:42:49.473] PhyDrv:0 BusType:SATA Removable:0 Size:160GB(160041885696) Name: FUJITSU MHZ2160BH G2 [2022/03/04 09:42:49.473] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:42:49.488] Logical Drive:C ===> PhyDrive:0 [2022/03/04 09:42:49.504] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:42:49.520] Logical Drive:D ===> PhyDrive:-1 [2022/03/04 09:42:49.520] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:42:49.535] Logical Drive:E ===> PhyDrive:0 [2022/03/04 09:42:49.551] < FUJITSU MHZ2160BH G2> is filtered for not USB type. [2022/03/04 09:42:49.816] Load languages from json file ... [2022/03/04 09:42:49.832] language json file len:201779 json parse:0 [2022/03/04 09:42:49.847] Total 45 languages ... [2022/03/04 09:42:59.921] #### Now Refresh PhyDrive #### [2022/03/04 09:42:59.937] ===================== Enum All PhyDrives ===================== [2022/03/04 09:42:59.952] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0 [2022/03/04 09:42:59.968] RegQueryValueExA ret:0 Size:4 Value:1 [2022/03/04 09:42:59.968] GetPhysicalDriveCount: 1 [2022/03/04 09:42:59.984] Logical Drives: 0x1c [2022/03/04 09:42:59.999] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:42:59.999] C --> 0 [2022/03/04 09:43:00.015] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:00.030] D --> -1 [2022/03/04 09:43:00.046] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:00.046] E --> 0 [2022/03/04 09:43:00.062] Create file Handle:000000EC \.\PhysicalDrive0 status:0 [2022/03/04 09:43:00.077] PHYSICALDRIVE0 size 160041885696 bytes [2022/03/04 09:43:00.093] PhyDrv:0 BusType:SATA Removable:0 Size:160GB(160041885696) Name: FUJITSU MHZ2160BH G2 [2022/03/04 09:43:00.108] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:43:00.108] Logical Drive:C ===> PhyDrive:0 [2022/03/04 09:43:00.124] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:00.218] Logical Drive:D ===> PhyDrive:-1 [2022/03/04 09:43:00.249] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:00.264] Logical Drive:E ===> PhyDrive:0 [2022/03/04 09:43:00.264] < FUJITSU MHZ2160BH G2> is filtered for not USB type. [2022/03/04 09:43:02.152] #### Now Refresh PhyDrive #### [2022/03/04 09:43:02.183] ===================== Enum All PhyDrives ===================== [2022/03/04 09:43:02.199] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0 [2022/03/04 09:43:02.214] RegQueryValueExA ret:0 Size:4 Value:1 [2022/03/04 09:43:02.214] GetPhysicalDriveCount: 1 [2022/03/04 09:43:02.230] Logical Drives: 0x1c [2022/03/04 09:43:02.246] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:43:02.246] C --> 0 [2022/03/04 09:43:02.261] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:02.277] D --> -1 [2022/03/04 09:43:02.292] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:02.308] E --> 0 [2022/03/04 09:43:02.308] Create file Handle:000000EC \.\PhysicalDrive0 status:0 [2022/03/04 09:43:02.324] PHYSICALDRIVE0 size 160041885696 bytes [2022/03/04 09:43:02.339] PhyDrv:0 BusType:SATA Removable:0 Size:160GB(160041885696) Name: FUJITSU MHZ2160BH G2 [2022/03/04 09:43:02.355] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:43:02.355] Logical Drive:C ===> PhyDrive:0 [2022/03/04 09:43:02.386] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:02.386] Logical Drive:D ===> PhyDrive:-1 [2022/03/04 09:43:02.402] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:02.417] Logical Drive:E ===> PhyDrive:0 [2022/03/04 09:43:02.417] < FUJITSU MHZ2160BH G2> is filtered for not USB type. [2022/03/04 09:43:20.795] ################################################################################## ######################### Ventoy2DiskX86 1.0.0.3 (1.0.70) ######################### ################################################################################## [2022/03/04 09:43:20.811] Current directory: [2022/03/04 09:43:20.827] id=3568/1760 [2022/03/04 09:43:20.842] PPath:<C:\Windows\explorer.exe> [2022/03/04 09:43:20.858] PSize:<2616320 2555KB> [2022/03/04 09:43:20.873] Lunch main process 0 [2022/03/04 09:43:20.889] Control Flag: 0 1 1 [2022/03/04 09:43:20.905] Windows Version: <<Windows 7 SP1 32 bit>> [2022/03/04 09:43:20.920] ===================== Enum All PhyDrives ===================== [2022/03/04 09:43:20.936] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0 [2022/03/04 09:43:20.951] RegQueryValueExA ret:0 Size:4 Value:1 [2022/03/04 09:43:20.967] GetPhysicalDriveCount: 1 [2022/03/04 09:43:20.983] Logical Drives: 0x1c [2022/03/04 09:43:20.998] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:43:20.998] C --> 0 [2022/03/04 09:43:21.029] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:21.029] D --> -1 [2022/03/04 09:43:21.045] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:21.061] E --> 0 [2022/03/04 09:43:21.076] Create file Handle:00000074 \.\PhysicalDrive0 status:0 [2022/03/04 09:43:21.092] PHYSICALDRIVE0 size 160041885696 bytes [2022/03/04 09:43:21.107] PhyDrv:0 BusType:SATA Removable:0 Size:160GB(160041885696) Name: FUJITSU MHZ2160BH G2 [2022/03/04 09:43:21.107] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:43:21.123] Logical Drive:C ===> PhyDrive:0 [2022/03/04 09:43:21.154] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:21.170] Logical Drive:D ===> PhyDrive:-1 [2022/03/04 09:43:21.185] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:21.201] Logical Drive:E ===> PhyDrive:0 [2022/03/04 09:43:21.217] < FUJITSU MHZ2160BH G2> is filtered for not USB type. [2022/03/04 09:43:21.263] Load languages from json file ... [2022/03/04 09:43:21.326] language json file len:201779 json parse:0 [2022/03/04 09:43:21.435] Total 45 languages ... [2022/03/04 09:43:23.369] #### Now Refresh PhyDrive #### [2022/03/04 09:43:23.385] ===================== Enum All PhyDrives ===================== [2022/03/04 09:43:23.416] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0 [2022/03/04 09:43:23.432] RegQueryValueExA ret:0 Size:4 Value:1 [2022/03/04 09:43:23.447] GetPhysicalDriveCount: 1 [2022/03/04 09:43:23.447] Logical Drives: 0x1c [2022/03/04 09:43:23.463] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:43:23.479] C --> 0 [2022/03/04 09:43:23.494] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:23.510] D --> -1 [2022/03/04 09:43:23.525] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:23.525] E --> 0 [2022/03/04 09:43:23.541] Create file Handle:000000EC \.\PhysicalDrive0 status:0 [2022/03/04 09:43:23.557] PHYSICALDRIVE0 size 160041885696 bytes [2022/03/04 09:43:23.572] PhyDrv:0 BusType:SATA Removable:0 Size:160GB(160041885696) Name: FUJITSU MHZ2160BH G2 [2022/03/04 09:43:23.588] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:43:23.603] Logical Drive:C ===> PhyDrive:0 [2022/03/04 09:43:23.619] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:43:23.619] Logical Drive:D ===> PhyDrive:-1 [2022/03/04 09:43:23.635] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:43:23.650] Logical Drive:E ===> PhyDrive:0 [2022/03/04 09:43:23.666] < FUJITSU MHZ2160BH G2> is filtered for not USB type. [2022/03/04 09:44:48.133] #### Now Refresh PhyDrive #### [2022/03/04 09:44:48.149] ===================== Enum All PhyDrives ===================== [2022/03/04 09:44:48.180] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0 [2022/03/04 09:44:48.196] RegQueryValueExA ret:0 Size:4 Value:2 [2022/03/04 09:44:48.211] GetPhysicalDriveCount: 2 [2022/03/04 09:44:48.227] Logical Drives: 0x3c [2022/03/04 09:44:48.243] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:44:48.243] C --> 0 [2022/03/04 09:44:48.258] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:44:48.274] D --> -1 [2022/03/04 09:44:48.289] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:44:48.305] E --> 0 [2022/03/04 09:44:48.321] LogicalDrive:\.\F: PhyDrive:1 Offset:1048576 ExtentLength:4023382016 [2022/03/04 09:44:48.336] F --> 1 [2022/03/04 09:44:48.336] Create file Handle:000000EC \.\PhysicalDrive0 status:0 [2022/03/04 09:44:48.352] PHYSICALDRIVE0 size 160041885696 bytes [2022/03/04 09:44:48.367] Create file Handle:000000EC \.\PhysicalDrive1 status:0 [2022/03/04 09:44:48.383] PHYSICALDRIVE1 size 4057989120 bytes [2022/03/04 09:44:48.399] PhyDrv:0 BusType:SATA Removable:0 Size:160GB(160041885696) Name: FUJITSU MHZ2160BH G2 [2022/03/04 09:44:48.399] PhyDrv:1 BusType:USB Removable:1 Size:4GB(4057989120) Name:General USB Flash Disk [2022/03/04 09:44:48.414] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:44:48.430] Logical Drive:C ===> PhyDrive:0 [2022/03/04 09:44:48.445] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:44:48.461] Logical Drive:D ===> PhyDrive:-1 [2022/03/04 09:44:48.477] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:44:48.477] Logical Drive:E ===> PhyDrive:0 [2022/03/04 09:44:48.492] LogicalDrive:\.\F: PhyDrive:1 Offset:1048576 ExtentLength:4023382016 [2022/03/04 09:44:48.508] Logical Drive:F ===> PhyDrive:1 [2022/03/04 09:44:48.523] Create file Handle:000000EC \.\PhysicalDrive1 status:0 [2022/03/04 09:44:48.539] Read MBR Ret:1 Size:512 code:183 [2022/03/04 09:44:48.555] =========== Disk1 MBR Partition 1 ============ [2022/03/04 09:44:48.555] PartTbl.Active = 0x80 [2022/03/04 09:44:48.570] PartTbl.FsFlag = 0x7 [2022/03/04 09:44:48.586] PartTbl.StartSectorId = 2048 [2022/03/04 09:44:48.601] PartTbl.SectorCount = 7858168 [2022/03/04 09:44:48.601] PartTbl.StartHead = 32 [2022/03/04 09:44:48.617] PartTbl.StartSector = 33 [2022/03/04 09:44:48.633] PartTbl.StartCylinder = 0 [2022/03/04 09:44:48.648] PartTbl.EndHead = 93 [2022/03/04 09:44:48.648] PartTbl.EndSector = 21 [2022/03/04 09:44:48.664] PartTbl.EndCylinder = 974 [2022/03/04 09:44:48.679] =========== Disk1 MBR Partition 2 ============ [2022/03/04 09:44:48.695] PartTbl.Active = 0x0 [2022/03/04 09:44:48.711] PartTbl.FsFlag = 0xef [2022/03/04 09:44:48.711] PartTbl.StartSectorId = 7860216 [2022/03/04 09:44:48.726] PartTbl.SectorCount = 65536 [2022/03/04 09:44:48.742] PartTbl.StartHead = 93 [2022/03/04 09:44:48.757] PartTbl.StartSector = 22 [2022/03/04 09:44:48.757] PartTbl.StartCylinder = 974 [2022/03/04 09:44:48.773] PartTbl.EndHead = 109 [2022/03/04 09:44:48.789] PartTbl.EndSector = 37 [2022/03/04 09:44:48.804] PartTbl.EndCylinder = 982 [2022/03/04 09:44:48.820] =========== Disk1 MBR Partition 3 ============ [2022/03/04 09:44:48.820] PartTbl.Active = 0x0 [2022/03/04 09:44:48.835] PartTbl.FsFlag = 0x0 [2022/03/04 09:44:48.851] PartTbl.StartSectorId = 0 [2022/03/04 09:44:48.867] PartTbl.SectorCount = 0 [2022/03/04 09:44:48.867] PartTbl.StartHead = 0 [2022/03/04 09:44:48.882] PartTbl.StartSector = 0 [2022/03/04 09:44:48.898] PartTbl.StartCylinder = 0 [2022/03/04 09:44:48.913] PartTbl.EndHead = 0 [2022/03/04 09:44:48.913] PartTbl.EndSector = 0 [2022/03/04 09:44:48.929] PartTbl.EndCylinder = 0 [2022/03/04 09:44:48.945] =========== Disk1 MBR Partition 4 ============ [2022/03/04 09:44:48.960] PartTbl.Active = 0x0 [2022/03/04 09:44:48.976] PartTbl.FsFlag = 0x0 [2022/03/04 09:44:48.976] PartTbl.StartSectorId = 0 [2022/03/04 09:44:48.991] PartTbl.SectorCount = 0 [2022/03/04 09:44:49.007] PartTbl.StartHead = 0 [2022/03/04 09:44:49.023] PartTbl.StartSector = 0 [2022/03/04 09:44:49.023] PartTbl.StartCylinder = 0 [2022/03/04 09:44:49.038] PartTbl.EndHead = 0 [2022/03/04 09:44:49.054] PartTbl.EndSector = 0 [2022/03/04 09:44:49.069] PartTbl.EndCylinder = 0 [2022/03/04 09:44:49.085] PhysicalDrive1 is ventoy disk [2022/03/04 09:44:49.085] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:44:49.101] [0] CreateFileA \.\PhysicalDrive1 code:0 000000EC [2022/03/04 09:44:49.116] Parse FAT fs... [2022/03/04 09:44:49.132] attach media success... [2022/03/04 09:44:49.225] GetVentoyVerInPhyDrive rc=0... [2022/03/04 09:44:49.241] VentoyVerInPhyDrive 1 is <1.0.70>... [2022/03/04 09:44:49.257] PhyDrive 1 is Ventoy Disk ver:1.0.70 SecureBoot:0 [2022/03/04 09:44:49.272] < FUJITSU MHZ2160BH G2> is filtered for not USB type. [2022/03/04 09:44:49.288] Combox select change, update secure boot option: 0 0 [2022/03/04 09:44:54.826] SpaceMB:0 SizeInMB:3870 [2022/03/04 09:44:54.857] ##################################################### [2022/03/04 09:44:54.873] InstallVentoy2PhyDrive try1 MBR PhyDrive1 <<General USB Flash Disk 4GB>> [2022/03/04 09:44:54.873] ##################################################### [2022/03/04 09:44:54.889] Copy boot img success [2022/03/04 09:44:54.904] Disk signature: 0xaa3f36c4 [2022/03/04 09:44:54.920] ReservedSector: 0 [2022/03/04 09:44:54.935] Lock disk for clean ............................. [2022/03/04 09:44:54.951] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:44:54.967] [0] CreateFileA \.\PhysicalDrive1 code:0 000000FC [2022/03/04 09:44:54.982] FSCTL_LOCK_VOLUME success [2022/03/04 09:44:54.982] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:44:55.013] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:44:55.013] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:44:55.029] LogicalDrive:\.\F: PhyDrive:1 Offset:1048576 ExtentLength:4023382016 [2022/03/04 09:44:55.045] F: is belong to phydrive1 [2022/03/04 09:44:55.060] Delete mountpoint F:\ ret:1 code:0 [2022/03/04 09:44:55.076] Will use 'F:' as volume mountpoint [2022/03/04 09:44:56.386] VDS init OK, service 002B1424 [2022/03/04 09:44:56.433] Callback 1 process for disk <\?\PhysicalDrive1> [2022/03/04 09:44:56.449] Deleting ALL partitions from disk '\?\PhysicalDrive1': [2022/03/04 09:44:56.464] Partition 1 (offset: 1048576, size: 4023382016) delete it. [2022/03/04 09:44:56.480] Could not delete partitions: 0x80070013 [2022/03/04 09:44:56.495] VDS_DeleteAllPartitions 1 ret:0 (FAIL) [2022/03/04 09:44:56.511] Notice: Could not delete partitions: 0xb7, but we continue. [2022/03/04 09:44:56.527] Deleting all partitions ......................... OK [2022/03/04 09:44:56.542] Lock disk for write ............................. [2022/03/04 09:44:56.542] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:44:56.558] [0] CreateFileA \.\PhysicalDrive1 code:0 00000184 [2022/03/04 09:44:56.573] Opened \.\PhysicalDrive1 for exclusive write access [2022/03/04 09:44:56.589] FSCTL_LOCK_VOLUME success [2022/03/04 09:44:56.605] Formatting part1 exFAT ... [2022/03/04 09:44:56.620] Formatting Part1 exFAT ... [2022/03/04 09:44:56.636] WriteFile error bRet:0 WriteSize:4608 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.651] WriteFile error bRet:0 WriteSize:15360 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.667] WriteFile error bRet:0 WriteSize:491520 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.698] WriteFile error bRet:0 WriteSize:32768 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.714] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:19 [2022/03/04 09:44:56.714] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.729] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.745] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.761] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.776] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:44:56.792] Formatting Part1 exFAT failed, write error. [2022/03/04 09:44:56.792] FormatPart1exFAT failed. [2022/03/04 09:44:56.807] FindProcessOccupyDisk for PhyDrive 1 [2022/03/04 09:44:56.823] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:44:56.854] handles->NumberOfHandles = 18267 [2022/03/04 09:44:56.870] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk1\DR3 [2022/03/04 09:44:56.885] This time install failed, clean disk by disk, wait 5s and retry... [2022/03/04 09:44:56.885] VDS init OK, service 002CDEC4 [2022/03/04 09:44:57.650] Callback 1 process for disk <\?\PhysicalDrive1> [2022/03/04 09:44:58.196] QueryStatus invalid status:2147942419 [2022/03/04 09:44:58.726] Could not clean disk 0x80070013 err:2147942419 [2022/03/04 09:44:58.726] VDS_CleanDisk 1 ret:0 (FAIL) [2022/03/04 09:44:58.742] This is before Windows8 powershell disk not supported. [2022/03/04 09:44:58.757] CleanDiskByPowershell<1> ret:0 (FAIL) [2022/03/04 09:45:03.781] Now retry to install... [2022/03/04 09:45:03.796] ##################################################### [2022/03/04 09:45:03.827] InstallVentoy2PhyDrive try2 MBR PhyDrive1 <<General USB Flash Disk 4GB>> [2022/03/04 09:45:03.827] ##################################################### [2022/03/04 09:45:03.843] Disk signature: 0x75af549c [2022/03/04 09:45:03.859] ReservedSector: 0 [2022/03/04 09:45:03.874] Lock disk for clean ............................. [2022/03/04 09:45:03.890] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:03.905] [0] CreateFileA \.\PhysicalDrive1 code:0 00000184 [2022/03/04 09:45:03.921] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:03.937] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:45:03.952] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:45:03.968] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:45:03.983] No drive letter was assigned... [2022/03/04 09:45:03.999] GetFirstUnusedDriveLetter F: ... [2022/03/04 09:45:04.015] Will use 'F:' as volume mountpoint [2022/03/04 09:45:04.077] VDS init OK, service 002CE5CC [2022/03/04 09:45:04.108] Callback 1 process for disk <\?\PhysicalDrive1> [2022/03/04 09:45:04.124] Deleting ALL partitions from disk '\?\PhysicalDrive1': [2022/03/04 09:45:04.139] Partition 1 (offset: 1048576, size: 4023382016) delete it. [2022/03/04 09:45:04.171] Could not delete partitions: 0x80070013 [2022/03/04 09:45:04.186] VDS_DeleteAllPartitions 1 ret:0 (FAIL) [2022/03/04 09:45:04.202] Notice: Could not delete partitions: 0xb7, but we continue. [2022/03/04 09:45:04.217] Deleting all partitions ......................... OK [2022/03/04 09:45:04.233] Lock disk for write ............................. [2022/03/04 09:45:04.249] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:04.264] [0] CreateFileA \.\PhysicalDrive1 code:0 00000184 [2022/03/04 09:45:04.280] Opened \.\PhysicalDrive1 for exclusive write access [2022/03/04 09:45:04.295] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:04.311] Formatting part1 exFAT ... [2022/03/04 09:45:04.311] Formatting Part1 exFAT ... [2022/03/04 09:45:04.342] WriteFile error bRet:0 WriteSize:4608 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.358] WriteFile error bRet:0 WriteSize:15360 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.373] WriteFile error bRet:0 WriteSize:491520 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.405] WriteFile error bRet:0 WriteSize:32768 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.420] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:19 [2022/03/04 09:45:04.420] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.436] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.451] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.467] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.483] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:04.498] Formatting Part1 exFAT failed, write error. [2022/03/04 09:45:04.498] FormatPart1exFAT failed. [2022/03/04 09:45:04.514] FindProcessOccupyDisk for PhyDrive 1 [2022/03/04 09:45:04.529] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:04.545] handles->NumberOfHandles = 18243 [2022/03/04 09:45:04.561] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk1\DR3 [2022/03/04 09:45:04.576] This time install failed, clean disk by diskpart, wait 10s and retry... [2022/03/04 09:45:04.592] CleanDiskByDiskpart <1> [2022/03/04 09:45:04.623] CreateProcess <C:\Windows\system32\diskpart.exe /s "C:\Users\vijay\Desktop\ventoy-1.0.70\ventoy\diskpart_3568.txt"> [2022/03/04 09:45:04.639] Wair process ... [2022/03/04 09:45:05.918] Process finished... [2022/03/04 09:45:15.964] Now retry to install... [2022/03/04 09:45:15.980] ##################################################### [2022/03/04 09:45:16.011] InstallVentoy2PhyDrive try3 MBR PhyDrive1 <<General USB Flash Disk 4GB>> [2022/03/04 09:45:16.027] ##################################################### [2022/03/04 09:45:16.042] Disk signature: 0xee38afb9 [2022/03/04 09:45:16.042] ReservedSector: 0 [2022/03/04 09:45:16.058] Lock disk for clean ............................. [2022/03/04 09:45:16.073] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:16.089] [0] CreateFileA \.\PhysicalDrive1 code:0 00000184 [2022/03/04 09:45:16.105] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:16.120] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:45:16.136] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:45:16.151] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:45:16.167] No drive letter was assigned... [2022/03/04 09:45:16.183] GetFirstUnusedDriveLetter F: ... [2022/03/04 09:45:16.198] Will use 'F:' as volume mountpoint [2022/03/04 09:45:16.245] VDS init OK, service 002DAD74 [2022/03/04 09:45:16.276] Callback 1 process for disk <\?\PhysicalDrive1> [2022/03/04 09:45:16.292] Deleting ALL partitions from disk '\?\PhysicalDrive1': [2022/03/04 09:45:16.307] * Partition 1 (offset: 1048576, size: 4023382016) delete it. [2022/03/04 09:45:16.869] Could not delete partitions: 0x80070013 [2022/03/04 09:45:16.900] VDS_DeleteAllPartitions 1 ret:0 (FAIL) [2022/03/04 09:45:16.916] Notice: Could not delete partitions: 0xb7, but we continue. [2022/03/04 09:45:16.931] Deleting all partitions ......................... OK [2022/03/04 09:45:16.947] Lock disk for write ............................. [2022/03/04 09:45:16.963] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:16.978] [0] CreateFileA \.\PhysicalDrive1 code:0 00000184 [2022/03/04 09:45:16.994] Opened \.\PhysicalDrive1 for exclusive write access [2022/03/04 09:45:17.009] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:17.025] Formatting part1 exFAT ... [2022/03/04 09:45:17.025] Formatting Part1 exFAT ... [2022/03/04 09:45:17.056] WriteFile error bRet:0 WriteSize:4608 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.072] WriteFile error bRet:0 WriteSize:15360 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.087] WriteFile error bRet:0 WriteSize:491520 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.119] WriteFile error bRet:0 WriteSize:32768 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.119] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:19 [2022/03/04 09:45:17.134] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.150] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.165] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.181] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.181] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:5 [2022/03/04 09:45:17.197] Formatting Part1 exFAT failed, write error. [2022/03/04 09:45:17.212] FormatPart1exFAT failed. [2022/03/04 09:45:17.228] FindProcessOccupyDisk for PhyDrive 1 [2022/03/04 09:45:17.243] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:17.259] handles->NumberOfHandles = 18168 [2022/03/04 09:45:17.275] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk1\DR3 [2022/03/04 09:45:21.639] Combox select change, update secure boot option: 0 0 [2022/03/04 09:45:23.903] ##################################################### [2022/03/04 09:45:23.919] UpdateVentoy2PhyDrive try1 MBR PhyDrive1 <<General USB Flash Disk 4GB>> [2022/03/04 09:45:23.935] ##################################################### [2022/03/04 09:45:23.950] Lock disk for umount ............................ [2022/03/04 09:45:23.966] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:23.981] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:23.997] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:24.013] MBR StartSector in PartTbl:7860216 [2022/03/04 09:45:24.028] MBR Reserved Disk Space:0 MB [2022/03/04 09:45:24.044] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:45:24.060] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:45:24.076] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:45:24.092] No drive letter was assigned... [2022/03/04 09:45:24.092] Lock disk for update ............................ [2022/03/04 09:45:24.107] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:24.123] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:24.138] Opened \.\PhysicalDrive1 for exclusive write access [2022/03/04 09:45:24.154] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:24.170] Lock volume for update .......................... [2022/03/04 09:45:24.185] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:24.185] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:24.201] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.216] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.232] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:24.248] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:24.263] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.263] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:24.279] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:24.294] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:24.310] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.310] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.326] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:24.341] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:24.357] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.372] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.388] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:24.388] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:24.404] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:24.419] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.435] GetVentoyVolumeName return 1168 [2022/03/04 09:45:24.450] ==== Volume not found, wait and retry 0... ==== [2022/03/04 09:45:24.482] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:24.482] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:24.497] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.513] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.528] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:24.528] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:24.544] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.560] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:24.575] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:24.591] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:24.606] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.606] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.622] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:24.638] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:24.653] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.669] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.669] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:24.684] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:24.700] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:24.716] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.731] GetVentoyVolumeName return 1168 [2022/03/04 09:45:24.747] ==== Volume not found, wait and retry 1... ==== [2022/03/04 09:45:24.778] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:24.778] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:24.794] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.809] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.825] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:24.825] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:24.840] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.856] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:24.872] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:24.887] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:24.887] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.903] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.918] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:24.934] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:24.950] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:24.950] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:24.965] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:24.981] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:24.996] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:25.012] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:25.028] GetVentoyVolumeName return 1168 [2022/03/04 09:45:25.043] ==== Volume not found, wait and retry 2... ==== [2022/03/04 09:45:25.074] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:25.075] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:25.091] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:25.107] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:25.122] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:25.122] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:25.138] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:25.153] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:25.169] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:25.185] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:25.185] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:25.200] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:25.216] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:25.231] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:25.231] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:25.247] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:25.263] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:25.278] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:25.294] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:25.309] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:25.325] GetVentoyVolumeName return 1168 [2022/03/04 09:45:25.325] ==== Volume not found, wait and retry 3... ==== [2022/03/04 09:45:25.356] Volume not found, maybe not supported [2022/03/04 09:45:25.356] Try write part2 bRet:0 dwSize:0 code:19 [2022/03/04 09:45:25.372] Failed to write 0 0 19 [2022/03/04 09:45:25.387] MBR DiskCheckWriteAccess failed [2022/03/04 09:45:25.403] Write Ventoy to disk ............................ [2022/03/04 09:45:25.419] FormatPart2Fat 7860216... [2022/03/04 09:45:25.450] Malloc whole img buffer success, now decompress ... [2022/03/04 09:45:26.964] decompress finished success [2022/03/04 09:45:26.980] VentoyProcSecureBoot 0 ... [2022/03/04 09:45:26.995] Open ventoy efi file 01150928 [2022/03/04 09:45:27.011] ventoy efi file size 1781760 ... [2022/03/04 09:45:27.026] Now delete all efi files ... [2022/03/04 09:45:27.026] Open bootx64 efi file 01150928 [2022/03/04 09:45:28.772] Open ventoy efi file 01150D6C [2022/03/04 09:45:28.788] ventoy efi file size 1200128 ... [2022/03/04 09:45:28.803] Now delete all efi files ... [2022/03/04 09:45:28.819] Open bootia32 efi file 01150928 [2022/03/04 09:45:30.238] Write part data bRet:0 dwSize:0 code:19 [2022/03/04 09:45:30.254] FindProcessOccupyDisk for PhyDrive 1 [2022/03/04 09:45:30.270] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:30.301] handles->NumberOfHandles = 18008 [2022/03/04 09:45:30.301] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk1\DR3 [2022/03/04 09:45:30.316] This time update failed, now wait and retry... [2022/03/04 09:45:34.341] Now retry to update... [2022/03/04 09:45:34.357] ##################################################### [2022/03/04 09:45:34.372] UpdateVentoy2PhyDrive try2 MBR PhyDrive1 <<General USB Flash Disk 4GB>> [2022/03/04 09:45:34.388] ##################################################### [2022/03/04 09:45:34.388] Lock disk for umount ............................ [2022/03/04 09:45:34.404] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:34.419] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:34.435] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:34.450] MBR StartSector in PartTbl:7860216 [2022/03/04 09:45:34.466] MBR Reserved Disk Space:0 MB [2022/03/04 09:45:34.482] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:45:34.497] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:45:34.513] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:45:34.528] No drive letter was assigned... [2022/03/04 09:45:34.544] Lock disk for update ............................ [2022/03/04 09:45:34.544] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:34.560] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:34.575] Opened \.\PhysicalDrive1 for exclusive write access [2022/03/04 09:45:34.591] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:34.606] Lock volume for update .......................... [2022/03/04 09:45:34.622] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:34.638] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:34.638] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:34.653] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:34.669] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:34.684] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:34.700] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:34.716] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:34.731] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:34.747] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:34.762] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:34.762] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:34.778] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:34.794] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:34.809] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:34.825] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:34.825] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:34.840] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:34.856] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:34.872] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:34.887] GetVentoyVolumeName return 1168 [2022/03/04 09:45:34.903] ==== Volume not found, wait and retry 0... ==== [2022/03/04 09:45:34.934] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:34.934] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:34.950] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:34.965] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:34.981] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:34.996] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:34.996] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.012] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:35.028] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:35.043] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:35.059] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.059] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.074] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:35.090] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:35.106] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.121] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.121] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:35.137] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:35.152] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:35.168] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.184] GetVentoyVolumeName return 1168 [2022/03/04 09:45:35.199] ==== Volume not found, wait and retry 1... ==== [2022/03/04 09:45:35.230] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:35.230] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:35.246] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.262] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.277] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:35.277] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:35.293] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.308] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:35.324] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:35.340] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:35.340] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.355] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.371] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:35.386] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:35.402] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.402] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.418] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:35.433] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:35.464] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:35.464] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.480] GetVentoyVolumeName return 1168 [2022/03/04 09:45:35.496] ==== Volume not found, wait and retry 2... ==== [2022/03/04 09:45:35.527] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:35.527] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:35.542] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.558] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.574] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:35.589] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:35.605] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.605] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:35.620] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:35.636] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:35.652] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.667] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.683] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:35.683] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:35.698] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:35.714] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.730] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:35.745] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:35.761] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:35.776] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:35.792] GetVentoyVolumeName return 1168 [2022/03/04 09:45:35.792] ==== Volume not found, wait and retry 3... ==== [2022/03/04 09:45:35.823] Volume not found, maybe not supported [2022/03/04 09:45:35.823] Try write part2 bRet:0 dwSize:0 code:19 [2022/03/04 09:45:35.839] Failed to write 0 0 19 [2022/03/04 09:45:35.854] MBR DiskCheckWriteAccess failed [2022/03/04 09:45:35.870] Write Ventoy to disk ............................ [2022/03/04 09:45:35.886] FormatPart2Fat 7860216... [2022/03/04 09:45:35.917] Malloc whole img buffer success, now decompress ... [2022/03/04 09:45:37.446] decompress finished success [2022/03/04 09:45:37.461] VentoyProcSecureBoot 0 ... [2022/03/04 09:45:37.477] Open ventoy efi file 01150928 [2022/03/04 09:45:37.492] ventoy efi file size 1781760 ... [2022/03/04 09:45:37.508] Now delete all efi files ... [2022/03/04 09:45:37.524] Open bootx64 efi file 01150928 [2022/03/04 09:45:39.286] Open ventoy efi file 01150D6C [2022/03/04 09:45:39.286] ventoy efi file size 1200128 ... [2022/03/04 09:45:39.302] Now delete all efi files ... [2022/03/04 09:45:39.318] Open bootia32 efi file 01150928 [2022/03/04 09:45:40.753] Write part data bRet:0 dwSize:0 code:19 [2022/03/04 09:45:40.768] FindProcessOccupyDisk for PhyDrive 1 [2022/03/04 09:45:40.784] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:40.800] handles->NumberOfHandles = 17814 [2022/03/04 09:45:40.815] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk1\DR3 [2022/03/04 09:45:41.845] Now retry to update... [2022/03/04 09:45:41.860] ##################################################### [2022/03/04 09:45:41.892] UpdateVentoy2PhyDrive try3 MBR PhyDrive1 <<General USB Flash Disk 4GB>> [2022/03/04 09:45:41.907] ##################################################### [2022/03/04 09:45:41.923] Lock disk for umount ............................ [2022/03/04 09:45:41.938] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:41.954] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:41.970] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:41.985] MBR StartSector in PartTbl:7860216 [2022/03/04 09:45:42.001] MBR Reserved Disk Space:0 MB [2022/03/04 09:45:42.016] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:45:42.032] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:45:42.048] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:45:42.063] No drive letter was assigned... [2022/03/04 09:45:42.079] Lock disk for update ............................ [2022/03/04 09:45:42.094] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:42.110] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:42.110] Opened \.\PhysicalDrive1 for exclusive write access [2022/03/04 09:45:42.126] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:42.141] Lock volume for update .......................... [2022/03/04 09:45:42.157] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:42.172] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:42.188] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.204] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.219] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:42.219] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:42.235] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.250] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:42.266] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:42.282] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:42.297] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.313] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.328] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:42.328] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:42.344] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.360] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.375] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:42.391] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:42.406] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:42.422] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.438] GetVentoyVolumeName return 1168 [2022/03/04 09:45:42.453] ==== Volume not found, wait and retry 0... ==== [2022/03/04 09:45:42.469] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:42.469] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:42.484] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.500] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.516] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:42.531] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:42.547] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.562] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:42.562] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:42.578] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:42.594] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.609] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.625] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:42.640] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:42.640] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.656] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.672] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:42.687] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:42.703] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:42.718] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.734] GetVentoyVolumeName return 1168 [2022/03/04 09:45:42.750] ==== Volume not found, wait and retry 1... ==== [2022/03/04 09:45:42.781] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:42.781] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:42.796] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.812] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.828] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:42.843] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:42.859] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.859] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:42.874] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:42.890] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:42.906] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.921] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.937] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:42.952] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:42.968] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:42.984] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:42.999] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:43.015] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:43.030] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:43.046] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:43.046] GetVentoyVolumeName return 1168 [2022/03/04 09:45:43.062] ==== Volume not found, wait and retry 2... ==== [2022/03/04 09:45:43.093] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:43.093] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:43.108] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:43.124] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:43.140] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:43.155] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:43.171] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:43.186] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:43.186] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:43.202] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:43.218] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:43.233] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:43.249] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:43.264] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:43.264] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:43.280] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:43.296] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:43.311] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:43.327] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:43.342] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:43.358] GetVentoyVolumeName return 1168 [2022/03/04 09:45:43.374] ==== Volume not found, wait and retry 3... ==== [2022/03/04 09:45:43.405] Volume not found, maybe not supported [2022/03/04 09:45:43.405] Try write part2 bRet:0 dwSize:0 code:19 [2022/03/04 09:45:43.420] Failed to write 0 0 19 [2022/03/04 09:45:43.436] MBR DiskCheckWriteAccess failed [2022/03/04 09:45:43.452] Write Ventoy to disk ............................ [2022/03/04 09:45:43.483] FormatPart2Fat 7860216... [2022/03/04 09:45:43.514] Malloc whole img buffer success, now decompress ... [2022/03/04 09:45:45.027] decompress finished success [2022/03/04 09:45:45.043] VentoyProcSecureBoot 0 ... [2022/03/04 09:45:45.043] Open ventoy efi file 01150928 [2022/03/04 09:45:45.058] ventoy efi file size 1781760 ... [2022/03/04 09:45:45.074] Now delete all efi files ... [2022/03/04 09:45:45.090] Open bootx64 efi file 01150928 [2022/03/04 09:45:46.837] Open ventoy efi file 01150D6C [2022/03/04 09:45:46.853] ventoy efi file size 1200128 ... [2022/03/04 09:45:46.868] Now delete all efi files ... [2022/03/04 09:45:46.884] Open bootia32 efi file 01150928 [2022/03/04 09:45:48.303] Write part data bRet:0 dwSize:0 code:19 [2022/03/04 09:45:48.335] FindProcessOccupyDisk for PhyDrive 1 [2022/03/04 09:45:48.350] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:48.366] handles->NumberOfHandles = 17716 [2022/03/04 09:45:48.381] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk1\DR3 [2022/03/04 09:45:51.408] Now retry to update... [2022/03/04 09:45:51.423] ##################################################### [2022/03/04 09:45:51.439] UpdateVentoy2PhyDrive try4 MBR PhyDrive1 <<General USB Flash Disk 4GB>> [2022/03/04 09:45:51.470] ##################################################### [2022/03/04 09:45:51.486] Lock disk for umount ............................ [2022/03/04 09:45:51.486] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:51.501] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:51.517] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:51.533] MBR StartSector in PartTbl:7860216 [2022/03/04 09:45:51.548] MBR Reserved Disk Space:0 MB [2022/03/04 09:45:51.564] LogicalDrive:\.\C: PhyDrive:0 Offset:105906176 ExtentLength:86532685824 [2022/03/04 09:45:51.579] DeviceIoControl IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS failed \.\D:, error:1 [2022/03/04 09:45:51.595] LogicalDrive:\.\E: PhyDrive:0 Offset:86638592000 ExtentLength:73400320000 [2022/03/04 09:45:51.611] No drive letter was assigned... [2022/03/04 09:45:51.626] Lock disk for update ............................ [2022/03/04 09:45:51.642] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:51.657] [0] CreateFileA \.\PhysicalDrive1 code:0 0000011C [2022/03/04 09:45:51.673] Opened \.\PhysicalDrive1 for exclusive write access [2022/03/04 09:45:51.689] FSCTL_LOCK_VOLUME success [2022/03/04 09:45:51.704] Lock volume for update .......................... [2022/03/04 09:45:51.704] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:51.720] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:51.735] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:51.751] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:51.767] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:51.782] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:51.798] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:51.798] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:51.813] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:51.829] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:51.845] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:51.860] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:51.876] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:51.891] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:51.907] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:51.907] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:51.923] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:51.938] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:51.954] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:51.969] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:51.985] GetVentoyVolumeName return 1168 [2022/03/04 09:45:52.001] ==== Volume not found, wait and retry 0... ==== [2022/03/04 09:45:52.032] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:52.032] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:52.047] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.063] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.079] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:52.094] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:52.110] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.110] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:52.125] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:52.141] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:52.157] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.172] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.188] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:52.203] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:52.203] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.219] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.235] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:52.250] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:52.266] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:52.281] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.297] GetVentoyVolumeName return 1168 [2022/03/04 09:45:52.313] ==== Volume not found, wait and retry 1... ==== [2022/03/04 09:45:52.344] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:52.344] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:52.359] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.375] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.391] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:52.406] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:52.422] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.422] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:52.437] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:52.453] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:52.469] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.484] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.500] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:52.515] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:52.531] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.547] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.562] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:52.562] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:52.593] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:52.593] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.609] GetVentoyVolumeName return 1168 [2022/03/04 09:45:52.625] ==== Volume not found, wait and retry 2... ==== [2022/03/04 09:45:52.656] GetVentoyVolumeName PhyDrive 1 SectorStart:7860216 PartOffset:4024430592 [2022/03/04 09:45:52.656] Find volume:\?\Volume{59ae9e25-72ac-11ec-99e2-001d726b4f2c}\ [2022/03/04 09:45:52.671] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.687] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.703] This volume DiskNumber:0 offset:1048576 [2022/03/04 09:45:52.718] Find volume:\?\Volume{88e938c3-28b7-11eb-abde-001f3ca36211}\ [2022/03/04 09:45:52.734] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.734] NumberOfDiskExtents:1 DiskNumber:1 [2022/03/04 09:45:52.749] This volume DiskNumber:1 offset:1048576 [2022/03/04 09:45:52.765] Find volume:\?\Volume{6bb021e4-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:52.781] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.796] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.812] This volume DiskNumber:0 offset:105906176 [2022/03/04 09:45:52.812] Find volume:\?\Volume{4cc03afc-64b4-11ec-99b5-806e6f6e6963}\ [2022/03/04 09:45:52.827] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:1 code:0 [2022/03/04 09:45:52.843] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.859] This volume DiskNumber:0 offset:86638592000 [2022/03/04 09:45:52.874] Find volume:\?\Volume{6bb021e7-0f19-11eb-9dee-806e6f6e6963}\ [2022/03/04 09:45:52.890] IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS bRet:0 code:1 [2022/03/04 09:45:52.905] NumberOfDiskExtents:1 DiskNumber:0 [2022/03/04 09:45:52.921] GetVentoyVolumeName return 1168 [2022/03/04 09:45:52.937] ==== Volume not found, wait and retry 3... ==== [2022/03/04 09:45:52.952] Volume not found, maybe not supported [2022/03/04 09:45:52.952] Try write part2 bRet:0 dwSize:0 code:19 [2022/03/04 09:45:52.968] Failed to write 0 0 19 [2022/03/04 09:45:52.983] MBR DiskCheckWriteAccess failed [2022/03/04 09:45:52.999] Write Ventoy to disk ............................ [2022/03/04 09:45:53.015] FormatPart2Fat 7860216... [2022/03/04 09:45:53.061] Malloc whole img buffer success, now decompress ... [2022/03/04 09:45:54.575] decompress finished success [2022/03/04 09:45:54.590] VentoyProcSecureBoot 0 ... [2022/03/04 09:45:54.606] Open ventoy efi file 01150928 [2022/03/04 09:45:54.606] ventoy efi file size 1781760 ... [2022/03/04 09:45:54.621] Now delete all efi files ... [2022/03/04 09:45:54.637] Open bootx64 efi file 01150928 [2022/03/04 09:45:56.384] Open ventoy efi file 01150D6C [2022/03/04 09:45:56.400] ventoy efi file size 1200128 ... [2022/03/04 09:45:56.415] Now delete all efi files ... [2022/03/04 09:45:56.431] Open bootia32 efi file 01150928 [2022/03/04 09:45:57.851] Write part data bRet:0 dwSize:0 code:19 [2022/03/04 09:45:57.866] FindProcessOccupyDisk for PhyDrive 1 [2022/03/04 09:45:57.897] QueryDosDeviceA success \Device\Harddisk1\DR3 [2022/03/04 09:45:57.913] handles->NumberOfHandles = 17707 [2022/03/04 09:45:57.929] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk1\DR3 [2022/03/04 09:45:59.713] Combox select change, update secure boot option: 0 0

tree-t commented 2 years ago

Hello, I just wanted to add that I can although still boot my isos(which were on the usb before it became read-only). With the hope that I will be able to use my usb as what it was( as I believe that I will find the solution here itself ). Thanks again in advance.

ventoy commented 2 years ago

You USB disk name is General USB Flash Disk 4GB , this is not a normal case. Normally the disk name is like Sandisk xxx Kingson xxx ... I have recieved many many similar reports since I developed Ventoy. So your USB disk has big chance to be fake or faulty.

You can find some tool to do a fully test of your USB disk to make sure that it has no hardware problem.

tree-t commented 2 years ago

Hello again, I have tried Rufus, Unetbootin, Ventoy, Yumi, etcher, etchdroid and dd with the usb in the past and they all have worked flawlessly, hence confirming that the usb is not fake. But one thing that I missed out was that when the usb became read-only, at that time a power failure had occurred (my battery had run out of charge and it was at the bios screen). Hope that info helps. But how can I test a hardware problem, like can you list any such thing? Plus the usb doesn't have a hardware switch (to turn it to read-only). Thanks in advance.

ventoy commented 2 years ago

You can use some USB Flash memory test program such as H2TESTW, FakeFlashTest to test it.

tree-t commented 2 years ago

Hello, Thanks, but the above mentioned apps are just to test whether the usb is fake or not, for which a simple formatting will also work, but I already know that it is not a fake usb.( I just found its case and its logo says 'Schneider Electric'. The problem is that the usb has become read-only (the brand isn't, but I don't actually know if it was turned read-only by a ventoy setting or not, as I also performed some tweaks using the .exe file in the .zip of ventoy(the .exe opened a chrome window and I filled whatever I thought as useful) and my isos are in (hd1,0)/ventoy/*.iso . Thank you in advance.

ventoy commented 2 years ago

It may not be fake, but it may have some bad physical sectors, especially at the end of the USB disk.

The biggest difference between Ventoy and other tool is the disk layout. As descripted here: https://www.ventoy.net/en/doc_disk_layout.html Ventoy will use the end of the USB disk as partition 2 when install. Many other tools use USB disk from the beginning to the end step by step.

For many fake or faulty USB disk, it's OK if you don't use more space enough. For example, for a 32GB fake USB disk, if you only use the first 16GB space it may be OK. But it will fail if you use 30GB or more space.

tree-t commented 2 years ago

Hello, Here is what I got from FakeFlashTest: FAKEFLASHTEST v1.1.2 [SSi] DRIVE 1 - 3.7GiB General USB Flash Disk
FFT - Quick Size Test (destructive) DRIVE 1 - 3.7GiB General USB Flash Disk

Writing marker blocks to drive 1 ERROR writing to drive at Sector 7920044 WRITE ERROR: Sector = 7920044 WRITE ERROR: Sector = 7894444 WRITE ERROR: Sector = 7868844 WRITE ERROR: Sector = 7843244 WRITE ERROR: Sector = 7817644 WRITE ERROR: Sector = 7792044 WRITE ERROR: Sector = 7766444 WRITE ERROR: Sector = 7740844 WRITE ERROR: Sector = 7715244 WRITE ERROR: Sector = 7689644 WRITE ERROR: Sector = 7664044 WRITE ERROR: Sector = 7638444 WRITE ERROR: Sector = 7612844 WRITE ERROR: Sector = 7587244 WRITE ERROR: Sector = 7561644 WRITE ERROR: Sector = 7536044 5% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 7510444 WRITE ERROR: Sector = 7484844 WRITE ERROR: Sector = 7459244 WRITE ERROR: Sector = 7433644 WRITE ERROR: Sector = 7408044 WRITE ERROR: Sector = 7382444 WRITE ERROR: Sector = 7356844 WRITE ERROR: Sector = 7331244 WRITE ERROR: Sector = 7305644 WRITE ERROR: Sector = 7280044 WRITE ERROR: Sector = 7254444 WRITE ERROR: Sector = 7228844 WRITE ERROR: Sector = 7203244 WRITE ERROR: Sector = 7177644 WRITE ERROR: Sector = 7152044 10% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 7126444 WRITE ERROR: Sector = 7100844 WRITE ERROR: Sector = 7075244 WRITE ERROR: Sector = 7049644 WRITE ERROR: Sector = 7024044 WRITE ERROR: Sector = 6998444 WRITE ERROR: Sector = 6972844 WRITE ERROR: Sector = 6947244 WRITE ERROR: Sector = 6921644 WRITE ERROR: Sector = 6896044 WRITE ERROR: Sector = 6870444 WRITE ERROR: Sector = 6844844 WRITE ERROR: Sector = 6819244 WRITE ERROR: Sector = 6793644 WRITE ERROR: Sector = 6768044 WRITE ERROR: Sector = 6742444 15% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 6716844 WRITE ERROR: Sector = 6691244 WRITE ERROR: Sector = 6665644 WRITE ERROR: Sector = 6640044 WRITE ERROR: Sector = 6614444 WRITE ERROR: Sector = 6588844 WRITE ERROR: Sector = 6563244 WRITE ERROR: Sector = 6537644 WRITE ERROR: Sector = 6512044 WRITE ERROR: Sector = 6486444 WRITE ERROR: Sector = 6460844 WRITE ERROR: Sector = 6435244 WRITE ERROR: Sector = 6409644 WRITE ERROR: Sector = 6384044 WRITE ERROR: Sector = 6358444 20% complete - 0 min 4 sec remaining WRITE ERROR: Sector = 6332844 WRITE ERROR: Sector = 6307244 WRITE ERROR: Sector = 6281644 WRITE ERROR: Sector = 6256044 WRITE ERROR: Sector = 6230444 WRITE ERROR: Sector = 6204844 WRITE ERROR: Sector = 6179244 WRITE ERROR: Sector = 6153644 WRITE ERROR: Sector = 6128044 WRITE ERROR: Sector = 6102444 WRITE ERROR: Sector = 6076844 WRITE ERROR: Sector = 6051244 WRITE ERROR: Sector = 6025644 WRITE ERROR: Sector = 6000044 WRITE ERROR: Sector = 5974444 WRITE ERROR: Sector = 5948844 25% complete - 0 min 3 sec remaining WRITE ERROR: Sector = 5923244 WRITE ERROR: Sector = 5897644 WRITE ERROR: Sector = 5872044 WRITE ERROR: Sector = 5846444 WRITE ERROR: Sector = 5820844 WRITE ERROR: Sector = 5795244 WRITE ERROR: Sector = 5769644 WRITE ERROR: Sector = 5744044 WRITE ERROR: Sector = 5718444 WRITE ERROR: Sector = 5692844 WRITE ERROR: Sector = 5667244 WRITE ERROR: Sector = 5641644 WRITE ERROR: Sector = 5616044 WRITE ERROR: Sector = 5590444 WRITE ERROR: Sector = 5564844 30% complete - 0 min 3 sec remaining WRITE ERROR: Sector = 5539244 WRITE ERROR: Sector = 5513644 WRITE ERROR: Sector = 5488044 WRITE ERROR: Sector = 5462444 WRITE ERROR: Sector = 5436844 WRITE ERROR: Sector = 5411244 WRITE ERROR: Sector = 5385644 WRITE ERROR: Sector = 5360044 WRITE ERROR: Sector = 5334444 WRITE ERROR: Sector = 5308844 WRITE ERROR: Sector = 5283244 WRITE ERROR: Sector = 5257644 WRITE ERROR: Sector = 5232044 WRITE ERROR: Sector = 5206444 WRITE ERROR: Sector = 5180844 WRITE ERROR: Sector = 5155244 35% complete - 0 min 2 sec remaining WRITE ERROR: Sector = 5129644 WRITE ERROR: Sector = 5104044 WRITE ERROR: Sector = 5078444 WRITE ERROR: Sector = 5052844 WRITE ERROR: Sector = 5027244 WRITE ERROR: Sector = 5001644 WRITE ERROR: Sector = 4976044 WRITE ERROR: Sector = 4950444 WRITE ERROR: Sector = 4924844 WRITE ERROR: Sector = 4899244 WRITE ERROR: Sector = 4873644 WRITE ERROR: Sector = 4848044 WRITE ERROR: Sector = 4822444 WRITE ERROR: Sector = 4796844 WRITE ERROR: Sector = 4771244 40% complete - 0 min 2 sec remaining WRITE ERROR: Sector = 4745644 WRITE ERROR: Sector = 4720044 WRITE ERROR: Sector = 4694444 WRITE ERROR: Sector = 4668844 WRITE ERROR: Sector = 4643244 WRITE ERROR: Sector = 4617644 WRITE ERROR: Sector = 4592044 WRITE ERROR: Sector = 4566444 WRITE ERROR: Sector = 4540844 WRITE ERROR: Sector = 4515244 WRITE ERROR: Sector = 4489644 WRITE ERROR: Sector = 4464044 WRITE ERROR: Sector = 4438444 WRITE ERROR: Sector = 4412844 WRITE ERROR: Sector = 4387244 WRITE ERROR: Sector = 4361644 45% complete - 0 min 2 sec remaining WRITE ERROR: Sector = 4336044 WRITE ERROR: Sector = 4310444 WRITE ERROR: Sector = 4284844 WRITE ERROR: Sector = 4259244 WRITE ERROR: Sector = 4233644 WRITE ERROR: Sector = 4208044 WRITE ERROR: Sector = 4182444 WRITE ERROR: Sector = 4156844 WRITE ERROR: Sector = 4131244 WRITE ERROR: Sector = 4105644 WRITE ERROR: Sector = 4080044 WRITE ERROR: Sector = 4054444 WRITE ERROR: Sector = 4028844 WRITE ERROR: Sector = 4003244 WRITE ERROR: Sector = 3977644 50% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 3952044 WRITE ERROR: Sector = 3926444 WRITE ERROR: Sector = 3900844 WRITE ERROR: Sector = 3875244 WRITE ERROR: Sector = 3849644 WRITE ERROR: Sector = 3824044 WRITE ERROR: Sector = 3798444 WRITE ERROR: Sector = 3772844 WRITE ERROR: Sector = 3747244 WRITE ERROR: Sector = 3721644 WRITE ERROR: Sector = 3696044 WRITE ERROR: Sector = 3670444 WRITE ERROR: Sector = 3644844 WRITE ERROR: Sector = 3619244 WRITE ERROR: Sector = 3593644 WRITE ERROR: Sector = 3568044 55% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 3542444 WRITE ERROR: Sector = 3516844 WRITE ERROR: Sector = 3491244 WRITE ERROR: Sector = 3465644 WRITE ERROR: Sector = 3440044 WRITE ERROR: Sector = 3414444 WRITE ERROR: Sector = 3388844 WRITE ERROR: Sector = 3363244 WRITE ERROR: Sector = 3337644 WRITE ERROR: Sector = 3312044 WRITE ERROR: Sector = 3286444 WRITE ERROR: Sector = 3260844 WRITE ERROR: Sector = 3235244 WRITE ERROR: Sector = 3209644 WRITE ERROR: Sector = 3184044 60% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 3158444 WRITE ERROR: Sector = 3132844 WRITE ERROR: Sector = 3107244 WRITE ERROR: Sector = 3081644 WRITE ERROR: Sector = 3056044 WRITE ERROR: Sector = 3030444 WRITE ERROR: Sector = 3004844 WRITE ERROR: Sector = 2979244 WRITE ERROR: Sector = 2953644 WRITE ERROR: Sector = 2928044 WRITE ERROR: Sector = 2902444 WRITE ERROR: Sector = 2876844 WRITE ERROR: Sector = 2851244 WRITE ERROR: Sector = 2825644 WRITE ERROR: Sector = 2800044 WRITE ERROR: Sector = 2774444 65% complete - 0 min 2 sec remaining WRITE ERROR: Sector = 2748844 WRITE ERROR: Sector = 2723244 WRITE ERROR: Sector = 2697644 WRITE ERROR: Sector = 2672044 WRITE ERROR: Sector = 2646444 WRITE ERROR: Sector = 2620844 WRITE ERROR: Sector = 2595244 WRITE ERROR: Sector = 2569644 WRITE ERROR: Sector = 2544044 WRITE ERROR: Sector = 2518444 WRITE ERROR: Sector = 2492844 WRITE ERROR: Sector = 2467244 WRITE ERROR: Sector = 2441644 WRITE ERROR: Sector = 2416044 WRITE ERROR: Sector = 2390444 70% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 2364844 WRITE ERROR: Sector = 2339244 WRITE ERROR: Sector = 2313644 WRITE ERROR: Sector = 2288044 WRITE ERROR: Sector = 2262444 WRITE ERROR: Sector = 2236844 WRITE ERROR: Sector = 2211244 WRITE ERROR: Sector = 2185644 WRITE ERROR: Sector = 2160044 WRITE ERROR: Sector = 2134444 WRITE ERROR: Sector = 2108844 WRITE ERROR: Sector = 2083244 WRITE ERROR: Sector = 2057644 WRITE ERROR: Sector = 2032044 WRITE ERROR: Sector = 2006444 WRITE ERROR: Sector = 1980844 75% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 1955244 WRITE ERROR: Sector = 1929644 WRITE ERROR: Sector = 1904044 WRITE ERROR: Sector = 1878444 WRITE ERROR: Sector = 1852844 WRITE ERROR: Sector = 1827244 WRITE ERROR: Sector = 1801644 WRITE ERROR: Sector = 1776044 WRITE ERROR: Sector = 1750444 WRITE ERROR: Sector = 1724844 WRITE ERROR: Sector = 1699244 WRITE ERROR: Sector = 1673644 WRITE ERROR: Sector = 1648044 WRITE ERROR: Sector = 1622444 WRITE ERROR: Sector = 1596844 80% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 1571244 WRITE ERROR: Sector = 1545644 WRITE ERROR: Sector = 1520044 WRITE ERROR: Sector = 1494444 WRITE ERROR: Sector = 1468844 WRITE ERROR: Sector = 1443244 WRITE ERROR: Sector = 1417644 WRITE ERROR: Sector = 1392044 WRITE ERROR: Sector = 1366444 WRITE ERROR: Sector = 1340844 WRITE ERROR: Sector = 1315244 WRITE ERROR: Sector = 1289644 WRITE ERROR: Sector = 1264044 WRITE ERROR: Sector = 1238444 WRITE ERROR: Sector = 1212844 85% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 1187244 WRITE ERROR: Sector = 1161644 WRITE ERROR: Sector = 1136044 WRITE ERROR: Sector = 1110444 WRITE ERROR: Sector = 1084844 WRITE ERROR: Sector = 1059244 WRITE ERROR: Sector = 1033644 WRITE ERROR: Sector = 1008044 WRITE ERROR: Sector = 982444 WRITE ERROR: Sector = 956844 WRITE ERROR: Sector = 931244 WRITE ERROR: Sector = 905644 WRITE ERROR: Sector = 880044 WRITE ERROR: Sector = 854444 WRITE ERROR: Sector = 828844 WRITE ERROR: Sector = 803244 90% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 777644 WRITE ERROR: Sector = 752044 WRITE ERROR: Sector = 726444 WRITE ERROR: Sector = 700844 WRITE ERROR: Sector = 675244 WRITE ERROR: Sector = 649644 WRITE ERROR: Sector = 624044 WRITE ERROR: Sector = 598444 WRITE ERROR: Sector = 572844 WRITE ERROR: Sector = 547244 WRITE ERROR: Sector = 521644 WRITE ERROR: Sector = 496044 WRITE ERROR: Sector = 470444 WRITE ERROR: Sector = 444844 WRITE ERROR: Sector = 419244 95% complete - 0 min 1 sec remaining WRITE ERROR: Sector = 393644 WRITE ERROR: Sector = 368044 WRITE ERROR: Sector = 342444 WRITE ERROR: Sector = 316844 WRITE ERROR: Sector = 291244 WRITE ERROR: Sector = 265644 WRITE ERROR: Sector = 240044 WRITE ERROR: Sector = 214444 WRITE ERROR: Sector = 188844 WRITE ERROR: Sector = 163244 WRITE ERROR: Sector = 137644 WRITE ERROR: Sector = 112044 WRITE ERROR: Sector = 86444 WRITE ERROR: Sector = 60844 WRITE ERROR: Sector = 35244 WRITE ERROR: Sector = 9644 100% complete - 0 min 1 sec remaining ERROR writing to drive at Sector 0 Reading back marker blocks... 5% complete - 0 min 1 sec remaining 10% complete - 0 min 1 sec remaining 15% complete - 0 min 1 sec remaining 20% complete - 0 min 1 sec remaining 25% complete - 0 min 1 sec remaining 30% complete - 0 min 1 sec remaining 35% complete - 0 min 1 sec remaining 40% complete - 0 min 1 sec remaining 45% complete - 0 min 1 sec remaining 50% complete - 0 min 1 sec remaining 55% complete - 0 min 1 sec remaining 60% complete - 0 min 1 sec remaining 65% complete - 0 min 1 sec remaining 70% complete - 0 min 1 sec remaining 75% complete - 0 min 1 sec remaining 80% complete - 0 min 1 sec remaining 85% complete - 0 min 1 sec remaining 90% complete - 0 min 1 sec remaining 95% complete - 0 min 1 sec remaining Memory tested in blocks of 25600 sectors.

BAD MEMORY from sector 35244 (17.2089MiB) to sector 7920044 (3,867.2089Mib)

WARNING: no memory detected at one or more locations. Test took 4 seconds.

                     *** FAILED ***

DEVICE HAS DUPLICATE OR BAD BLOCKS!

Recommended maximum usable partition size: 4.7089Mib (approx. Last good Sector=35244)

Unplug and re-connect the drive, then reformat it using Windows or RMPrepUSB.

And here is what RMPrepUSB shows: Capture

tree-t commented 2 years ago

And here is what rufus says: Rufus x86 v3.17.1846 (Portable) Windows version: Windows 7 SP1 32 bit Syslinux versions: 4.07/2013-07-25, 6.04/pre1 Grub versions: 0.4.6a, 2.06 System locale ID: 0x0409 (en-US) Will use default UI locale 0x0409 SetLGP: Successfully set NoDriveTypeAutorun policy to 0x0000009E Localization set to 'en-US' Found USB 2.0 device 'General USB Flash Disk USB Device' (090C:1000) 1 device found Disk type: Removable, Disk size: 4.1GB, Sector size: 512 bytes Cylinders: 493, Tracks per cylinder: 255, Sectors per track: 63 Partition type: MBR, NB Partitions: 2 Disk ID: 0xB78FE37C Drive has an unknown Master Boot Record Partition 1: Type: exFAT (0x07) Size: 3.7 GB (4023382016 bytes) Start Sector: 2048, Boot: Yes Partition 2: Type: EFI FAT (0xef) Size: 32 MB (33554432 bytes) Start Sector: 7860216, Boot: No

Format operation started Requesting disk access... Will use 'F:' as volume mountpoint Warning: Could not delete partition(s): [0x80070013] The media is write protected. Opened \.\PhysicalDrive1 for shared write access Requesting logical volume handle... I/O boundary checks disabled Analyzing existing boot records... Drive has an unknown Master Boot Record Clearing MBR/PBR/GPT structures... Erasing 128 sectors Write error [0x00000013] The media is write protected. Retrying in 5 seconds... Write error [0x00000013] The media is write protected. Retrying in 5 seconds... Write error [0x00000013] The media is write protected. Retrying in 5 seconds... Write error [0x00000013] The media is write protected. Could not reset partitions Re-mounted volume as F: after error

Found USB 2.0 device 'General USB Flash Disk USB Device' (090C:1000) 1 device found Disk type: Removable, Disk size: 4.1GB, Sector size: 512 bytes Cylinders: 493, Tracks per cylinder: 255, Sectors per track: 63 Partition type: MBR, NB Partitions: 2 Disk ID: 0xB78FE37C Drive has an unknown Master Boot Record Partition 1: Type: exFAT (0x07) Size: 3.7 GB (4023382016 bytes) Start Sector: 2048, Boot: Yes Partition 2: Type: EFI FAT (0xef) Size: 32 MB (33554432 bytes) Start Sector: 7860216, Boot: No Found USB 2.0 device 'General USB Flash Disk USB Device' (090C:1000) 1 device found Disk type: Removable, Disk size: 4.1GB, Sector size: 512 bytes Cylinders: 493, Tracks per cylinder: 255, Sectors per track: 63 Partition type: MBR, NB Partitions: 2 Disk ID: 0xB78FE37C Drive has an unknown Master Boot Record Partition 1: Type: exFAT (0x07) Size: 3.7 GB (4023382016 bytes) Start Sector: 2048, Boot: Yes Partition 2: Type: EFI FAT (0xef) Size: 32 MB (33554432 bytes) Start Sector: 7860216, Boot: No

And what windows' chkdisk says: 1Capture

Although FakeFlashTest says that the usb has so many bad sectors, my isos(almost 1.68GB seem to work flawlessly. And I have no idea how to fix the bad sectors, as the disk according windows and linux is read-only or write-protected. Thank you in advance.

steve6375 commented 2 years ago

USB Flash drives that have a Model name of 'General USB Flash Disk' and a capacity of 3.8GiB tend to indicate that it is a fake flash drive and may only contain 1GB or 2GB of memory and also may contain bad memory as it is not 4GiB. I have bought and tested many fake USB drives (I am the developer of FakeFlashTest) and 99% of them either stop working or return 'Read-only' (WP) status and are then useless. You could try running ChipGenius and see if it reports the memory chips used and their size (or disassemble it). It would not surprise me it it only had 1GiB or 2GiB of memory inside it. In any case, I am afraid the USB stick is no more, it is a dead USB stick, it has shuffled off it's mortal coil, it is no longer with us, it has waived goodbye to life and joined the angels in heaven, it is an ex-USB stick! https://youtu.be/vZw35VUBdzo

P.S. Beware of ChipGenius as many versions contain viruses. Only download from a site which checks for viruses and has a good reputation!

tree-t commented 2 years ago

Hello @steve6375 , Please refer to this.

Hello again, I have tried Rufus, Unetbootin, Ventoy, Yumi, etcher, etchdroid and dd with the usb in the past and they all have worked flawlessly, hence confirming that the usb is not fake. But one thing that I missed out was that when the usb became read-only, at that time a power failure had occurred (my battery had run out of charge and it was at the bios screen). Hope that info helps. But how can I test a hardware problem, like can you list any such thing? Plus the usb doesn't have a hardware switch (to turn it to read-only). Thanks in advance.

This was written by me earlier in this issue

tree-t commented 2 years ago

USB Flash drives that have a Model name of 'General USB Flash Disk' and a capacity of 3.8GiB tend to indicate that it is a fake flash drive and may only contain 1GB or 2GB of memory and also may contain bad memory as it is not 4GiB. I have bought and tested many fake USB drives (I am the developer of FakeFlashTest) and 99% of them either stop working or return 'Read-only' (WP) status and are then useless. You could try running ChipGenius and see if it reports the memory chips used and their size (or disassemble it). It would not surprise me it it only had 1GiB or 2GiB of memory inside it. In any case, I am afraid the USB stick is no more, it is a dead USB stick, it has shuffled off it's mortal coil, it is no longer with us, it has waived goodbye to life and joined the angels in heaven, it is an ex-USB stick! https://youtu.be/vZw35VUBdzo

P.S. Beware of ChipGenius as many versions contain viruses. Only download from a site which checks for viruses and has a good reputation!

Ok, will try chip genius (from file horse) and will send the result here

tree-t commented 2 years ago

@steve6375, using chip genius wasn't a good idea for me, can you suggest a source?

steve6375 commented 2 years ago

https://www.softpedia.com/get/System/System-Info/ChipGenius.shtml older version But check it for viruses first using VirusTotal.

tree-t commented 2 years ago

Ok, but as soon as I downloaded it, my anti-virus removed it

steve6375 commented 2 years ago

well you can disable it, the decision is yours! but in any case, it wont fix your USB drive. Just buy another - they are very cheap!

tree-t commented 2 years ago

Sorry, can't take that much of risk for just a checking.

tree-t commented 2 years ago

@ventoy its not an usb hardware issue! And it is an issue IDK whether of ventoy or something else, but its not a hardware issue!

leoadn commented 2 years ago

@ventoy its not an usb hardware issue! And it is an issue IDK whether of ventoy or something else, but its not a hardware issue!

have u found the solution?, same issue for me after using ventoy when i want to delete the ventoy my usb become read only....

tree-t commented 2 years ago

Hello @leoadn, Brief ans: No ~Tree-t

reza00farjam commented 1 year ago

Hi everyone. So our USBs are broke after using Ventoy and no fix, right? That's weird, it should be mentioned in official documents as a BIG WARNING before user find it out in the hard way!

Alex7175 commented 4 months ago

I managed to fix it!!! The thing is ventoy breaks USB controller/firmware settings. Devs should put a disclaimer instead of saying that USBs are fake. You can fix your USB too if you're willing to go to a scary Russian website with the help of google translate. (there is a risk to brick, but it's better then throwing it away, right?) 1) Download ChipGenius and find your USB Controller Part-Number. Link: https://www.usbdev.ru/files/chipgenius/ 2) Download SMI MPTool for specific version of your controller. Always use the latest one at the bottom. (If doesn't work download older version) 3) Follow the guide to repair your USB. Link: https://www.usbdev.ru/articles/a_smi/smimptool-repair/ I really hope that anyone googling it managed to repair their USBs. Also, shame on you, devs!

steve6375 commented 4 months ago

Ventoy just writes data to sectors on the USB drive. It does nothing to the firmware. It just uses perfectly standard sector write API calls to Windows or Linux (depending on what you used). The problem is that fake USB drives use hacked/modified firmware so that it lies about the total memory capacity of the USB drive - but the firmware is often very buggy - e.g. the firmware may be for a different capacity drive. It may contain corrupt tables about bad nvram flash pages and spare pages (used to replace bad sectors) and often the hacker does not even test each USB drive or the memory chips inside to make a valid flash memory page swap map. For instance the memory where page swap tables are held should be hidden and inaccessible to standard sector writes and not included as part of the 'user' area. This is why a good 32B flash drive may actually have only 30GB reported capacity (2GB are used for page sparing, sparing tables, spare pages, housekeeping and even firmware code storage). Typically, fake drives will seem OK as long as you only use the first 1/4 of it. However, the last 1/2 or 1/4 of the memory may be bad or simply not present! Ventoy writes to the last 32MB of memory of the USB drive (capacity is reported by the USB drive firmware) by default, as does any program or standard OS file copy which writes to the very end of the drive, this often causes the whole of a fake drive to become inoperative. It is a classic symptom of many fake flash drives that when you write to the sectors at the end of the (false) reported capacity, the firmware will then crash because it's code or page tables, etc. have been overwritten by user data when it should have been hidden to the user by the firmware.

TempleISO commented 2 months ago

I agree there are valid points here, considering fake USB drives, but what about my Kingston Data Traveler 3.0 Exodia M 128GB? I was on Linux mint, and upon moving slackware iso image into the USB, I renamed it (I just capitalised the S) and all of a sudden, the drive got unmounted. After replugging it, it was in read-only mode ever since. No tool has helped so far, I tried with gdisk, fdisk, gparted, nothing worked.

Heres the output of gdisk when I tried wiping the partition table: (Note, I mounted the partition 1, which holds the ISO files, but both partitions give the same error)

GPT fdisk (gdisk) version 1.0.8 NOTE: Write test failed with error number 30. It will be impossible to save changes to this disk's partition table! Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present


Found invalid GPT and valid MBR; converting MBR to GPT format in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if you don't want to convert your MBR partitions to GPT format!


Command (? for help): x Expert command (? for help): z About to wipe out GPT on /dev/sdb1. Proceed? (Y/N): Y Problem opening '/dev/sdb1' for writing! Program will now terminate. Blank out MBR? (Y/N): Y Warning! MBR not overwritten! Error is 30!

My Kingston was partitioned by using this method: https://www.ventoy.net/static/img/disklayout.png Instead of what you guys recommended here: https://www.ventoy.net/static/img/disklayout_reserve.png

If it's actually true that no matter what USB we use, if we have no reserved space we're basically screwed, and the dev didnt even put a warning.... This reserved space should be mandatory when installing Ventoy. I sincerely ask of you Ventoy developers, if reserved space is what would have prevented this from happening, why not make it mandatory? Or at least put a warning.

As for the other people that came here because of the same issue, you might want to read this: https://unix.stackexchange.com/questions/647445/unable-to-open-device-dev-sdb-for-writing-errno-is-30-aborting-write Seems like there isnt much you can do here.

Conan179 commented 2 months ago

@TempleISO The Stick is Death. I know that from Micro SD cards, if it is defective, the internal electronics turns it into a ROM and you can only dispose of it or have it exchanged by the manufacturer.