The following is the current partitioning on my friend's Ubuntu machine.Here, /dev/sda5 is root file system. This is located on extended file system. I want to add the 80GB ext4 (/dev/sda3) and 250GB unallocated to root (/dev/sda5 - ext4).
I am able to extend only 80GB /dev/sda3. But could not extend /dev/sda5. Even with live cd, I have to delete both /dev/sda5 and /dev/sda2 to extend but that's resulting grub error. How can I achieve it without losing data? 
Asked
Active
Viewed 119 times
1
Vamshi
- 143
1 Answers
2
You need to do it from live CD(USB) in this order:
- If there are any data on
sda3you want to keep, back them up first. - delete
sda3 - select the extended partition
sda2and grow it's size to the most right. - select
sda5and grow it's size to the most right.
mook765
- 18,644