How to increase size on root.union partition











up vote
-2
down vote

favorite












I am trying to update 3B image to run on 3B+ but it needs to install packages worth 480MBs. They are to be installed on /var/cache/apt but I only have about 360MBs free on that partition. You can have a better understanding by looking at the image attached Disk partitions
The sd card has about 3Gigs of unallocated memory that I can use to expand mmcblk0p1 or p2 but I don't know how to expand root.union.










share|improve this question
























  • I think your question is not really clear because it is a single piece of text without paragraphs. Use carriage return to increase legibility. Providing mount output may also help
    – lauhub
    Nov 27 at 9:46















up vote
-2
down vote

favorite












I am trying to update 3B image to run on 3B+ but it needs to install packages worth 480MBs. They are to be installed on /var/cache/apt but I only have about 360MBs free on that partition. You can have a better understanding by looking at the image attached Disk partitions
The sd card has about 3Gigs of unallocated memory that I can use to expand mmcblk0p1 or p2 but I don't know how to expand root.union.










share|improve this question
























  • I think your question is not really clear because it is a single piece of text without paragraphs. Use carriage return to increase legibility. Providing mount output may also help
    – lauhub
    Nov 27 at 9:46













up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











I am trying to update 3B image to run on 3B+ but it needs to install packages worth 480MBs. They are to be installed on /var/cache/apt but I only have about 360MBs free on that partition. You can have a better understanding by looking at the image attached Disk partitions
The sd card has about 3Gigs of unallocated memory that I can use to expand mmcblk0p1 or p2 but I don't know how to expand root.union.










share|improve this question















I am trying to update 3B image to run on 3B+ but it needs to install packages worth 480MBs. They are to be installed on /var/cache/apt but I only have about 360MBs free on that partition. You can have a better understanding by looking at the image attached Disk partitions
The sd card has about 3Gigs of unallocated memory that I can use to expand mmcblk0p1 or p2 but I don't know how to expand root.union.







linux partition lvm raspberry-pi gparted






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 28 at 16:27

























asked Nov 27 at 8:59









Usman Khan

53




53












  • I think your question is not really clear because it is a single piece of text without paragraphs. Use carriage return to increase legibility. Providing mount output may also help
    – lauhub
    Nov 27 at 9:46


















  • I think your question is not really clear because it is a single piece of text without paragraphs. Use carriage return to increase legibility. Providing mount output may also help
    – lauhub
    Nov 27 at 9:46
















I think your question is not really clear because it is a single piece of text without paragraphs. Use carriage return to increase legibility. Providing mount output may also help
– lauhub
Nov 27 at 9:46




I think your question is not really clear because it is a single piece of text without paragraphs. Use carriage return to increase legibility. Providing mount output may also help
– lauhub
Nov 27 at 9:46










1 Answer
1






active

oldest

votes

















up vote
0
down vote













It seems it is not root.union (/ mount point) you need to expand but /deb/mmcblk0p2 partition (/ro mount point).



You should be able to resize the underlying FS. The following links may help you:





  • How can I resize my root partition in Debian?

  • How can I resize an ext root partition at runtime?


As your /ro should be mounted read-only (I assume this, but can't know for sure since I miss your mount command output) I think it could be easy to do.






share|improve this answer





















  • I have already expanded mmcblk0p2 from 4Gigs to about 7Gigs but /var still returned me error saying that you need more space. I think /ro and / are two different partitions?
    – Usman Khan
    Nov 27 at 9:57













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484401%2fhow-to-increase-size-on-root-union-partition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













It seems it is not root.union (/ mount point) you need to expand but /deb/mmcblk0p2 partition (/ro mount point).



You should be able to resize the underlying FS. The following links may help you:





  • How can I resize my root partition in Debian?

  • How can I resize an ext root partition at runtime?


As your /ro should be mounted read-only (I assume this, but can't know for sure since I miss your mount command output) I think it could be easy to do.






share|improve this answer





















  • I have already expanded mmcblk0p2 from 4Gigs to about 7Gigs but /var still returned me error saying that you need more space. I think /ro and / are two different partitions?
    – Usman Khan
    Nov 27 at 9:57

















up vote
0
down vote













It seems it is not root.union (/ mount point) you need to expand but /deb/mmcblk0p2 partition (/ro mount point).



You should be able to resize the underlying FS. The following links may help you:





  • How can I resize my root partition in Debian?

  • How can I resize an ext root partition at runtime?


As your /ro should be mounted read-only (I assume this, but can't know for sure since I miss your mount command output) I think it could be easy to do.






share|improve this answer





















  • I have already expanded mmcblk0p2 from 4Gigs to about 7Gigs but /var still returned me error saying that you need more space. I think /ro and / are two different partitions?
    – Usman Khan
    Nov 27 at 9:57















up vote
0
down vote










up vote
0
down vote









It seems it is not root.union (/ mount point) you need to expand but /deb/mmcblk0p2 partition (/ro mount point).



You should be able to resize the underlying FS. The following links may help you:





  • How can I resize my root partition in Debian?

  • How can I resize an ext root partition at runtime?


As your /ro should be mounted read-only (I assume this, but can't know for sure since I miss your mount command output) I think it could be easy to do.






share|improve this answer












It seems it is not root.union (/ mount point) you need to expand but /deb/mmcblk0p2 partition (/ro mount point).



You should be able to resize the underlying FS. The following links may help you:





  • How can I resize my root partition in Debian?

  • How can I resize an ext root partition at runtime?


As your /ro should be mounted read-only (I assume this, but can't know for sure since I miss your mount command output) I think it could be easy to do.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 27 at 9:51









lauhub

430616




430616












  • I have already expanded mmcblk0p2 from 4Gigs to about 7Gigs but /var still returned me error saying that you need more space. I think /ro and / are two different partitions?
    – Usman Khan
    Nov 27 at 9:57




















  • I have already expanded mmcblk0p2 from 4Gigs to about 7Gigs but /var still returned me error saying that you need more space. I think /ro and / are two different partitions?
    – Usman Khan
    Nov 27 at 9:57


















I have already expanded mmcblk0p2 from 4Gigs to about 7Gigs but /var still returned me error saying that you need more space. I think /ro and / are two different partitions?
– Usman Khan
Nov 27 at 9:57






I have already expanded mmcblk0p2 from 4Gigs to about 7Gigs but /var still returned me error saying that you need more space. I think /ro and / are two different partitions?
– Usman Khan
Nov 27 at 9:57




















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484401%2fhow-to-increase-size-on-root-union-partition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre