Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue]: ~50% risk that each installation fails to format the exFAT partition. Use partprobe #2594

Open
1 task done
davidhedlund opened this issue Oct 3, 2023 · 2 comments

Comments

@davidhedlund
Copy link

davidhedlund commented Oct 3, 2023

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.95

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

32GB

Disk Manufacturer

godenfir

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

No response

What happened?

There's an estimated 50% risk (test repeated 10 times) that it fails to write the exFAT partition (see "unknown" file system in the gparted screenshot), but it always succeeds writing the fat16 partition.

Failed exFAT

image

$ sudo lsblk -f -m /dev/sdc
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS  SIZE OWNER GROUP MODE
sdc                                                     29.8G root  disk  brw-rw----
$ sudo fdisk -l /dev/sdc
[sudo] password for blues: 
Disk /dev/sdc: 29.82 GiB, 32017047552 bytes, 62533296 sectors
Disk model: SSD 32GB        
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E526962D-67BF-DC64-FE6B-75EDABD8CED8

Device        Start      End  Sectors  Size Type
/dev/sdc1      2048 62467719 62465672 29.8G Microsoft basic data
/dev/sdc2  62467720 62533255    65536   32M Microsoft basic data
Partitions not always updated in GUIs

gnome-disk will not automatically list the Ventoy partitions, if Ventoy fails to install the exFAT partition. I filed a feature request to gnome-disk [feature request]: "Refresh Devices" (like GParted). They closed the feature request and replied that: "This Ventoy program should take care of running partprobe.". Log out/log in does not work. You must reboot (or hit the "Refresh Devices" in gparted)

gnome-disk

image

gparted:

image

image

image

$ sudo lsblk -f -m /dev/sdc
NAME   FSTYPE FSVER LABEL   UUID                                 FSAVAIL FSUSE% MOUNTPOINTS  SIZE OWNER GROUP MODE
sdc                                                                                         29.8G root  disk  brw-rw----
├─sdc1 exfat  1.0   Ventoy  D551-2DAE                                                       29.8G root  disk  brw-rw----
└─sdc2 vfat   FAT16 VTOYEFI F767-A619                                                         32M root  disk  brw-rw----

I'm a bit confused that "exfat" is displayed in the terminal, but not in gparted.

Succeeded exFAT

image

$ sudo lsblk -f -m /dev/sdc
NAME   FSTYPE FSVER LABEL   UUID                                 FSAVAIL FSUSE% MOUNTPOINTS  SIZE OWNER GROUP MODE
sdc                                                                                         29.8G root  disk  brw-rw----
├─sdc1 exfat  1.0   Ventoy  7D5E-F4BC                                                       29.8G root  disk  brw-rw----
└─sdc2 vfat   FAT16 VTOYEFI F767-A619                                                         32M root  disk  brw-rw----

gnome-disk:

image

gparted:

image

image

image

More info

./VentoyGUI.x86_64
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
  • OS: Ubuntu MATE 22.04
@davidhedlund davidhedlund changed the title [issue]: ~50% risk that each installation fails to format the exFAT partition [issue]: ~50% risk that each installation fails to format the exFAT partition. Use partprobe Oct 5, 2023
@davidhedlund
Copy link
Author

davidhedlund commented Oct 5, 2023

A GNOME developer said "This Ventoy program should take care of running partprobe.".

@davidhedlund
Copy link
Author

@ventoy This is a very serious issue that deserves priority in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant