VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/cloningvdis.dita@ 106807

最後變更 在這個檔案從106807是 105335,由 vboxsync 提交於 7 月 前

FE/Qt: bugref:10705. Merging r6149 from doc team's repo.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.8 KB
 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="cloningvdis">
4 <title>Cloning Disk Images</title>
5
6 <body>
7 <p>You can duplicate hard disk image files on the same host to quickly produce a second virtual machine with the
8 same OS setup. However, you should <i>only</i> make copies of virtual disk images using the utility supplied with
9 <ph conkeyref="vbox-conkeyref-phrases/product-name"/>. See <xref href="vboxmanage-clonemedium.dita"/>. This is
10 because <ph conkeyref="vbox-conkeyref-phrases/product-name"/> assigns a UUID to each disk image, which is also
11 stored inside the image, and <ph conkeyref="vbox-conkeyref-phrases/product-name"/> will refuse to work with two
12 images that use the same number. If you do accidentally try to reimport a disk image which you copied normally,
13 you can make a second copy using the <userinput>VBoxManage clonevm</userinput> command and import that instead. </p>
14 <p>Note that Linux distributions identify the boot hard disk from the ID of the drive. The ID <ph
15 conkeyref="vbox-conkeyref-phrases/product-name"/> reports for a drive is determined from the UUID of the virtual
16 disk image. So if you clone a disk image and try to boot the copied image the guest might not be able to determine
17 its own boot disk as the UUID changed. In this case you have to adapt the disk ID in your boot loader script, for
18 example <filepath>/boot/grub/menu.lst</filepath>. The disk ID looks like the following: </p>
19 <pre xml:space="preserve">scsi-SATA_VBOX_HARDDISK_VB5cfdb1e2-c251e503</pre>
20 <p>The ID for the copied image can be determined as follows: </p>
21 <pre xml:space="preserve">hdparm -i /dev/sda</pre>
22 </body>
23
24</topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette