You are not logged in.

#1 2024-10-16 19:36

cwh
Member
Registered: 2024-10-16
Posts: 21

Q4OS in VBox -.vdi expand

hi there,
im using Q4OS only in VirtualBox. My virtual HD ran out of space and i expanded it in VBox. Then i used the kde partition management to arange the new free space. It works and the virtual HD has a new size. But in Dolphin there is something strange. Dolphin can see the HD and the new size (left side) but can not calculate the remaining free space. Dolphin calculate with the previous size of the HD (right side at the botton of the window).
Is that "normal"? Or did i miss something?

Offline

#2 2024-10-17 07:16

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,336

Re: Q4OS in VBox -.vdi expand

The routine I use - VM OFF - is to expand the size of the vdi first.

Then boot the VM from live media and use gparted to expand/move the partition.

On reboot of the VM it will then see the new sizes correctly. I do not know if kde partition manager does the same tricks but I guess it would.

You might want to try the df command to see if the figures match with Dolphin. Maybe it is an issue with Dolphin...?

Offline

#3 2024-10-17 09:53

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

Thank u verry much for ur reply. Yes... This way around is another way. May be it works better. I will test it.
Whats about this df command u mentioned?

Offline

#4 2024-10-17 11:20

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

oh... i googled for it... Yes will try... thx 4 the tipp!

Offline

#5 2024-10-17 23:03

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

all is good...
On my next power up of VB there was an "start job" of 1min 30s.
After that Dolphin is calculating exactly.
.
And I was studying the commands of df before... smile
.
I guess the system was calculating the new space of the HD ....
.
Thank u 4 ur assistance !

Offline

#6 2024-10-17 23:36

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

Im astonished that works on a running system ... !!

Offline

#7 2024-10-18 15:54

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

This "start-job" now comes up on every boot. What is that again ??

Offline

#8 2024-10-18 16:02

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

Seems something is added to the bootlist (like Autostart in Windows). Is there a possibility to look for for such things?

Offline

#9 2024-10-18 16:18

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

I just recogniced, that in kde-partitionmanager one option is checked that says: "partitionen standartmäßig ausrichten".
There are 2 partitions on this VHD. The ext4 and the swap-partition.
Do i need this option realy?

Offline

#10 2024-10-19 07:35

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,336

Re: Q4OS in VBox -.vdi expand

You have to be much clearer in describing what you are seeing and where.
The nearest I can get to finding this "partitionen standartmäßig ausrichten" is in kde partition manager > settings> general.

The first entry is Partition Alignment and the box Align Partitions per Default is selected and that is correct.

I have just repeated my original instructions and the result works fine.

So, start up the VM, but use the original iso file (live media) - do not boot the actual VM itself.

Once that has started open Konsole and type (without the ' ')
'sudo apt update' then 'sudo apt install gparted'
Go to the System menu and start Gparted.
You will see a map of the drive and hopefully a space where the VM has been expanded but the storage may not have been.
Click the Resize/Move button and drag the arrow to fill the space and apply.
Once that has done reboot and you should find it is all happy.

Offline

#11 2024-10-19 12:31

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

OK thank you. Your right... this is the safer way.

Offline

#12 2024-10-21 15:28

cwh
Member
Registered: 2024-10-16
Posts: 21

Re: Q4OS in VBox -.vdi expand

tipp: if u boot from life-iso u can easily use kde partition manager to arange the space of the VHD. Works the same.
thx 4 all !!

Offline

Board footer

Powered by FluxBB