I have upgraded my Ubuntu hardrive from from 1 tb to 2 tb. I successfully cloned the original drive with "
dd" but had problems expanding the disk partitions to utilize the new space. After resizing the partitions, the computer booted normally, but Ubuntu went into "emergency mode" and would not start. I re-cloned the old drive to the new and now everything works normally, albeit without the new disk space being available.
The attached screenshot is a Gparted look at my new drive taken via a live boot USB. In more reading about this problem, I now know that I should have unmounted the swap partition before attempting to resize the expanded partition in which it resides.
I suspect my problem was found in resizing the expanded partition which contained the mounted swap partition. I am writing here to ask if there is anything else of which I should be aware. I expect the steps to follow, after unmounting the swap, are:
- Delete partition SDA6 (a sliver of an old windows install serving no purpose)
- Expand SDA2 (expanded partition) all the way to the right.
- Expand SDA7 (home partition) all the way to the right.
Also, there is now a drive SDC that appears to be the same drive as SDA. I do not know what this is, perhaps a leftover from my first attempt at expanding partitions? Here is a screen shot of that as well.
Is there anything else I should know and/or do? In reading through many posts on this forum, it sounds like this is a straight forward process with Gparted, but I am asking here for advice before I make a second attempt.