DD sda1(或其他)到文件。然后在某些时候将该文件挂载为ISO或其他方式?


2

死于Windows。我完成了它。

我想保留Windows分区,以防我以后需要它。我想知道我是否可以使用dd将分区复制到某个文件,这样如果我需要,我可以按原样恢复分区。如果,在我需要来自该分区(文件)的某些文件的过程中,我可以像iso文件一样挂载文件。

  1. dd if=/dev/sda1 of=/my/preserved/windows.iso
  2. 安装 windows.iso

那可行吗?还有其他方法/建议吗?


1
是。mount -o loop /path/to/image/file /place/to/mount
伊万文

1
是的,但是它可以移除分区表,并非所有文件系统在未分区(超级软盘等)设备上都以相同的方式被识别。或者,您可以跳过几个扇区并将新分区表添加到环回安装。
eckes

Answers:


4

是的,只要您拥有读取ntfs驻留在Windows上的分区的工具,这将起作用。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.