Resize root partition to unallocated space before [duplicate]
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
This question already has an answer here:
How to extend my root (/) partition?
2 answers
I need more space on my root partition running Ubuntu 17 (using Xfce session).
I do have a lot of unallocated space BEFORE.
However, when I try to resize root partition - /dev/sdb2
, I can't add/remove a MiB...
Is this even possible?
If so, can it somehow be done from the live system or do I have to use live CD/USB?
There is really just Ubuntu and Xcfe session, LUBUNTU_SYSTEM is just an old label :)
partitioning gparted ext4 unallocated
marked as duplicate by user68186, Eric Carvalho, David Foerster, vidarlo, muru Feb 8 at 6:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
 |Â
show 1 more comment
up vote
1
down vote
favorite
This question already has an answer here:
How to extend my root (/) partition?
2 answers
I need more space on my root partition running Ubuntu 17 (using Xfce session).
I do have a lot of unallocated space BEFORE.
However, when I try to resize root partition - /dev/sdb2
, I can't add/remove a MiB...
Is this even possible?
If so, can it somehow be done from the live system or do I have to use live CD/USB?
There is really just Ubuntu and Xcfe session, LUBUNTU_SYSTEM is just an old label :)
partitioning gparted ext4 unallocated
marked as duplicate by user68186, Eric Carvalho, David Foerster, vidarlo, muru Feb 8 at 6:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
You cannot resize a mounted partition so you have to use a live session. Then you can first move your / partition to the beginning of your disk and then resize. I would recommend a backup before any operation on the partitions - one never knows ...
â muclux
Feb 2 at 17:28
@muclux will the system and booting remain untouched? :)
â jave.web
Feb 2 at 18:01
Well, as I said, better backup before. But normally all should go well, if you pay attention at what you are doing. Boot from Live DVD/USB, call gparted, move /dev/sdb2 to create an unallocated space behind it, and then resize /dev/sdb2. Don't mount your disk partitions during this operation.
â muclux
Feb 2 at 18:16
@muclux Thank you, booting a linux live USB (Lubuntu Try Mode) and using GParted worked :) ... I think that I have read somewhere that in newer versions you can resize/move even when in the live system - is it impossible in this case because it is not just expanding to the right but also moving to the left?
â jave.web
Feb 2 at 19:36
1
You can only grow to the right while it is mounted. Moving requires it to be unmounted. BTRFS can even shrink while it is mounted ;)
â psusi
Feb 2 at 19:37
 |Â
show 1 more comment
up vote
1
down vote
favorite
up vote
1
down vote
favorite
This question already has an answer here:
How to extend my root (/) partition?
2 answers
I need more space on my root partition running Ubuntu 17 (using Xfce session).
I do have a lot of unallocated space BEFORE.
However, when I try to resize root partition - /dev/sdb2
, I can't add/remove a MiB...
Is this even possible?
If so, can it somehow be done from the live system or do I have to use live CD/USB?
There is really just Ubuntu and Xcfe session, LUBUNTU_SYSTEM is just an old label :)
partitioning gparted ext4 unallocated
This question already has an answer here:
How to extend my root (/) partition?
2 answers
I need more space on my root partition running Ubuntu 17 (using Xfce session).
I do have a lot of unallocated space BEFORE.
However, when I try to resize root partition - /dev/sdb2
, I can't add/remove a MiB...
Is this even possible?
If so, can it somehow be done from the live system or do I have to use live CD/USB?
There is really just Ubuntu and Xcfe session, LUBUNTU_SYSTEM is just an old label :)
This question already has an answer here:
How to extend my root (/) partition?
2 answers
partitioning gparted ext4 unallocated
partitioning gparted ext4 unallocated
asked Feb 2 at 17:19
![](https://i.stack.imgur.com/rHRkY.jpg?s=32&g=1)
![](https://i.stack.imgur.com/rHRkY.jpg?s=32&g=1)
jave.web
1157
1157
marked as duplicate by user68186, Eric Carvalho, David Foerster, vidarlo, muru Feb 8 at 6:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by user68186, Eric Carvalho, David Foerster, vidarlo, muru Feb 8 at 6:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
You cannot resize a mounted partition so you have to use a live session. Then you can first move your / partition to the beginning of your disk and then resize. I would recommend a backup before any operation on the partitions - one never knows ...
â muclux
Feb 2 at 17:28
@muclux will the system and booting remain untouched? :)
â jave.web
Feb 2 at 18:01
Well, as I said, better backup before. But normally all should go well, if you pay attention at what you are doing. Boot from Live DVD/USB, call gparted, move /dev/sdb2 to create an unallocated space behind it, and then resize /dev/sdb2. Don't mount your disk partitions during this operation.
â muclux
Feb 2 at 18:16
@muclux Thank you, booting a linux live USB (Lubuntu Try Mode) and using GParted worked :) ... I think that I have read somewhere that in newer versions you can resize/move even when in the live system - is it impossible in this case because it is not just expanding to the right but also moving to the left?
â jave.web
Feb 2 at 19:36
1
You can only grow to the right while it is mounted. Moving requires it to be unmounted. BTRFS can even shrink while it is mounted ;)
â psusi
Feb 2 at 19:37
 |Â
