Finally got around to upgrading to a 2TB hard drive for the node (Umbrel) since I stopped syncing a month ago and channels closed. Much easier than I anticipated… Cloning the drive and restarting the node with the new drive and back in action. Nice! #bitcoin
Login to reply
Replies (3)
I need to do exactly the same thing with my Umbrel node. I bought the HD ages ago but been putting it off. Any tips?
I used Gparted to copy the drive…
And got some AI assistance:
Quick Steps to Clone the Drive
1. Boot GParted Live:
• Insert the GParted Live USB, boot your PC, and select the USB from the Boot Menu (e.g., F12).
• Choose GParted Live (Default settings) or Safe graphics mode if needed. GParted should launch automatically.
2. Select Source Drive (1TB SSD):
• In GParted, use the dropdown menu (top-right) to select the 1TB SSD (e.g., /dev/sda). Confirm it’s the correct drive by checking its size and partition layout (Umbrel typically has a FAT32 boot partition and an ext4 data partition).
• Right-click each partition (e.g., /dev/sda1, /dev/sda2) and select Copy.
3. Select Target Drive (2TB SSD):
• From the dropdown, switch to the 2TB SSD (e.g., /dev/sdb). Verify it’s the correct drive by its size.
• If the 2TB SSD has existing partitions, right-click each and select Delete to make it unallocated (this erases all data on the target drive, so double-check).
4. Paste Partitions:
• Click the unallocated space on the 2TB SSD.
• Right-click and select Paste to copy each partition from the 1TB SSD. Repeat for all partitions.
• GParted will replicate the partition layout and data exactly as on the source drive.
5. (Optional) Resize Data Partition:
• The cloned partitions will match the 1TB SSD’s sizes, leaving unallocated space on the 2TB SSD.
• To use the extra space, right-click the main data partition (likely ext4, e.g., /dev/sdb2), select Resize/Move, and drag the slider to extend it into the unallocated space.
• Leave ~5-10% free space for SSD performance.
6. Apply Changes:
• Click the green checkmark in GParted’s toolbar to execute all operations.
• Cloning 1TB may take hours, depending on your connection (USB 3.0 or SATA is faster). Ensure the PC stays powered on.
7. Verify Boot Partition Flags:
• Ensure the boot partition (e.g., /dev/sdb1, likely FAT32) has the boot flag:
• Right-click the partition, select Manage Flags, and check boot.
• This ensures Umbrel OS boots correctly on the Raspberry Pi.
8. Test the Cloned Drive:
• Shut down the PC, disconnect the USB and 1TB SSD, and connect the 2TB SSD to the Raspberry Pi 4.
• Boot the Pi and verify Umbrel OS loads (check node status, files, or services).
With Umbrel did not need to worry about boot flags presumably because I am running from a rPi… but would assume you would if you are working with the boot drive.
Awesome, thank you!!