[Level 2] How to clone VirtualBox vdi

The most easy way to clone a virtual box vdi file is by using the command "VBoxManage" by user root.
ex.
# pfexec VBoxManage clonehd ./source.vdi ./target.vdi
# sUser=`whoami`
# sGroup=`groups $sUser|cut -d' ' -f1`
# chown $sUser:$sGroup ./target.vdi



Wish this helps.

regards,
Stanley Huang

Comments

Popular posts from this blog

[Level 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python