show 1 more comment
2
You cannot resize a mounted partition so you have to use a live session. Then you can first move your / partition to the beginning of your disk and then resize. I would recommend a backup before any operation on the partitions - one never knows ...
â muclux
Feb 2 at 17:28
@muclux will the system and booting remain untouched? :)
â jave.web
Feb 2 at 18:01
Well, as I said, better backup before. But normally all should go well, if you pay attention at what you are doing. Boot from Live DVD/USB, call gparted, move /dev/sdb2 to create an unallocated space behind it, and then resize /dev/sdb2. Don't mount your disk partitions during this operation.
â muclux
Feb 2 at 18:16
@muclux Thank you, booting a linux live USB (Lubuntu Try Mode) and using GParted worked :) ... I think that I have read somewhere that in newer versions you can resize/move even when in the live system - is it impossible in this case because it is not just expanding to the right but also moving to the left?
â jave.web
Feb 2 at 19:36
1
You can only grow to the right while it is mounted. Moving requires it to be unmounted. BTRFS can even shrink while it is mounted ;)
â psusi
Feb 2 at 19:37
2
2
You cannot resize a mounted partition so you have to use a live session. Then you can first move your / partition to the beginning of your disk and then resize. I would recommend a backup before any operation on the partitions - one never knows ...
â muclux
Feb 2 at 17:28
You cannot resize a mounted partition so you have to use a live session. Then you can first move your / partition to the beginning of your disk and then resize. I would recommend a backup before any operation on the partitions - one never knows ...
â muclux
Feb 2 at 17:28
@muclux will the system and booting remain untouched? :)
â jave.web
Feb 2 at 18:01
@muclux will the system and booting remain untouched? :)
â jave.web
Feb 2 at 18:01
Well, as I said, better backup before. But normally all should go well, if you pay attention at what you are doing. Boot from Live DVD/USB, call gparted, move /dev/sdb2 to create an unallocated space behind it, and then resize /dev/sdb2. Don't mount your disk partitions during this operation.
â muclux
Feb 2 at 18:16
Well, as I said, better backup before. But normally all should go well, if you pay attention at what you are doing. Boot from Live DVD/USB, call gparted, move /dev/sdb2 to create an unallocated space behind it, and then resize /dev/sdb2. Don't mount your disk partitions during this operation.
â muclux
Feb 2 at 18:16
@muclux Thank you, booting a linux live USB (Lubuntu Try Mode) and using GParted worked :) ... I think that I have read somewhere that in newer versions you can resize/move even when in the live system - is it impossible in this case because it is not just expanding to the right but also moving to the left?
â jave.web
Feb 2 at 19:36
@muclux Thank you, booting a linux live USB (Lubuntu Try Mode) and using GParted worked :) ... I think that I have read somewhere that in newer versions you can resize/move even when in the live system - is it impossible in this case because it is not just expanding to the right but also moving to the left?
â jave.web
Feb 2 at 19:36
1
1
You can only grow to the right while it is mounted. Moving requires it to be unmounted. BTRFS can even shrink while it is mounted ;)
â psusi
Feb 2 at 19:37
You can only grow to the right while it is mounted. Moving requires it to be unmounted. BTRFS can even shrink while it is mounted ;)
â psusi
Feb 2 at 19:37
 |Â
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
A partition can only be resized by modifying its end. Therefore first, you have to move the /
partition to the beginning of the drive, gaining some free space after the moved /
partition. Then you can grow the /
partition which will be done by changing its end block number to a bigger number.
These actions can both be made through GParted, called from a live system on an USB or a DVD, but not from the current system where the partition is currently mounted.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
A partition can only be resized by modifying its end. Therefore first, you have to move the /
partition to the beginning of the drive, gaining some free space after the moved /
partition. Then you can grow the /
partition which will be done by changing its end block number to a bigger number.
These actions can both be made through GParted, called from a live system on an USB or a DVD, but not from the current system where the partition is currently mounted.
add a comment |Â
up vote
2
down vote
accepted
A partition can only be resized by modifying its end. Therefore first, you have to move the /
partition to the beginning of the drive, gaining some free space after the moved /
partition. Then you can grow the /
partition which will be done by changing its end block number to a bigger number.
These actions can both be made through GParted, called from a live system on an USB or a DVD, but not from the current system where the partition is currently mounted.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
A partition can only be resized by modifying its end. Therefore first, you have to move the /
partition to the beginning of the drive, gaining some free space after the moved /
partition. Then you can grow the /
partition which will be done by changing its end block number to a bigger number.
These actions can both be made through GParted, called from a live system on an USB or a DVD, but not from the current system where the partition is currently mounted.
A partition can only be resized by modifying its end. Therefore first, you have to move the /
partition to the beginning of the drive, gaining some free space after the moved /
partition. Then you can grow the /
partition which will be done by changing its end block number to a bigger number.
These actions can both be made through GParted, called from a live system on an USB or a DVD, but not from the current system where the partition is currently mounted.
edited Feb 5 at 18:35
![](https://i.stack.imgur.com/rHRkY.jpg?s=32&g=1)
![](https://i.stack.imgur.com/rHRkY.jpg?s=32&g=1)
jave.web
1157
1157
answered Feb 5 at 18:02
![](https://i.stack.imgur.com/MATL0.jpg?s=32&g=1)
![](https://i.stack.imgur.com/MATL0.jpg?s=32&g=1)
muclux
2,1931524
2,1931524
add a comment |Â
add a comment |Â
2
You cannot resize a mounted partition so you have to use a live session. Then you can first move your / partition to the beginning of your disk and then resize. I would recommend a backup before any operation on the partitions - one never knows ...
â muclux
Feb 2 at 17:28
@muclux will the system and booting remain untouched? :)
â jave.web
Feb 2 at 18:01
Well, as I said, better backup before. But normally all should go well, if you pay attention at what you are doing. Boot from Live DVD/USB, call gparted, move /dev/sdb2 to create an unallocated space behind it, and then resize /dev/sdb2. Don't mount your disk partitions during this operation.
â muclux
Feb 2 at 18:16
@muclux Thank you, booting a linux live USB (Lubuntu Try Mode) and using GParted worked :) ... I think that I have read somewhere that in newer versions you can resize/move even when in the live system - is it impossible in this case because it is not just expanding to the right but also moving to the left?
â jave.web
Feb 2 at 19:36
1
You can only grow to the right while it is mounted. Moving requires it to be unmounted. BTRFS can even shrink while it is mounted ;)
â psusi
Feb 2 at 19:37