我一直在运行 Ubuntu 10.04 并且刚刚安装了 Linux Mint 13。我可能会全职使用 Linux Mint,但现在我想将它安装到第一个分区,但保持 Ubuntu 可启动。
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 58593279 29295616 83 Linux
/dev/sda2 58595326 976768064 459086369+ 5 Extended
/dev/sda5 959980140 976768064 8393962+ 82 Linux swap / Solaris
/dev/sda6 58595328 898696186 420050429+ 83 Linux
/dev/sda7 898697216 959963135 30632960 83 Linux
Run Code Online (Sandbox Code Playgroud)
sda6 是包含我所有文档的数据分区。添加了新的 sda7 以创建双引导设置。我将 sda1 克隆到 sda7
dd if=/dev/sda1 of=/dev/sda7
Run Code Online (Sandbox Code Playgroud)
当然这也克隆了 UUID,所以我为 sda7 创建了一个新的 UUID
tune2fs /dev/sda7 -U random
Run Code Online (Sandbox Code Playgroud)
当我用blkid它列出 UUID 时,它确实发生了变化。然后我将 Linux Mint 安装到 sda1。我还设置了 …