Today I installed the Hyper-V VHDX Image as Bullseye (Debian 11) Version, wich is needed for Loxberry.
After the first start the partition has round about 900MB.
I tryed to expand the fs with dietpi-drive_manager but it wont work.
During the startup it runs so fast, that you cant read anything, reboot is in under 5 seconds. There is no hold on for expanding anything.
Than I tryed to expant it to 8GB with parted. It says that the sector was out of range. This is impossible because in Hyper-V Manager the VHDX is expanded to 10GB.
After it I installed hyperv-daemons.
Now I can expand partition 1 (/dev/sda) with parted to 8GB.
It says:
Disk /dev/sda: 9664MB
Sector size 512B/512B
Partition Table: msdos
Disk Flags:
1 Start:1049kB End:8192MB Size:8191MB Type:primary File_System:ext4 Flags:boot
So for me it shows now the right size. After a reboot df-h says again /dev/sda 897M - 100%
Again I started dietpi-drive_manager but it wont work, same same, nothing happen.
How can I expant it, is this a typial bug with using Windows Hyper-V?
Thx for your competent answeres!
Required Information
DietPi version | G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=0 G_DIETPI_VERSION_RC=2 G_GITBRANCH='master' G_GITOWNER='MichaIng'
Distro version | bullseye
Kernel version | Linux DietPi 5.10.0-27-amd64 #1 SMP Debian 5.10.205-2 (2023-12-31) x86_64 GNU/Linux
hmm I just did a fresh install using DietPi Hyper-V disk image and I get whole 8GB disk ootb
NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID
fd0 4K 0 disk
sda 8G 0 disk
└─sda1 ext4 8G 0 part / df11abb7-01 a8361e6d-a239-41e5-b3f0-310c1d4820f0
sr0 1024M 0 rom
root@DietPi:~#