calab-ntu / gpu-cluster

Eureka and Spock GPU clusters
3 stars 0 forks source link

Backup whole systme of login node. #53

Closed xuanweishan closed 8 months ago

xuanweishan commented 1 year ago

The backup SSD should be able to boot up as the original one.

xuanweishan commented 1 year ago
  1. Install ubuntu LIVE USB and system to be clone and the target disk on the PC.
  2. Boot PC with LIVE USB.
  3. Close the ubuntu installation program and enter the experience mode.
  4. Check disk names with lsblk to get source disk and target disk name.
  5. Clone system with dd.
    sudo dd if=/dev/nvme1n1 of=/dev/nvmeXn1 bs=64K conv=noerror,sync
    #          [source disk]   [target disk]
  6. Check result, boot up PC with target disk.