virtualbox/VBoxManage: error: The medium 'ubuntu-20.04' can't be used as the requested device type (HDD, detected invalid).md
... ...
@@ -1,7 +1,7 @@
1 1
結論: `.vdi`を指定しているつもりが、ディレクトリを指定していた。この階層の下に、`.vdi`ファイルは存在した。
2 2
```
3 3
% VBoxManage modifyhd ubuntu-20.04 --resize 50000
4
-VBoxManage: error: The medium 'arai-pbl-ubuntu-20.04' can't be used as the requested device type (HDD, detected invalid)
4
+VBoxManage: error: The medium 'ubuntu-20.04' can't be used as the requested device type (HDD, detected invalid)
5 5
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MediumWrap, interface IMedium, callee nsISupports
6 6
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 191 of file VBoxManageDisk.cpp
7 7
```
... ...
\ No newline at end of file