Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

Hide VTOYEFI partition by marking as `diag`

Open wpyoga opened this issue 2 years ago • 2 comments

The VTOYEFI partition is flagged as msftdata. This causes the VTOYEFI partition to show up on XFCE desktop like this:

image

This patch hides the VTOYEFI partition by marking it as diag instead. The created Ventoy USB stick has been tested and works well. No issues with booting, and VTOYEFI partition is hidden on the XFCE desktop.

wpyoga avatar May 20 '23 14:05 wpyoga

OK so I tested this patch on a few different devices, and it is actually not compatible with some older laptops.

There are quite a few other options here: https://www.gnu.org/software/parted/manual/parted.html#set

I've tried msftres and esp, both work on modern laptops. However, I don't have access to older laptops right now, so any suggestions would be very much appreciated.

wpyoga avatar May 23 '23 04:05 wpyoga

The way windows install on empty disk creates EFI partition on gpart type partition table is with boot and esp flags and FAT32 type. However, non UEFI BIOS, does not handle such partitioning (MBR type partitions).

EricV avatar Dec 12 '23 10:12 EricV