November 30, 20196 yr On 7/13/2019 at 3:14 AM, steve1977 said: Any thoughts how I can accomplish above? I suspect that you may already have slightly over-committed the available space due to the fact that the SSD size will be using decimal units (where K = 1000) and the size you set for the vdisk is binary units (where K = 1024). When using vdisks a little spare space is always a good idea as you can start getting strange errors in a VM if all available space on the underlying file system is used.
December 30, 20196 yr I was able to fix the greyed out "extend partition" in Windows 10 by downloading a free third party partition tool for windows. Odd that Windows disk manager cant address the issue but a free tool can.
January 25, 20215 yr I don't know if i am doing something wrong but no method is working for me. Running "qemu-img resize vdisk1.img +5G" or change the Disk size by clicking the VM name. Here is a short Video: Unraid Vdisk NoChange.mp4
February 10, 20215 yr On 5/6/2015 at 4:14 AM, jonp said: Also, instead of putting in an absolute size, you can also do this: qemu-img resize vdisk1.img +5G That would simply grow the image from its current size by 5GB. This broke my VM :.(
March 29, 20215 yr On 12/30/2019 at 10:36 AM, black296tuuk said: I was able to fix the greyed out "extend partition" in Windows 10 by downloading a free third party partition tool for windows. Odd that Windows disk manager cant address the issue but a free tool can. In case if anyone facing the same, this solve the problem. NOTE: in my case, i use MiniTool Partition Wizard (free version)
April 6, 20215 yr On 3/28/2021 at 9:04 PM, HaOz Ong said: In case if anyone facing the same, this solve the problem. NOTE: in my case, i use MiniTool Partition Wizard (free version) Thanks. I was having the problem and this solved it!
July 28, 20223 yr Right click My PC> Manage. On the left drop down Storage> Disk Management> Right click the Unallocated space. And it give you option to run "New Simple Volume Wizard". It'll ask you the size you want to format it to (NTFS is default). And run. Restart. I was able to finish installing drivers You can also change the default installation location from you main 😄 drive to your new partition: https://winbuzzer.com/2020/07/01/how-to-change-the-default-app-install-location-in-windows-10-xcxwbt/ Edited August 1, 20223 yr by xlucero1
July 28, 20223 yr This makes a 2nd separate partition instead of increasing the size of the existing one, might not always be practical. Edited July 28, 20223 yr by Kilrah
October 10, 20223 yr For those that are increasing a Windows 10/11 VM, you do not need to download a 3rd party partition utility. Windows comes with a built-in utility called diskpart that will delete the Recovery partition for you. It is not difficult to use. Open a command prompt as Administrator. Type diskpart and press Enter. Find the disk number for your OS, usually disk 0 with the command list disk. You will see at least one disk listed. Make sure to select the correct disk. Assuming your OS is Disk 0, enter command select disk 0. Now, we need to list the partitions. Enter the command list part. If you used the default setup when installing Windows you likely have 4 partitions and the Recovery partition is Partition 4. So select it with the command select partition 4. Now, to delete use the command delete partition override. Lastly, right-click the Start menu, and select Disk Management. You should be able to Extend Volume by right-clicking on the C partition. Follow the wizard to complete.
October 25, 20223 yr On 10/10/2022 at 6:48 PM, Eddie Seelke said: For those that are increasing a Windows 10/11 VM, you do not need to download a 3rd party partition utility. Windows comes with a built-in utility called diskpart that will delete the Recovery partition for you. It is not difficult to use. Open a command prompt as Administrator. Type diskpart and press Enter. Find the disk number for your OS, usually disk 0 with the command list disk. You will see at least one disk listed. Make sure to select the correct disk. Assuming your OS is Disk 0, enter command select disk 0. Now, we need to list the partitions. Enter the command list part. If you used the default setup when installing Windows you likely have 4 partitions and the Recovery partition is Partition 4. So select it with the command select partition 4. Now, to delete use the command delete partition override. Lastly, right-click the Start menu, and select Disk Management. You should be able to Extend Volume by right-clicking on the C partition. Follow the wizard to complete. Do you have any step by step guide like this one for allocation more disk space on Ubuntu VM?
December 7, 20241 yr Quote On 6/11/2015 at 10:08 AM, danioj said: *Running RC4. I just came across this post because I too have the need to grow a VM .img file a little. I have always been used to doing this from the command line BUT I was interested to try the GUI route. However, no matter what menu I selected no matter where I clicked I couldn't find the size setting of the "existing" .img file to change. Has this been removed recently or am I just blind. qemu-img resize vdisk1.img +5G That command worked like a charm. I DID have to do some partition fiddling within the Windows 10 VM as Windows created a recovery partition after the main system partition which stopped me from extending. AND for some reason Windows 10 doesn't want to let me delete it. So for those who come across this post who have a similar issue I used this free tool. http://www.easeus.com/partition-manager/epm-free.html They "Push" their paid versions obviously but this free version (not trial) should work fine. This app worked. Just had to move the recovery to the end of the disk first, then merge the free space to disk c. Edited December 7, 20241 yr by Caddy
February 7, 20251 yr 15 minutes ago, Braulio Dias Ribeiro said: How do I do this on Ubuntu Server? How do I increase the disk partition? Assuming you already made the allocation larger and want to expand the partition to fill it, the easiest way is to create a "utility" VM with all your management tools like gparted and such, then add the Ubuntu Server virtual disk as a second disk to the utility VM. Obviously the server VM must not be running while you work on it. I'm sure there are command line utilities to accomplish it inside the server itself, but it's easier for me to just mount it to another VM.
February 8, 20251 yr 39 minutes ago, JonathanM said: Assuming you already made the allocation larger and want to expand the partition to fill it, the easiest way is to create a "utility" VM with all your management tools like gparted and such, then add the Ubuntu Server virtual disk as a second disk to the utility VM. Obviously the server VM must not be running while you work on it. I'm sure there are command line utilities to accomplish it inside the server itself, but it's easier for me to just mount it to another VM. So I would have two Linux systems. How am I going to access the HD of system 1 if it is a closed file of a virtual machine? Would I have to mount this machine? I have no idea how to do it.
February 8, 20251 yr boot-repair-disk is a good tool for that., make a VM for it, select it as iso, manually specify the vdisk and point to the one of your ubuntu VM. But growing can be done within the running system so you can just open gparted in that and grow your partition.
February 19, 20251 yr On 2/8/2025 at 5:19 AM, Kilrah said: boot-repair-disk is a good tool for that., make a VM for it, select it as iso, manually specify the vdisk and point to the one of your ubuntu VM. But growing can be done within the running system so you can just open gparted in that and grow your partition. I installed it and checked that I have space left but Ubuntu is saying that there is no space Edited February 19, 20251 yr by Braulio Dias Ribeiro
February 19, 20251 yr 3 hours ago, Braulio Dias Ribeiro said: I installed it and checked that I have space left but Ubuntu is saying that there is no space Looks like you're using an LVM so there's likely yet another step needed to resize that. I don't use that so you'll have to look up how.
February 19, 20251 yr 39 minutes ago, Kilrah said: Looks like you're using an LVM so there's likely yet another step needed to resize that. I don't use that so you'll have to look up how. What is LVM? I just created a VM and installed Ubuntu
February 19, 20251 yr 19 minutes ago, Braulio Dias Ribeiro said: What is LVM? It's an extra layer on top of drive partitions https://ubuntu.com/server/docs/how-to-manage-logical-volumes 19 minutes ago, Braulio Dias Ribeiro said: I just created a VM and installed Ubuntu If it was Ubuntu Server then yes it does use lvm by default unless you disable while going through the installer, on Desktop it's the opposite, not used unless you ask it to.
February 19, 20251 yr I found an answer for LVM. Just type this in the VM terminal, i.e. do it in the VM and not in Unraid sudo -i lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.