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:
10
bootable/linux-setup/format-persistence.sh
Normal file
10
bootable/linux-setup/format-persistence.sh
Normal 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."
|
||||
Reference in New Issue
Block a user