Files
backup_to_external_m.2/verify_boot_readiness.sh
Root User ab4a99b978 Fix LVM migration script with improved space calculation and partition handling
- Fixed integer expression errors in size calculations
- Improved partition detection to avoid 'not a block device' errors
- Added proper device cleanup before wiping to fix 'device busy' issues
- Implemented smart space allocation for same-size drives
- Added robust partition table handling with retry logic
- Changed VG name to 'migration-vg' to avoid conflicts
- Script now properly calculates sizes: 56GB root + 404GB home + 8GB swap + 2GB boot = 470GB total
- Tested with 476GB drives - fits perfectly with optimal space utilization
2025-09-29 16:23:35 +00:00

14 KiB
Executable File