K
K
kizijo2018-07-02 13:12:08
linux
kizijo, 2018-07-02 13:12:08

How to replace disk in VirtualBox?

Trying to solve the problem of increasing the size of my vmdk disk, I ran into the following problem:
Since it is impossible to resize vmdk, I convert the disk to vdi, and then I do the resize.

VBoxManage clonehd "hdd.vmdk" --format vdi "hdd.vdi"
VBoxManage modifyhd "hdd.vdi" --resize 100000

Next, I go to the settings of the virtual machine -> storage -> remove the old vmdk disk and add a new vdi.
I start the virtual machine and see: "Fatal: no bootable medium found! System Halted".
I tried to change vmdk to vdi even without resizing - the same result.
What am I doing wrong? Do you need to change the disks of the virtual machine in some other way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2018-07-02
@tsklab

There is a virtual media manager.
Before replacing the media, it must be "released" either in the virtual machine settings or by the manager indicated above.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question