Ereignishorizont
Migrate Raspiblitz

Migrate Raspiblitz

Successfully Migrated: Raspiblitz from 1TB to 2TB Drive ✅

To fully clone a Raspiblitz drive – including applications, data, and Lightning channels – 1:1

🕒 Duration: approx. 2 hours
🖥️ System: Linux PC / Ubuntu Desktop
🔌 Equipment: Active USB hub, e.g. this one

Step-by-Step Guide 🔧

1. Preparation

  • Properly shut down the Raspiblitz.
  • Disconnect the external 1TB drive.

2. Cabling

  • Connect the USB hub to the power supply and to the Linux PC.
  • Enable two ports, first plug in the old 1TB drive, then the new 2TB drive.

3. Check Devices

lsblk

Example output:

sda  931.5G  # Source: old drive
sdb  1.8T    # Target: new drive

4. Clone the Drive (1:1)

sudo dd if=/dev/sda of=/dev/sdb bs=4M status=progress

➡️ Fully clones the old drive to the new one, bit by bit.

5. Flush Write Cache

sudo sync

➡️ Ensures that all data is actually written to the drive.

6. Disconnect & Reconnect Drives

  • Unmount both drives (e.g. via file manager or umount).
  • Reconnect only the newly cloned drive.

7. Check Size

lsblk

➡️ The new 2TB drive will initially show only the old (1TB) size.

8. Expand Partition with GParted

sudo apt install gparted
gparted
  • Select the new drive.
  • Extend the partition to full size using the slider.
  • Apply the changes and wait for the process to finish.

9. Reconnect & Reboot

  • Connect the new drive to the Raspiblitz.
  • Start the Raspiblitz – everything should work as before, just with more space.
  • It’s best to securely wipe the old drive now.

🏁 Conclusion

The migration went smoothly. dd creates an exact 1:1 copy, and gparted makes full use of the new drive’s storage.


Made with love 🧡 Since block 901799 / 901799