![适用于 Linux 的强大磁盘编辑器,如 Acronis Disk Editor](https://linux22.com/image/1478954/%E9%80%82%E7%94%A8%E4%BA%8E%20Linux%20%E7%9A%84%E5%BC%BA%E5%A4%A7%E7%A3%81%E7%9B%98%E7%BC%96%E8%BE%91%E5%99%A8%EF%BC%8C%E5%A6%82%20Acronis%20Disk%20Editor.png)
答案1
我推荐 Active@ Disk Editor,因为它是 Windows 和 Linux 的免费软件,而且我认为它比 Acronis 更全面,因为它有很多有用的功能。它满足您的大部分要求,并且具有一些非常有用的功能,而且不会显得杂乱。它与 Acronis Disk Editor 非常相似,是一个功能强大的硬盘原始十六进制编辑器,可以显示您当前的扇区和偏移量,并且能够转到磁盘上的任何位置并通过搜索 ANSI、十六进制或 Unicode 字符串来查找位置。
Active@磁盘编辑器使用一个简单的低级磁盘查看器,可以同时以二进制和文本模式显示信息
它还支持位置书签、驱动器和分区表格式化的数据模板来格式化数据以及用于识别分区表、MBR、文件头等的工具。
我与任何公司都没有任何关系,我只是在寻找类似的工具并在搜索过程中发现了这个以及你的问题。
以下是该公司提供的信息:
Active@ Disk Editor 是一个免费的高级工具,用于以十六进制形式查看和编辑物理磁盘、分区和文件内容上的原始扇区。
软件特点:
Enhanced template view FAT, NTFS, UFS, HFS+, ExtFs templates (iNodes,SuperBlocks)
Detailed MFT record information
Side-by-side Compare and Edit
Fields coloring with data in tooltips
Extensive exFAT support
Fast navigation points
Filling selection with a pattern
Unicode support
Quick Disk Info
Bookmarks
Data Inspector
Hyperlinks for MFT records
Advanced search using RegExp & wildcards
Open and work with raw & compressed disk images
Command line support
More templates supported (HFS+, Linux)
答案2
这可能是您需要的工具:http://www.wxhexeditor.org/home.php,只需使用sudo apt-get install wxhexeditor
嗯,我想你也可以以某种形式使用dd
和hexdump
。如果你使用 SATA,你可以寻找/dev/sdX
如下 NVMe 驱动器/dev/nvme0n1p3
:
sudo dd if=/dev/nvme0n1p3 bs=1k count=1 | hexdump -C 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 2.4685e-05 s, 41.5 MB/s 00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 00 00 00 00 00 00 00 00 78 74 73 2d 70 6c 61 69 |........xts-plai| 00000030 6e 36 34 00 00 00 00 00 00 00 00 00 00 00 00 00 |n64.............| 00000040 00 00 00 00 00 00 00 00 73 68 61 32 35 36 00 00 |........sha256..| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000060 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 40 |...............@| 00000070 a4 95 e1 f5 c9 ee d0 30 6c 4e 37 f2 fb af a4 2a |.......0lN7....*| 00000080 14 f9 89 0b b5 89 14 a5 76 c4 5a af a0 2f 3e 64 |........v.Z../>d| 00000090 10 82 4c f6 3c 01 b3 c6 11 ff 5f 37 e4 46 8b 88 |..L.<....._3.F..| 000000a0 f5 7c 83 6e 00 03 08 5e 36 64 65 31 61 62 39 34 |.|.n...^6de1ab94| 000000b0 2d 61 35 34 64 2d 34 32 66 30 2d 39 32 64 31 2d |-a54d-42f0-12d1-| 000000c0 65 65 66 62 62 63 32 30 63 61 38 66 00 00 00 00 |eefbbc20ca8f....| 000000d0 00 ac 71 f3 00 18 43 2c 62 fd 14 d0 fe 8c ac e0 |..q...H,b.......| 000000e0 b7 18 02 d3 40 30 dd c7 2f 50 1a af 1c 75 05 ed |....@0../P...u..| 000000f0 9b 60 f9 7d c2 e7 d1 1e 00 00 00 08 00 00 0f a0 |.`.}............| 00000100 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000120 00 00 00 00 00 00 00 00 00 00 02 00 00 00 0f a0 |................| 00000130 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000150 00 00 00 00 00 00 00 00 00 00 03 f8 00 00 0f a0 |................| 00000160 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000180 00 00 00 00 00 00 00 00 00 00 05 f0 00 00 0f a0 |................| 00000190 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001b0 00 00 00 00 00 00 00 00 00 00 07 e8 00 00 0f a0 |................| 000001c0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001e0 00 00 00 00 00 00 00 00 00 00 09 e0 00 00 0f a0 |................| 000001f0 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000210 00 00 00 00 00 00 00 00 00 00 0b d8 00 00 0f a0 |................| 00000220 00 00 de ad 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000230 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000240 00 00 00 00 00 00 00 00 00 00 0d d0 00 00 0f a0 |................| 00000250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400
您也可以使用任何十六进制编辑器,例如 vim (xxd) 或 emacs (hexl-mode)。对于 vim,这将是:
:%!xxd to switch into hex mode :%!xxd -r to exit from hex mode
请参考这个不同的答案:https://stackoverflow.com/questions/5498197/need-a-good-hex-editor-for-linux
您还可以参考 vim wiki 了解编辑部分:http://vim.wikia.com/wiki/Hex_dump
所以我会做这样的事情:
sudo dd if=/dev/nvme0n1p3 seek=<NUMBER OF BS BLOCKS TO SKIP> bs=1k count=1 | vim -b -
这可能不是很方便,但至少在过去 20 年里它几乎可以在任何类 UNIX 系统上运行。