I had both the boot partition and the operating system partition of Raspbian on an 8GB SD-card, which I was using as a web server. After a few weeks, the SD card slowly died, and is now completely corrupted and unrecoverable.
How would I go about using a small SD card just for booting, then having the OS on a USB HDD? Can I just
dd the boot partition to an sd card, and then similarly
dd the root partition onto my USB HDD then resizing it to use the entire drive? Will I have to make any changes to the boot partition so it knows where to boot from?
I've searched around but can't find any good instructions, but if this is a dupe, please let me know and I'll close it.