Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 792  / 2 Years ago, fri, august 5, 2022, 7:48:54

I'm new to Ubuntu and have chosen this distro to be my daily driver. I have installed Ubuntu 20.04 3 LTS (Focal Fossa) on a 256 GB SSD. It was pretty much a default installation with just the boot and root partitions.


I made a backup of this installation to a disk image on an external USB SSD drive using Clonezilla.


I have now replaced the computer's internal 256GB SSD drive with a 512GB SSD one and have successfully restored the Clonezilla backup image to the new disk. However, the additional disk space now available is not included in the root partition (it seems Clonezilla has restored the partitions with their original size and left the extra 256GB space as "unallocated" on the disk). Everything in Ubuntu still works fine though, just as it did before. This is what my disk looks like now:


gparted screenshot


I want to extend the root partition using the available (and adjacent) unallocated space in the new disk. I have tried booting from a live USB drive and using gparted to extend the root partition on the 512GB SSD but it does not allow me to increase it. How can I put the unallocated space to use? (I want it all in the root partition)


I researched this issue here before posting this question but I could not find a scenario similar to mine. I'm coming from decades of using Windows and am not too savvy when it comes to Linux.


Is what I'm trying to do even possible? Am I misunderstanding some basic concept?


Thank you for your help, and a Happy New Year :)


Regards,
jonnym


More From » boot

 Answers
1

I assume that by booting the live USB drive, your new SSD got mounted somehow.


Make sure that your SSD is unmounted before you start gparted. gparted refuses to work if the partition is already mounted. After you have unmounted it, most likely just by a sudo umount /dev/sda, there shouldn't be any problem in resizing your root partition.


[#893] Sunday, August 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reangi

Total Points: 213
Total Questions: 102
Total Answers: 114

Location: Namibia
Member since Wed, Jan 19, 2022
2 Years ago
reangi questions
Wed, Jun 29, 22, 09:36, 2 Years ago
Tue, Nov 29, 22, 12:04, 1 Year ago
Sun, Apr 9, 23, 22:26, 1 Year ago
;