Virtual machine VBox under Ubuntu, in order to learn, only allocated 8g, the results Qt,opencv and so on, said room space is not enough. Then began to toss disk expansion.
A lot of online, do not know how much is their own hands through, it is not only waste other people's time, but also waste their time.
Business:
1, after the cmd, enter in your VBox directory, you will see
Vboxmanage list HDDs:
2, modify the space:
Vboxmanage MODIFYHD"C:\users\usegear-yc\virtualbox Vms\ubutu32.vdi"–resize20480After carriage return
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
with Disk utility
or
4. Mount:
#mount/DEV/SDA4/HOME/LYC.
To mount automatically when booting:
#sudo gedit/etc/fstab Add:
/dev/sda3/home Auto 0 0
To this all OK
Look at the results:
To this all OK
SBC37X cross-compilation platform QT+OPENCV "2" virtual machine vbox Ubuntu disk expansion