|
搞定,果然是虚拟机的问题
回楼上:
J:\boot>bootsect /help
bootsect {/help|/nt60|/nt52} {SYS|ALL|<DriveLetter>:} [/force]
Boot sector restoration tool
(引导扇区修补工具)
Bootsect.exe updates the master boot code for hard disk partitions in order to
switch between BOOTMGR and NTLDR. You can use this tool to restore the boot
sector on your computer.
(Bootsect.exe 为各硬盘分区更新主引导码,使之能在BOOTMGR和NTLDR间转换.你可以使
用这个工具在你的计算机上修复引导扇区)
/help Displays these usage instructions.
(/help 显示用法说明)
/nt52 Applies the master boot code that is compatible with NTLDR to SYS,
ALL, or <DriveLetter>. The operating system installed on SYS, ALL, or
<DriveLetter> must be older than Windows Vista.
(/nt52 将与NTLDR相兼容的主引导码应用于SYS,ALL, 或 <盘符>。安装在SYS,ALL, 或
<盘符>上的操作系统必须是低于WINDOWS VISTA的版本。)
/nt60 Applies the master boot code that is compatible with BOOTMGR to SYS,
ALL, or <DriveLetter>. The operating system installed on SYS, ALL, or
<DriveLetter> must be Windows Vista or WindowsServer "Longhorn".
(/nt60 将与BOOTMGR相兼容的主引导码应用于SYS,ALL或<盘符> 。安装在SYS,ALL,或
<盘符>上的操作系统必须是Windows Vista或WindowsServer"Longhorn".)
SYS Updates the master boot code on the system partition used to boot
Windows.
(SYS 在系统分区上更新被用于启动Windows的主引导码)
ALL Updates the master boot code on all partitions. ALL does not
necessarily update the boot code for each volume. Instead, this
option updates the boot code on volumes that could be used as Windows
boot volumes, which excludes any dynamic volumes that are not
connected with an underlying disk partition. This restriction is
present because boot code must be located at the beginning of a disk
partition.
(ALL 更新所有分区上的主引导码。ALL并不是必须为每一个卷(标)更新引导码,
用这个选项只更新那些在卷(标)上可被作为Windows启动卷(标)的引导码,且排
除所有未被连接于主磁盘分区的动态卷(标)。出现这个限制是因为引导码必须位
于磁盘分区的起始部位。)
<DriveLetter> Updates the master boot code on the volume associated with this
drive letter. Boot code will not be updated if either 1)
<DriveLetter> is not associated with a volume or 2) <DriveLetter> is
associated with a volume not connected to an underlying disk
partition.
(<盘符> 更新与之相关联的卷(标)上的主引导码。但引导码将不会被更新如果1)
<盘符>未与一个卷(标)相关联,或2)<盘符>与一个未被连接于主磁盘分区的卷(标)
相关联。)
/force Forcibly dismounts the volume(s) during the boot code update. You
should use this option with caution.
(/force 在更新引导代码的时候强制卸下这个卷.你应该慎重小心使用这个选项.)
If Bootsect.exe cannot gain exclusive volume access,then the file
system may overwrite the boot code before the next reboot.Bootsect.exe
always attempts to lock and dismount the volume before each update. When
/force is specified, a forced dismount is attempted if the initial lock
attempt fails. A lock can fail,for example, iffiles on the target volume
are currently opened by other programs.
(如果Bootsect.exe不能获得独立的卷(标)存取,则此文件系统可能在下一次重
启前改写引导码。则此文件系统可能在下一次重启前改写引导码。Bootsect.exe
总是努力尝试锁住和卸载这个卷。当/force(注,此/force是命令行的条件部分,
不能译成中文来用的)被指定,如果初始锁定的尝试失败,则会尝试强制的卸载。
例如,如果在目标卷(标)上的文件当前正被其他程序打开着,锁定就会失败。)
When successful, a forced dismount allows exclusive volume access and
a reliable boot code update even though the initial lock failed. At
the same time, a forced dismount invalidates all open handles to files
on the target volume. This could result in unexpected behavior from
the programs that opened these files. Therefore, you should use this
option with caution.
(成功时,即使初始锁定失败,强制的卸载也会允许独立的卷(标)进行存取和
一次可靠的引导码更新。同时,一个强制的卸载也会使所有对目标卷(标)上文
件进行着的操作失效。这可能对用于打开这些文件的程序造 定成意想不到的后
果.因此你应当谨慎使用这个选项。)
Example:
To apply the master boot code that is compatible with NTLDR to the volume
labeled E:, use the following command:
bootsect /nt52 E:
(例子:
应用与 NTLDR 相兼容的主引导码到
卷标E:, 使用下列的指令:
bootsect/nt52 E: |
|