fix: update Linux bootable to Ubuntu 24.04.4, add format-persistence.sh, rewrite guide

- Update all 24.04.2 references to 24.04.4 (ISO name, URLs, SHA256, docs)
- Add format-persistence.sh to bootable/linux-setup/ (from working E: drive)
- Rewrite website guide.html Linux tutorial: Linux Mint + Rufus → Ventoy + Ubuntu

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hfshfg
2026-03-16 20:08:14 +08:00
parent 5813e384af
commit 953d87f59d
7 changed files with 68 additions and 75 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# One-click create and format persistence.dat for Ventoy
set -euo pipefail
VENTOY_DIR=$(dirname "$(dirname "$(readlink -f "$0")")")
PERSIST="$VENTOY_DIR/persistence.dat"
SIZE_GB=20
echo "Creating ${SIZE_GB}GB persistence image..."
dd if=/dev/zero of="$PERSIST" bs=1M count=0 seek=$((SIZE_GB * 1024))
mkfs.ext4 -F -L casper-rw "$PERSIST"
echo "Done! Reboot for persistence to take effect."