小编Nic*_*eda的帖子

使用加密 /boot 的 Ubuntu 全盘加密

我正在尝试使用单独的/boot分区设置完整的加密磁盘,但遇到了一些麻烦。

我将写下我在 Ubuntu 15.04 Live DVD 会话中一直遵循的过程。

  • 用“随机数据”填充磁盘

    sudo dd if=/dev/urandom of=/dev/sda1 bs=4096   #ok
    
    Run Code Online (Sandbox Code Playgroud)
  • 创建分区(使用 gparted)

    1. 创建分区表 - gpt 2。
      • /dev/sda1 ext2 1.5GB #boot
      • /dev/sda2 linux-swap 4GB #swap
      • /dev/sda3 ext4 15 GB #root
      • /dev/sda4 ext4 自由空间#home
  • 加密卷

    cryptsetup luksFormat --cipher twofish-xts-plain64 --key-size 512
                          --hash sha512 --iter-time 3000 /dev/sda1
    cryptsetup luksFormat --cipher twofish-xts-plain64 --key-size 512
                          --hash sha512 --iter-time 3000 /dev/sda2
    cryptsetup luksFormat --cipher twofish-xts-plain64 --key-size 512
                          --hash sha512 --iter-time 3000 /dev/sda3
    cryptsetup luksFormat --cipher twofish-xts-plain64 --key-size 512
                          --hash sha512 …
    Run Code Online (Sandbox Code Playgroud)

encryption grub2

16
推荐指数
1
解决办法
4万
查看次数

标签 统计

encryption ×1

grub2 ×1