2,我想取消本次运行对vista的修改,怎么办?好像没有vpc的那种undo功能。Snapshot 1
|__Snapshot 2
|__Snapshot 3
|__Current State(changed)
答:closed关机后,要在当前状态点Discard Current State,后面的Changed标记会消失,再次开机就回到快照3的原来状态。
1,我想直接回到第2步,要怎么办?我以为双击即可以了,结果只是把子目录收拢了。
答:这意味着要丢弃两个状态:当前状态和快照3。所以,选中快照3,点Discard Snapshot,快照3和派生的当前状态会一起删除,vm就回到了快照2状态。快照3就永远消失了,除非重新建立。
其实很好理解,这和很多软件的历史面板类似。我把vbox帮助文档(那个pdf)中关于快照(Snapshot)中不部分抄了出来,翻译了一部分,希望有人接力。:roll:
---------------------------------------
3.4.4.Snapshots 快照
通过快照,你能够保存虚拟机的一部分以便后来使用。在任何时候,你可以还原到这个状态,甚至在VM有相当大改变的情况下。With VirtualBox's snapshots, you can save aparticular state of a virtual machine for later use. At any later time, you can revert to that state, even though you may have changed the VM considerably since then.
This is particularly useful for making sure that a guest installation is not damaged by accidental
changes, misbehaving software, or viruses.
Once you have setup the machine the way you want it, simply take a snapshot, and should anything happen to the installation, you can simply revert to its snapshot state.
这是特别有用的,当你的虚拟机确认被损坏(意外改变、或被流氓软件或病毒)。
一旦你把虚拟机设置好成你希望的样子,简单地做一个快照,无论以后发生什么,你都可以迅速地还原为你快照时的状态。
To take a snapshot of your VM, perform the following steps :
要制作快照,请执行以下步骤:(以下的VM不翻译,意为‘虚拟的机’)
1.你只能在两种状态下进行快照:VM的‘保存’状态或‘关机’状态(就象vbox主窗口中显示的那样……),那么,如果你的VM没有运行,关闭它或者把它当前状态保存。1. You can only take a snapshot if your VM is in the "saved" or "poweredoff" state (as displayed next to the VM in the VirtualBox main window). So, if your VM is not running, close it and
have its state saved to disk.
2. In the VirtualBox main window, click on the "Snapshots" tab on the top right of the main window, and then on the small camera icon (for "Take snapshot").
3. A window will up and ask you to name the snapshot. This name is purely for reference pur-
poses to help you remember the state of the snapshot. For example, a useful name would be
"Fresh installation from scratch, no external drivers".
4. Your new snapshot will then appear in the list of snapshots under the"Snapshots" tab. Underneath, you will see an item called "Current state", signifying that the current state of your VM
is a variation based on the snapshot you took earlier.
( If you later take another snapshot, you will see that they will be displayed in sequence, and
each subsequent snapshot is a derivation of the earlier one.)
2.在vbox主窗口,点击右上方的‘Snapshots’标签,然后(点击)小小的照相机图标(Take snpshot)。
3.一个对话窗口弹出,请你为快照取名,例如,一个好用的名字‘来自scratch的全新安装,无外加驱动’。
4.你增加的新快照将出现在快照标签下面的清单里。在(这个快照的)下面,你会看到一个叫做‘当前状态Current state’的条目,它将显示你的VM在早先快照之后的是否变化。
(如果你进行了另一个快照,你会看到它们将按顺序显示,并且每一个后来的快照都由前一个引出分支)。
Note(注意)
快照的还原动作将对vm连接的虚拟硬盘生效,就像整个虚拟硬盘被还原。这意味着所有自快照建立后发生的文件变更都将消失。The snapshot reverted to will affect the virtual hard drives that are connected to your VM,
as the entire state of the virtual hard drive will be reverted as well. This means also that all
files that have been created since the snapshot and all other file changes will be lost.
In order to prevent such data loss while still making use of the snapshot feature, it is possible
to add a second hard drive in "write-through" mode using the VBoxManage interface
and use it to store your data. As write-through hard drives are not included in snapshots,
they remain unaltered when a machine is reverted. See Section 5.2, “Storage in virtual machines” for details.
为了防止这样的数据丢失,可以采用快照的(高级)特性,它将允许增加第二块虚拟硬盘,以‘持续写入’的模式,在vbox的管理界面,用它来保存你的数据。连续写入的虚拟硬盘将不会被快照还原,它们将保持机器还原前的样子。更多细节请参照 5.2 段落,‘在虚拟机中存储’。
-----------------------------------
PDF中的英文拷贝出来的时候把空格都丢弃了,谁有办法解决么?我是一个个手工输入的,对照字典翻译了几个小时
上文中提到的 5.2 段落,我已经把英文整理好了,我发下一帖,大家接力翻译吧!