Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Did you want to reinstall or did you not know better? For the latter case, dd (or cp actually, you rarely need dd!) and resize2fs (similar tools exist for other filesystems) have served me well to move to new storage with minimal effort. Copy the whole disk, resize the partition, resize the FS, set new boot drive, boot from new drive.


I thought it would be a good opportunity to improve some of my setup, in particular because I migrated my work config that covered way more cases. Also since I had all those setup scripts that I wrote to setup servers (git, python, postgresql, nginx, ...) I expected it would barely take more time (this part went fine actually!). In hindsight I regret not going the dd way which I had initially planned, even if the new setup is a bit cleaner.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: