Ventoy Forums
How to install Ventoy on 4096 byte sector media - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: How to install Ventoy on 4096 byte sector media (/showthread.php?tid=2288)



How to install Ventoy on 4096 byte sector media - cjhabs - 12-20-2022

Hi
I have an SSD I would like to install Ventoy on but it has a 4096 sector size.
I run Linux with no access to Windows.

sudo gdisk /dev/sdc gives:

Disk /dev/sdc1: 31256064 sectors, 119.2 GiB
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 38AAEDDA-2A84-4B23-B05A-57E99B87691B
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 5
First usable sector is 6, last usable sector is 31256058
Partitions will be aligned on 256-sector boundaries
Total free space is 31256053 sectors (119.2 GiB)


sudo ./Ventoy2Disk.sh -i /dev/sdc
gives:
Create partitions on /dev/sdc by parted in MBR style ...
Error: The location 249987071 is outside of the device /dev/sdc.
Done
Wait for partitions ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
Wait for /dev/sdc1//dev/sdc2 ...
sed: can't read /sys/class/block/sdc1/dev: No such file or directory
mknod -m 0660 /dev/sdc1 b  ...
mknod: missing operand after ‘b’
Special files require major and minor device numbers.
Try 'mknod --help' for more information.
sed: can't read /sys/class/block/sdc2/dev: No such file or directory
mknod -m 0660 /dev/sdc2 b  ...
mknod: missing operand after ‘b’
Special files require major and minor device numbers.
Try 'mknod --help' for more information.
[FAIL] /dev/sdc1//dev/sdc2 does not exist



Is there a way to install Ventoy on such a drive?
Thank you
Chris


RE: How to install Ventoy on 4096 byte sector media - Steve2926 - 12-20-2022

Legacy BIOS does not support 4k sector drives
- and Ventoy does not support it either.