extent the windows C:\ partiton.

I am running windows 10 in a virtual machine on Tumbleweed.

Windows started to complain that the disk is almost full.

I started Gparted, and made the partition bigger.

I can’t seem to find a way though in windows to extent the c drive/.

It still is the same size, and extent a partition is greyed out in the diskmanager of windows…

Am I trying something not possible?

sdb5 is the disk I am talking about, it was 20 gig and is now 79,4 gig.

**Device**     **  Start** **       End** **   Sectors** **  Size** **Type** 
/dev/sda1     2048    1085439    1083392   529M Windows recovery environment 
/dev/sda2  1085440    1288191     202752    99M EFI System 
/dev/sda3  1288192    1320959      32768    16M Microsoft reserved 
/dev/sda4  1320960 1953523711 1952202752 930,9G Microsoft basic data 


**Disk /dev/sdb: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors** 
Disk model: ST1000DM010-2EP1 
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 4096 bytes 
I/O size (minimum/optimal): 4096 bytes / 4096 bytes 
Disklabel type: gpt 
Disk identifier: 23C3467D-1C13-4ADF-919A-A8FFAE6766D6 

**Device**     **     Start** **       End** **   Sectors** **  Size** **Type** 
/dev/sdb1        2048    1050623    1048576   512M EFI System 
/dev/sdb2     1050624  103442431  102391808  48,8G Linux filesystem 
/dev/sdb3   269969408 1949329407 1679360000 800,8G Linux filesystem 
/dev/sdb4  1949329408 1953525134    4195727     2G Linux swap 
/dev/sdb5   103442432  269969407  166526976  79,4G Linux filesystem 

Partition table entries are not in disk order. 


**Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors** 
Disk model: Samsung SSD 980 1TB                      
Units: sectors of 1 * 512 = 512 bytes 
Sector size (logical/physical): 512 bytes / 512 bytes 
I/O size (minimum/optimal): 16384 bytes / 131072 bytes 
Disklabel type: gpt 
Disk identifier: 63581BC3-DBCF-4810-AF9F-C94FBB91E551 

**Device**         **  Start** **       End** **   Sectors** ** Size** **Type** 
/dev/nvme0n1p1    2048    1050623    1048576  512M EFI System 
/dev/nvme0n1p2 1050624 1953525134 1952474511  931G Linux filesystem



I can in windows see and format the free space, but I can’t extent the c drive ?
What am I doing wrong ? Or do I need to reinstall windows in the virtual machine? (I hope not)

Isn’t that a pure Windows question?

I ask because you may be better and sooner helped in a Windows forum.

You might be right, I was already wondering about that. :slight_smile:

Bit worried they will blame linux, but I could leave out the part, I am running win 10 in a virtual machine on Linux.

https://www.easeus.com/partition-master/cannot-extend-volume.html

Free download of a partition tool for windows.

Virtualisation uses an Container as disk???

I think I found an answer.

https://www.youtube.com/watch?v=qqy0Tc4zok4

Windows diskmanager can’ t do it, I need third party software.

What Virtualisation do you use?

Virtual manger with libvirt. and qemu.

Containers are stored in /var/lib/libvirt/images, so as root:

ls -al /var/lib/libvirt/images
[sudo] password for root:  
total 31345920 
drwx--x--x 1 root root          48 nov 17 13:40 . 
drwxr-xr-x 1 root root          88 nov  6 22:01 .. 
-rw------- 1 root root 85805301760 nov 17 13:40 win10-1.qcow2 
-rw------- 1 qemu qemu 42956488704 nov 17 13:42 win10.qcow2

I think there are your windows machines…

Moved to Virtualization

Hi
See here: Fix – How To Extend Windows Guest VM Storage in KVM ? – GetLabsDone

Problem fixed. :slight_smile:

I took 3 step to fix this.

First step was with Gparted enlarging the partition, were I have stored the win10 iso and also the partition for the virtual machine. (ext 4)

Second step was going into the kvm settings.

Third step in windows 10, in the virtual machine, add a partition. (it looked like, that after this Windows, was using both partitions as one, the thing I was trying to achieve)

I can’t recall the exact steps in detail, but did not use the windows disk-manager for this.
In windows I went to the messages (warning about an almost full hard disk) and through there selected, add more disk space.

When I tried to do this through the windows disk manager it would not let me. I could add a new partition, but not extent the C drive. :slight_smile: