A
A
alex stephen2015-05-05 17:00:42
linux
alex stephen, 2015-05-05 17:00:42

How to enlarge a fixed VDI file with linux inside?

Actually, there is a virtual machine on debian, with 10 GB of memory.
There was a need to expand the place to 100 GB.
VBoxManage modifyhd file.vdi --resize 100000
gave an error

VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!

Google claims that the problem is in the fixed disk and recommends " Clone VDI tool "
I ran VDI through it with the following settings:
9a0e418f04c14aa6a4700b9c217e935b.PNG
At the same time, the new disk began to weigh as much as it was written on.
857e7c3980d54711a5b560edeeaf2305.PNG
Loaded, executed df, but the OS does not see an increase in disk size.
6314675be25a42f18782cd694218e0a6.PNG(you can not count the numbers, 10GB of space is available on the screenshot)
CHADNT?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2015-05-05
@berezuev

df outputs the size of the file system, which has nothing to do with the size of the physical or virtual disk.
Now the guest should have a physical disk of 100 available, but you haven't told the system how to use that extra capacity. Resize partitions, resize the file system. Just like moving a physical machine to another larger physical disk.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question