linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
1.53k stars 75 forks source link

Restoration restores a system perfectly but with swap disabled #270

Open Menard01 opened 5 months ago

Menard01 commented 5 months ago

Describe the bug Working on a live Linux on a Ventoy USB Stick, and restoring a snapshot on an USB Hard Drive Reinstall Grub is checked /home is on another partition of this disk and must change for another one of the internal disk I first edited the fstab for the system to use the wanted /home on startup Then no boot then I use Grub repair and that worked

janv. 14 09:16:19 u1-MS-7721 swapon[429]: swapon: cannot open /swapfile: No such file or directory
janv. 14 09:16:19 u1-MS-7721 systemd[1]: swapfile.swap: Swap process exited, code=exited, status=255/EXCEPTION
janv. 14 09:16:19 u1-MS-7721 systemd[1]: swapfile.swap: Failed with result 'exit-code'.
janv. 14 09:16:19 u1-MS-7721 systemd[1]: Failed to activate swap /swapfile.
janv. 14 09:16:19 u1-MS-7721 systemd[1]: Dependency failed for Swaps.
janv. 14 09:16:19 u1-MS-7721 systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'.

Expected behavior Transfer the root partition to another USB Hard Disk on the first partition (empty, same memory place, same UUID)

System: