Increasing size of virual box virtual disk [closed] - virtualbox

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am running Virtual Box 6.1, both host and clients are Ubuntu 20.04. I have run short of disk space and I want to increase the Virtual disk size.
Having spent a long time looking at different articles and trying different things the one that took me to where I am now is https://www.howtogeek.com/124622/how-to-enlarge-a-virtual-machines-disk-in-virtualbox-or-vmware/
ie Modified the vdi size using the Virtual Media Manager UI
Called
VBoxManage modifymedium disk “<path to my vdi>” --resize 36000 # ( I am using virtual box 6.1 so I assume this is the correct call).
Rebooted with the GParted Iso added as an optical drive.
However I am unable to increase the partition despite the partition apparently butting up against the newly created unallocated space.

The partition was sitting underneath an extended partition (see sda2) which needs to be increased before the UI will let you increase the partition itself. Doh!

Related

RAM allocated in virtual box [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have installed VirtualBox and also want to run it, but when I want to create kali Linux max based ram memory allocated it only 6GB, how do I change it?. can it change to higher more than 6GB? I watch it can reach higher than mine. my computer have 8gb ram. I need your help. I put my virtual box screenshot to
Pretty easy to do.
Power down the VM (the guest has to be off, not just not running but with a saved state).
Discard 'Saved State'
Open the VM's settings.
Open the System tab.
Change the "Base memory" value to however much RAM you want.
Power off the virtual box
Go to settings and click system allocate memory and click ok
Memory is changed successfully!

How to Shrink a VirtualBox Virtual Machine and Free Up Disk Space in nixos guest system? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I was following this instruction to try to shrink my virtual nixos.
It says,
You can’t actually use zerofree on your / partition while you’re booted into the standard Linux environment. Instead, you’ll want to boot into a special recovery mode where your normal root partition isn’t mounted.
But I can't find a place to boot into recovery mode in nixos.
Question: How to boot into some mode where my root partiion isn't mounted in nixos? Or how do I do zerofree in nixos?
NixOS does not have a recovery mode that uses an alternative root filesystem. You can do it yourself by adding extra entries to your bootloader by adding boot.loader.grub.extraEntries to your configuration.nix.
This way, you can boot into an another partition. You will need to prepare an extra installation on that partition. But considering that it's a VM there's probably a better option:
You may be able to attach the root filesystem of your stopped VM to a VM that has its own rootfs with zerofree on it. This way, you won't have to muck about with extra partitions.

Behavior of closing a Virtual Machine window in VirtualBox [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Can I set VirtualBox host to be automatically saved and closed, rather than asking me what to do for closing host window?
You can't tell VirtualBox to automatically save the state, or automatically power off the virtual machine when you attempt to close it.
If you're looking at the VirtualBox manager, though, and you have the machine selected, you could use one of the shortcuts (Control+V, ControlF for save/shutdown respectively) to save yourself a small amount of time.

Resize an Ubuntu partition without losing data [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have installed VirtualBox and an Ubuntu on my Windows machine. But after a while I needed more disk space, the problem is that my dev/sda1 partition (where I need more space) should be resized. Resizing it with the Ubuntu installation wizard will erase all the data (I have an Apache server, MySQL, etc... on it !).
My question: is it possible to resize the partition without losing the data ?
Or at least is it possible to restore it after the resizing ?
Boot from live Linux distro and use gparted. Don't forget to make a backup incase something goes wrong. More info.

Coldfusion 10 Add More Memory [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
We currently have a CF 10 Instance which we are monitoring via seeFusion.
We currently have 12GB of memory on this particular machine and whilst monitoring it within the server monitor it never skips a beat and appears to be quite reliable.
However whilst in seeFusion, the CF Instance appears to only have 486MB of memory...
I would like to bump this up as since it only has 486MB of memory, simple things like running a cfindex on a dataset of 40,000 records makes the entire server crash.
Any ideas on how to go about adding more memory to the CF Instance? Either by the Admin or programatically if this is possible ?
You can adjust the size of the JVM Heap in the Coldfusion Administrator in the Java and JVM section. This thread has some useful information and links: http://forums.adobe.com/thread/1027056