- 564 名前:login:Penguin [2019/11/27(水) 12:03:28.89 ID:dVSn9i1P.net]
- 暗号化されたLiveUSBが入ったUSBドライブを、短期間他の用途に使用したいので
現在の状態をバックアップしようと思います。 fdisk -l コマンドで出力された結果は: Disk /dev/sdb: 28.9 GiB, 31037849600 bytes, 60620800 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x4687e1f0 Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 307199 305152 149M 83 Linux /dev/sdb2 307200 60514303 60207104 28.7G 83 Linux /dev/sdb3 60514304 60614655 100352 49M ef EFI (FAT-12/16/32) Disk /dev/mapper/hoge-d8135aea-42aa-4289-9af8-7c83488206ac: 28.7 GiB, 30823940096 bytes, 60203008 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes 結果から/dev/mapper/hoge-d81…206acが/dev/sdb2を暗号化したパーティションだというのはわかります。 親ディレクトリの/dev/sdbに向けてデータを入れたり出したりしても、 その下にある暗号化されたパーティションには問題はずだと思うですが、 dd if=/dev/sdb of=live_backup.dump bs=1M でバックアップしたものを いつも通り dd if=live_backup.dump of=/dev/sdb bs=1M 復元できますか? ちょっと自身がないので念の為にお聞きしたいです…
|

|