Commit 4e8d8b2e authored by longpanda's avatar longpanda
Browse files

Fix Windows 11 error 0x80070001. (#3010 #3029 #3105)

parent 60d88cb7
No preview for this file type
...@@ -625,6 +625,10 @@ else ...@@ -625,6 +625,10 @@ else
check_umount_disk "$DISK" check_umount_disk "$DISK"
vtoycli partresize -s $DISK $part2_start vtoycli partresize -s $DISK $part2_start
fi fi
vtinfo "update esp partition attribute"
vtoycli gpt -f $DISK
sync
echo "" echo ""
vtinfo "Update Ventoy on $DISK successfully finished." vtinfo "Update Ventoy on $DISK successfully finished."
......
...@@ -449,7 +449,6 @@ format_ventoy_disk_gpt() { ...@@ -449,7 +449,6 @@ format_ventoy_disk_gpt() {
mkpart Ventoy ntfs $part1_start_sector $part1_end_sector \ mkpart Ventoy ntfs $part1_start_sector $part1_end_sector \
mkpart VTOYEFI fat16 $part2_start_sector $part2_end_sector \ mkpart VTOYEFI fat16 $part2_start_sector $part2_end_sector \
$vt_set_efi_type \ $vt_set_efi_type \
set 2 hidden on \
quit quit
sync sync
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment