作为Clonezilla
与 Windows 10 一起使用的测试,我构建了一台 Windows 10 机器,并启动到Clonezilla Live-CD
在我们的文件服务器上通过网络创建映像。
我克隆了整个驱动器,而不是分区。
然后我重新启动Clonezilla Live-CD
并将图像恢复到原始机器。但是,系统不会启动。
当我尝试从克隆的 HDD 启动时,它立即转到Preparing Automatic Repair
, 然后Diagnosing your PC
, 然后attempting repairs
然后失败 - 给我选项...
Exit and continue to Windows
,它只是重复这些步骤。Troubleshooting
,我再次尝试恢复但没有成功。Power off
我还尝试重新启动到 Windows 10 安装 CD,并尝试了所有自动恢复步骤,以及以下来自Troubleshooting | Command line
...
bootrec.exe
bootrec.exe /fixmbr
bootrec.exe /fixboot
bootrec.exe /scanos
bootrec.exe /rebuildbcd
注意:bootrec.exe /scanos
报告未找到 Windows 操作系统。
但是,使用Ubuntu 18 live cd
,我确认硬盘驱动器正常,并且所有 NTFS 分区都成功安装和读取。
可以通过以下方式解决此问题...
1. 将 Clonezilla 映像复制到本地硬盘的另一种方法?
2.修复当前本地硬盘(从镜像克隆)?
root@ubuntu:~# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA WDC WD3200AAKS-0 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ntfs boot
2 525MB 319GB 319GB primary ntfs
3 319GB 320GB 863MB primary ntfs diag
root@ubuntu:/mnt/sda1# ls -la
total 421
drwxrwxrwx 1 root root 4096 Jul 26 01:32 .
drwxr-xr-x 1 root root 120 Aug 20 15:41 ..
drwxrwxrwx 1 root root 8192 Jul 26 01:32 Boot
-rwxrwxrwx 1 root root 408074 Jul 25 17:50 bootmgr
-rwxrwxrwx 1 root root 1 Jul 25 17:50 BOOTNXT
-rwxrwxrwx 1 root root 8192 Jul 26 01:32 BOOTSECT.BAK
drwxrwxrwx 1 root root 0 Jul 26 01:59 Recovery
drwxrwxrwx 1 root root 0 Jul 25 14:55 'System Volume Information'
-rwxrwxrwx 1 root root 0 Jul 25 17:48 '$WINRE_BACKUP_PARTITION.MARKER'
root@ubuntu:/mnt/sda1#
root@ubuntu:/mnt/sda2# ls -la
total 4928509
drwxrwxrwx 1 root root 8192 Aug 20 2019 .
drwxr-xr-x 1 root root 120 Aug 20 15:41 ..
drwxrwxrwx 1 root root 8192 Jul 25 11:58 36c1fc38c881ffcc99b7677aa9f212
-rwxrwxrwx 1 root root 395268 Jul 10 2015 bootmgr
-rwxrwxrwx 1 root root 1 Jul 10 2015 BOOTNXT
drwxrwxrwx 1 root root 20480 Jul 29 07:21 Config.Msi
lrwxrwxrwx 2 root root 15 Jul 10 2015 'Documents and Settings' -> /mnt/sda2/Users
drwxrwxrwx 1 root root 8192 Jul 29 17:12 found.000
-rwxrwxrwx 1 root root 3435671552 Jul 29 07:12 hiberfil.sys
drwxrwxrwx 1 root root 0 Jul 25 08:45 MSOCache
drwxrwxrwx 1 root root 0 Jul 25 15:03 NVIDIA
-rwxrwxrwx 1 root root 1342177280 Jul 29 07:12 pagefile.sys
drwxrwxrwx 1 root root 0 Sep 15 2018 PerfLogs
drwxrwxrwx 1 root root 8192 Jul 29 07:37 ProgramData
drwxrwxrwx 1 root root 8192 Jul 29 07:20 'Program Files'
drwxrwxrwx 1 root root 8192 Jul 29 07:37 'Program Files (x86)'
drwxrwxrwx 1 root root 4096 Jul 26 07:26 Quarantine
drwxrwxrwx 1 root root 0 Aug 20 2019 Recovery
-rwxrwxrwx 1 root root 0 Aug 20 2019 Recovery.txt
drwxrwxrwx 1 root root 4096 Jul 25 16:03 '$Recycle.Bin'
drwxrwxrwx 1 root root 4096 Jul 25 13:51 stools_se_creo2
-rwxrwxrwx 1 root root 268435456 Jul 29 07:12 swapfile.sys
drwxrwxrwx 1 root root 4096 Aug 2 21:15 '$SysReset'
drwxrwxrwx 1 root root 4096 Jul 26 07:56 'System Volume Information'
drwxrwxrwx 1 root root 4096 Jul 26 02:06 Users
drwxrwxrwx 1 root root 16384 Jul 26 02:16 Windows
drwxrwxrwx 1 root root 0 Aug 2 21:16 '$Windows.~BT'
root@ubuntu:/mnt/sda2#
root@ubuntu:/mnt/sda3# ls -la
total 4
drwxrwxrwx 1 root root 4096 Jul 29 17:05 .
drwxr-xr-x 1 root root 120 Aug 20 15:41 ..
drwxrwxrwx 1 root root 0 Jul 29 17:05 Recovery
-rwxrwxrwx 1 root root 0 Aug 20 2019 Recovery.txt
drwxrwxrwx 1 root root 0 Jul 26 02:00 'System Volume Information'
root@ubuntu:/mnt/sda3#
@yagmoth555
我不确定如何进行正确的编辑。我假设我需要编辑引导加载程序(而不是引导管理器)。但是在网上搜索并没有为我澄清。
您知道bcdedit
更改正确分区的命令吗?
引导分区是(我相信)分区 1,500mb(应该是 C:)。
我的猜测是引导管理器正在使用现在无法找到的 Windows 目标分区,例如 C:,但是在克隆映像上,布局可能会被修改,它可以像 D:
我会在加载 Windows 10 安装媒体时尝试定位 Windows 10 分区,以确保它与启动管理器匹配。
这样做;运行diskpart,选择磁盘 X,列出目标机器和原始机器的分区进行比较。
在目标系统中运行bcdedit,并记下磁盘分区。partition=C 等。然后执行 bcdedit /edit 以更改字母以适合目标计算机上的字母。