|
|
本帖最后由 佳辉的春天 于 2020-10-8 21:27 编辑
在DO上DD的win使用一段时间后重新打包成DD包,加一块数据盘上去后可以在recovery模式下 DD 到数据盘上吗?
fdisk -l 有3个盘,25G是系统盘,30G是新加的数据盘
[ol]Disk /dev/loop0: 219.7 MiB, 230313984 bytes, 449832 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/vda: 25 GiB, 26843545600 bytes, 52428800 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xe80cb72bDevice Boot Start End Sectors Size Id Type/dev/vda1 * 2048 12578815 12576768 6G 7 HPFS/NTFS/exFAT/dev/vda2 12578816 12595199 16384 8M 1 FAT12Disk /dev/sda: 30 GiB, 32212254720 bytes, 62914560 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes[/ol]复制代码
那将系统盘备份到数据盘的命令是这么写吗?测试貌似不行。。。
[ol]dd if=/dev/vda of=/dev/sda | gzip -9 > win2012.img.gz[/ol]复制代码 |
|