VirtualBox

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

Last change on this file since 99797 was 99797, checked in by vboxsync, 21 months ago

Docs: bugref:10302. Merging changes from the docs team. Almost exclusively conkeyref related stuff.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
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>
8 You can duplicate hard disk image files on the same host to quickly produce a second virtual
9 machine with the same OS setup. However, you should <i>only</i> make copies of virtual disk
10 images using the utility supplied with <ph conkeyref="vbox-conkeyref-phrases/product-name"/>. See
11 <xref href="vboxmanage-clonemedium.dita"/>. This is because <ph conkeyref="vbox-conkeyref-phrases/product-name"/> assigns a UUID to
12 each disk image, which is also stored inside the image, and <ph conkeyref="vbox-conkeyref-phrases/product-name"/> will refuse
13 to work with two images that use the same number. If you do accidentally try to reimport a
14 disk image which you copied normally, you can make a second copy using the
15 <userinput>VBoxManage clonevm</userinput> command and import that instead.
16 </p>
17 <p>
18 Note that Linux distributions identify the boot hard disk from the
19 ID of the drive. The ID <ph conkeyref="vbox-conkeyref-phrases/product-name"/> reports for a drive is
20 determined from the UUID of the virtual disk image. So if you
21 clone a disk image and try to boot the copied image the guest
22 might not be able to determine its own boot disk as the UUID
23 changed. In this case you have to adapt the disk ID in your boot
24 loader script, for example
25 <filepath>/boot/grub/menu.lst</filepath>. The disk ID looks like
26 the following:
27 </p>
28 <pre xml:space="preserve">scsi-SATA_VBOX_HARDDISK_VB5cfdb1e2-c251e503</pre>
29 <p>
30 The ID for the copied image can be determined as follows:
31 </p>
32 <pre xml:space="preserve">hdparm -i /dev/sda</pre>
33 </body>
34
35</topic>
Note: See TracBrowser for help on using the repository browser.

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