If your new disk is larger than the old disk, you could DD the SD card to the SSD, from another PC. Then when you boot the Raspberry Pi from SSD, run sudo resize-fs
, which will expand the root partition to the maximum size of the SSD.
If your new disk is larger than the old disk, you could DD the SD card to the SSD, from another PC. Then when you boot the Raspberry Pi from SSD, run sudo resize-fs
, which will expand the root partition to the maximum size of the SSD.