- 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
12 KiB
Executable File
12 KiB
Executable File