VirtualBox将旧的vdi文件加入到新的系统中会报:UUID already exists 。
十年的巴彦淖尔网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。营销型网站建设的优势是能够根据用户设备显示端的尺寸不同,自动调整巴彦淖尔建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。创新互联从事“巴彦淖尔网站设计”,“巴彦淖尔网站推广”以来,每个客户项目都认真落实执行。
重新创建uuid:
cd C:\Program Files\Oracle\VirtualBox\
VBoxManage.exe internalcommands sethduuid x:\path\xxx.vdi
命令说明:
Usage: VBoxManage internalcommands [command arguments]
Commands:
loadmap [module] [subtrahend] [segment]
This will instruct DBGF to load the given map file
during initialization. (See also loadmap in the debugger.)
loadsyms [delta] [module] [module address]
This will instruct DBGF to load the given symbol file
during initialization.
sethduuid []
Assigns a new UUID to the given image file. This way, multiple copies
of a container can be registered.
sethdparentuuid
Assigns a new parent UUID to the given image file.
dumphdinfo
Prints information about the image at the given location.
listpartitions -rawdisk
Lists all partitions on .
createrawvmdk -filename -rawdisk
[-partitions [-mbr ] ]
[-relative]
Creates a new VMDK image which gives access to an entire host disk (if
the parameter -partitions is not specified) or some partitions of a
host disk. If access to individual partitions is granted, then the
parameter -mbr can be used to specify an alternative MBR to be used
(the partitioning information in the MBR file is ignored).
The diskname is on Linux e.g. /dev/sda, and on Windows e.g.
\\.\PhysicalDrive0).
On Linux or FreeBSD host the parameter -relative causes a VMDK file to
be created which refers to individual partitions instead to the entire
disk.
The necessary partition numbers can be queried with
VBoxManage internalcommands listpartitions
renamevmdk -from -to
Renames an existing VMDK image, including the base file and all its exten
ts.
converttoraw [-format ]
Convert image to raw, writing to file.
converthd [-srcformat VDI|VMDK|VHD|RAW]
[-dstformat VDI|VMDK|VHD|RAW]
converts hard disk images between formats
repairhd [-dry-run]
[-format VDI|VMDK|VHD|...]
Tries to repair corrupted disk images
modinstall
Installs the necessary driver for the host OS
moduninstall
Deinstalls the driver
debuglog [--enable|--disable] [--flags todo]
[--groups todo] [--destinations todo]
Controls debug logging.
passwordhash
Generates a password hash.
gueststats [--interval ]
Obtains and prints internal guest statistics.
Sets the update interval if specified.