How to merge my unallocated to root partition

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












How to merge this unallocated space to my root partition.



enter image description here







share|improve this question


















  • 1




    Possible duplicate of What does it mean for two partitions to be adjacent?
    – waltinator
    May 16 at 4:23










  • The partitions must be adjacent. You'll have to move each intervening partion right, until Unused is next you your root partition.
    – waltinator
    May 16 at 4:26










  • Did you try booting with a live CD/pendrive, move the partitions so you can increase root partition using the unallocated space?
    – Pablo Bianchi
    May 16 at 4:42










  • Possible duplicate of How to resize partitions?
    – karel
    May 16 at 12:50














up vote
1
down vote

favorite












How to merge this unallocated space to my root partition.



enter image description here







share|improve this question


















  • 1




    Possible duplicate of What does it mean for two partitions to be adjacent?
    – waltinator
    May 16 at 4:23










  • The partitions must be adjacent. You'll have to move each intervening partion right, until Unused is next you your root partition.
    – waltinator
    May 16 at 4:26










  • Did you try booting with a live CD/pendrive, move the partitions so you can increase root partition using the unallocated space?
    – Pablo Bianchi
    May 16 at 4:42










  • Possible duplicate of How to resize partitions?
    – karel
    May 16 at 12:50












up vote
1
down vote

favorite









up vote
1
down vote

favorite











How to merge this unallocated space to my root partition.



enter image description here







share|improve this question














How to merge this unallocated space to my root partition.



enter image description here









share|improve this question













share|improve this question




share|improve this question








edited May 16 at 19:37









guntbert

8,691123067




8,691123067










asked May 16 at 4:22









brows

61




61







  • 1




    Possible duplicate of What does it mean for two partitions to be adjacent?
    – waltinator
    May 16 at 4:23










  • The partitions must be adjacent. You'll have to move each intervening partion right, until Unused is next you your root partition.
    – waltinator
    May 16 at 4:26










  • Did you try booting with a live CD/pendrive, move the partitions so you can increase root partition using the unallocated space?
    – Pablo Bianchi
    May 16 at 4:42










  • Possible duplicate of How to resize partitions?
    – karel
    May 16 at 12:50












  • 1




    Possible duplicate of What does it mean for two partitions to be adjacent?
    – waltinator
    May 16 at 4:23










  • The partitions must be adjacent. You'll have to move each intervening partion right, until Unused is next you your root partition.
    – waltinator
    May 16 at 4:26










  • Did you try booting with a live CD/pendrive, move the partitions so you can increase root partition using the unallocated space?
    – Pablo Bianchi
    May 16 at 4:42










  • Possible duplicate of How to resize partitions?
    – karel
    May 16 at 12:50







1




1




Possible duplicate of What does it mean for two partitions to be adjacent?
– waltinator
May 16 at 4:23




Possible duplicate of What does it mean for two partitions to be adjacent?
– waltinator
May 16 at 4:23












The partitions must be adjacent. You'll have to move each intervening partion right, until Unused is next you your root partition.
– waltinator
May 16 at 4:26




The partitions must be adjacent. You'll have to move each intervening partion right, until Unused is next you your root partition.
– waltinator
May 16 at 4:26












Did you try booting with a live CD/pendrive, move the partitions so you can increase root partition using the unallocated space?
– Pablo Bianchi
May 16 at 4:42




Did you try booting with a live CD/pendrive, move the partitions so you can increase root partition using the unallocated space?
– Pablo Bianchi
May 16 at 4:42












Possible duplicate of How to resize partitions?
– karel
May 16 at 12:50




Possible duplicate of How to resize partitions?
– karel
May 16 at 12:50










1 Answer
1






active

oldest

votes

















up vote
1
down vote













First of all, editing partitions always comes with the risk of data loss, so please back up your system first. If you use a laptop, make sure your power supply is connected properly, you don't want to run out of battery while performing such actions.



