Increase virtual HDD space on VMWare for Ubuntu
I am having an issue following instructions on how to increase from here.
I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
I can decrease size of sda1, but cannot increase it.
I've done:
- Shut down VM
- From settings change disk sizze
- in CD/DVD setting, load the Ubuntu ISO
- Start VM, press F2 to get in bios, and change Boot to CD first
5/ Run ubuntu as guest - sudo apt-get install gparted
- Run gparted
ubuntu virtual-machine vmware gparted
add a comment |
I am having an issue following instructions on how to increase from here.
I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
I can decrease size of sda1, but cannot increase it.
I've done:
- Shut down VM
- From settings change disk sizze
- in CD/DVD setting, load the Ubuntu ISO
- Start VM, press F2 to get in bios, and change Boot to CD first
5/ Run ubuntu as guest - sudo apt-get install gparted
- Run gparted
ubuntu virtual-machine vmware gparted
add a comment |
I am having an issue following instructions on how to increase from here.
I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
I can decrease size of sda1, but cannot increase it.
I've done:
- Shut down VM
- From settings change disk sizze
- in CD/DVD setting, load the Ubuntu ISO
- Start VM, press F2 to get in bios, and change Boot to CD first
5/ Run ubuntu as guest - sudo apt-get install gparted
- Run gparted
ubuntu virtual-machine vmware gparted
I am having an issue following instructions on how to increase from here.
I cannot get the unallocated space to merge with the sda1, no matter what I try. I allocate the 30GB, then try it that way, but it still doesn't work. I copied sda1 into unallocated -- still didn't work!
I can decrease size of sda1, but cannot increase it.
I've done:
- Shut down VM
- From settings change disk sizze
- in CD/DVD setting, load the Ubuntu ISO
- Start VM, press F2 to get in bios, and change Boot to CD first
5/ Run ubuntu as guest - sudo apt-get install gparted
- Run gparted
ubuntu virtual-machine vmware gparted
ubuntu virtual-machine vmware gparted
edited Oct 16 '17 at 0:17
Jeff Schaller
41.5k1056132
41.5k1056132
asked Apr 3 '16 at 12:03
SamNewbieSamNewbie
63
63
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1
. Until you move the swap space out of the way, then you cannot make sda1
bigger.
From the screen that you have up:
- Select the extended partition
/dev/sda2
. It includes/dev/sda5
, your swap space. - Menu
Partition
->Move
then move it to the end of the allocated space. - Then select the Primary partition:
/dev/sda1
. - Menu
Partition
->Resize
then grow it to the end of the (newly positioned) unallocated space.
Then Apply to make the changes take effect
#include <std/disclaimers.h>
Make backups first, your mileage may vary, RTFM, may destroy your system.
Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete/dev/sda2
(incl./dev/sda5
), extend/dev/sda1
, and then create/dev/sda2
as swap at the end of the disk. BTW, don't forget to edit the swap entry in/etc/fstab
– cas
Apr 4 '16 at 2:07
You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.
– ElderDelp
Apr 4 '16 at 18:00
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f273997%2fincrease-virtual-hdd-space-on-vmware-for-ubuntu%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
You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1
. Until you move the swap space out of the way, then you cannot make sda1
bigger.
From the screen that you have up:
- Select the extended partition
/dev/sda2
. It includes/dev/sda5
, your swap space. - Menu
Partition
->Move
then move it to the end of the allocated space. - Then select the Primary partition:
/dev/sda1
. - Menu
Partition
->Resize
then grow it to the end of the (newly positioned) unallocated space.
Then Apply to make the changes take effect
#include <std/disclaimers.h>
Make backups first, your mileage may vary, RTFM, may destroy your system.
Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete/dev/sda2
(incl./dev/sda5
), extend/dev/sda1
, and then create/dev/sda2
as swap at the end of the disk. BTW, don't forget to edit the swap entry in/etc/fstab
– cas
Apr 4 '16 at 2:07
You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.
– ElderDelp
Apr 4 '16 at 18:00
add a comment |
You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1
. Until you move the swap space out of the way, then you cannot make sda1
bigger.
From the screen that you have up:
- Select the extended partition
/dev/sda2
. It includes/dev/sda5
, your swap space. - Menu
Partition
->Move
then move it to the end of the allocated space. - Then select the Primary partition:
/dev/sda1
. - Menu
Partition
->Resize
then grow it to the end of the (newly positioned) unallocated space.
Then Apply to make the changes take effect
#include <std/disclaimers.h>
Make backups first, your mileage may vary, RTFM, may destroy your system.
Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete/dev/sda2
(incl./dev/sda5
), extend/dev/sda1
, and then create/dev/sda2
as swap at the end of the disk. BTW, don't forget to edit the swap entry in/etc/fstab
– cas
Apr 4 '16 at 2:07
You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.
– ElderDelp
Apr 4 '16 at 18:00
add a comment |
You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1
. Until you move the swap space out of the way, then you cannot make sda1
bigger.
From the screen that you have up:
- Select the extended partition
/dev/sda2
. It includes/dev/sda5
, your swap space. - Menu
Partition
->Move
then move it to the end of the allocated space. - Then select the Primary partition:
/dev/sda1
. - Menu
Partition
->Resize
then grow it to the end of the (newly positioned) unallocated space.
Then Apply to make the changes take effect
#include <std/disclaimers.h>
Make backups first, your mileage may vary, RTFM, may destroy your system.
You have the right tools in place to do what you want. The two steps you need to take are to move the extended disk to the end of the unallocated space, then you can grow /dev/sda1
. Until you move the swap space out of the way, then you cannot make sda1
bigger.
From the screen that you have up:
- Select the extended partition
/dev/sda2
. It includes/dev/sda5
, your swap space. - Menu
Partition
->Move
then move it to the end of the allocated space. - Then select the Primary partition:
/dev/sda1
. - Menu
Partition
->Resize
then grow it to the end of the (newly positioned) unallocated space.
Then Apply to make the changes take effect
#include <std/disclaimers.h>
Make backups first, your mileage may vary, RTFM, may destroy your system.
answered Apr 3 '16 at 18:29
ElderDelpElderDelp
20316
20316
Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete/dev/sda2
(incl./dev/sda5
), extend/dev/sda1
, and then create/dev/sda2
as swap at the end of the disk. BTW, don't forget to edit the swap entry in/etc/fstab
– cas
Apr 4 '16 at 2:07
You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.
– ElderDelp
Apr 4 '16 at 18:00
add a comment |
Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete/dev/sda2
(incl./dev/sda5
), extend/dev/sda1
, and then create/dev/sda2
as swap at the end of the disk. BTW, don't forget to edit the swap entry in/etc/fstab
– cas
Apr 4 '16 at 2:07
You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.
– ElderDelp
Apr 4 '16 at 18:00
Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete
/dev/sda2
(incl. /dev/sda5
), extend /dev/sda1
, and then create /dev/sda2
as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab
– cas
Apr 4 '16 at 2:07
Given that the extended partition contains only swap space, it would be simpler (and faster) to just delete
/dev/sda2
(incl. /dev/sda5
), extend /dev/sda1
, and then create /dev/sda2
as swap at the end of the disk. BTW, don't forget to edit the swap entry in /etc/fstab
– cas
Apr 4 '16 at 2:07
You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.
– ElderDelp
Apr 4 '16 at 18:00
You are right, cas! There is more than one way to do it. Editing /etc/fstab is a level of complexity that I was trying to avoid.
– ElderDelp
Apr 4 '16 at 18:00
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f273997%2fincrease-virtual-hdd-space-on-vmware-for-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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