You can't edit partitions while they are mounted, so you have to boot from your installer medium (USB,DVD) and choose the Try Ubuntu without installing option. Then open GParted. Now perform the following steps:



  1. Select the swap-partition sda6 with a right-click and choose swapoff

  2. Select the extended partition sda2 with a right-click, choose Resize/Move and increase the size of this partition to the right.

  3. Select the swap-partition sda6 with a right-click, choose Resize/Moveand move the partition to the right.

  4. Select the data-partition sda5 with a right-click, choose Resize/Move and move the partition to the right. This will take some time, 66GB of data have to be moved, be patient.

  5. Select the extended partition sda2 with a right-click, choose Resize/Move and decrease the size of this partition on it's left end.

  6. Select your system-partition sda1 with a right-click, choose Resize/Move and increase the size of the partition to the right.

After each step click the Apply-button (the small green check-mark in GParted's toolbar).






share|improve this answer




















  • +1. This should work but there is a risk, which you say. So there should be a backup. And if there is a backup (backed up files), I think it would be easier and faster to remove the content of the extended partition, and then the extended partition will be very easy to shrink and/or move and use the created unallocated space near the root partition to grow that partition. Afterwards it is easy and fast to create logical partitions again and copy back the data. The swap partition can be created (and needs no restore of data). But make its UUID match the swap line in the file /etc/fstab.
    – sudodus
    May 16 at 19:53










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036789%2fhow-to-merge-my-unallocated-to-root-partition%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













First of all, editing partitions always comes with the risk of data loss, so please back up your system first. If you use a laptop, make sure your power supply is connected properly, you don't want to run out of battery while performing such actions.



You can't edit partitions while they are mounted, so you have to boot from your installer medium (USB,DVD) and choose the Try Ubuntu without installing option. Then open GParted. Now perform the following steps:



  1. Select the swap-partition sda6 with a right-click and choose swapoff

  2. Select the extended partition sda2 with a right-click, choose Resize/Move and increase the size of this partition to the right.

  3. Select the swap-partition sda6 with a right-click, choose Resize/Moveand move the partition to the right.

  4. Select the data-partition sda5 with a right-click, choose Resize/Move and move the partition to the right. This will take some time, 66GB of data have to be moved, be patient.

  5. Select the extended partition sda2 with a right-click, choose Resize/Move and decrease the size of this partition on it's left end.

  6. Select your system-partition sda1 with a right-click, choose Resize/Move and increase the size of the partition to the right.

After each step click the Apply-button (the small green check-mark in GParted's toolbar).






share|improve this answer




















  • +1. This should work but there is a risk, which you say. So there should be a backup. And if there is a backup (backed up files), I think it would be easier and faster to remove the content of the extended partition, and then the extended partition will be very easy to shrink and/or move and use the created unallocated space near the root partition to grow that partition. Afterwards it is easy and fast to create logical partitions again and copy back the data. The swap partition can be created (and needs no restore of data). But make its UUID match the swap line in the file /etc/fstab.
    – sudodus
    May 16 at 19:53














up vote
1
down vote













First of all, editing partitions always comes with the risk of data loss, so please back up your system first. If you use a laptop, make sure your power supply is connected properly, you don't want to run out of battery while performing such actions.



You can't edit partitions while they are mounted, so you have to boot from your installer medium (USB,DVD) and choose the Try Ubuntu without installing option. Then open GParted. Now perform the following steps:



  1. Select the swap-partition sda6 with a right-click and choose swapoff

  2. Select the extended partition sda2 with a right-click, choose Resize/Move and increase the size of this partition to the right.

  3. Select the swap-partition sda6 with a right-click, choose Resize/Moveand move the partition to the right.

  4. Select the data-partition sda5 with a right-click, choose Resize/Move and move the partition to the right. This will take some time, 66GB of data have to be moved, be patient.

  5. Select the extended partition sda2 with a right-click, choose Resize/Move and decrease the size of this partition on it's left end.

  6. Select your system-partition sda1 with a right-click, choose Resize/Move and increase the size of the partition to the right.

After each step click the Apply-button (the small green check-mark in GParted's toolbar).






share|improve this answer




















  • +1. This should work but there is a risk, which you say. So there should be a backup. And if there is a backup (backed up files), I think it would be easier and faster to remove the content of the extended partition, and then the extended partition will be very easy to shrink and/or move and use the created unallocated space near the root partition to grow that partition. Afterwards it is easy and fast to create logical partitions again and copy back the data. The swap partition can be created (and needs no restore of data). But make its UUID match the swap line in the file /etc/fstab.
    – sudodus
    May 16 at 19:53












up vote
1
down vote










up vote
1
down vote









First of all, editing partitions always comes with the risk of data loss, so please back up your system first. If you use a laptop, make sure your power supply is connected properly, you don't want to run out of battery while performing such actions.



You can't edit partitions while they are mounted, so you have to boot from your installer medium (USB,DVD) and choose the Try Ubuntu without installing option. Then open GParted. Now perform the following steps:



  1. Select the swap-partition sda6 with a right-click and choose swapoff

  2. Select the extended partition sda2 with a right-click, choose Resize/Move and increase the size of this partition to the right.

  3. Select the swap-partition sda6 with a right-click, choose Resize/Moveand move the partition to the right.

  4. Select the data-partition sda5 with a right-click, choose Resize/Move and move the partition to the right. This will take some time, 66GB of data have to be moved, be patient.

  5. Select the extended partition sda2 with a right-click, choose Resize/Move and decrease the size of this partition on it's left end.

  6. Select your system-partition sda1 with a right-click, choose Resize/Move and increase the size of the partition to the right.

After each step click the Apply-button (the small green check-mark in GParted's toolbar).






share|improve this answer












First of all, editing partitions always comes with the risk of data loss, so please back up your system first. If you use a laptop, make sure your power supply is connected properly, you don't want to run out of battery while performing such actions.



You can't edit partitions while they are mounted, so you have to boot from your installer medium (USB,DVD) and choose the Try Ubuntu without installing option. Then open GParted. Now perform the following steps:



  1. Select the swap-partition sda6 with a right-click and choose swapoff

  2. Select the extended partition sda2 with a right-click, choose Resize/Move and increase the size of this partition to the right.

  3. Select the swap-partition sda6 with a right-click, choose Resize/Moveand move the partition to the right.

  4. Select the data-partition sda5 with a right-click, choose Resize/Move and move the partition to the right. This will take some time, 66GB of data have to be moved, be patient.

  5. Select the extended partition sda2 with a right-click, choose Resize/Move and decrease the size of this partition on it's left end.

  6. Select your system-partition sda1 with a right-click, choose Resize/Move and increase the size of the partition to the right.

After each step click the Apply-button (the small green check-mark in GParted's toolbar).







share|improve this answer












share|improve this answer



share|improve this answer










answered May 16 at 8:04









mook765

2,8052717




2,8052717











  • +1. This should work but there is a risk, which you say. So there should be a backup. And if there is a backup (backed up files), I think it would be easier and faster to remove the content of the extended partition, and then the extended partition will be very easy to shrink and/or move and use the created unallocated space near the root partition to grow that partition. Afterwards it is easy and fast to create logical partitions again and copy back the data. The swap partition can be created (and needs no restore of data). But make its UUID match the swap line in the file /etc/fstab.
    – sudodus
    May 16 at 19:53
















  • +1. This should work but there is a risk, which you say. So there should be a backup. And if there is a backup (backed up files), I think it would be easier and faster to remove the content of the extended partition, and then the extended partition will be very easy to shrink and/or move and use the created unallocated space near the root partition to grow that partition. Afterwards it is easy and fast to create logical partitions again and copy back the data. The swap partition can be created (and needs no restore of data). But make its UUID match the swap line in the file /etc/fstab.
    – sudodus
    May 16 at 19:53















+1. This should work but there is a risk, which you say. So there should be a backup. And if there is a backup (backed up files), I think it would be easier and faster to remove the content of the extended partition, and then the extended partition will be very easy to shrink and/or move and use the created unallocated space near the root partition to grow that partition. Afterwards it is easy and fast to create logical partitions again and copy back the data. The swap partition can be created (and needs no restore of data). But make its UUID match the swap line in the file /etc/fstab.
– sudodus
May 16 at 19:53




+1. This should work but there is a risk, which you say. So there should be a backup. And if there is a backup (backed up files), I think it would be easier and faster to remove the content of the extended partition, and then the extended partition will be very easy to shrink and/or move and use the created unallocated space near the root partition to grow that partition. Afterwards it is easy and fast to create logical partitions again and copy back the data. The swap partition can be created (and needs no restore of data). But make its UUID match the swap line in the file /etc/fstab.
– sudodus
May 16 at 19:53












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036789%2fhow-to-merge-my-unallocated-to-root-partition%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491