Gentoo:磁盘分区:修订间差异
imported>Soleverlee |
imported>Soleverlee |
||
第20行: | 第20行: | ||
mount /dev/sda3 /mnt/gentoo | mount /dev/sda3 /mnt/gentoo | ||
mkdir /mnt/gentoo/boot | mkdir /mnt/gentoo/boot | ||
mount /dev/ | mount /dev/sda1 /mnt/gentoo/boot | ||
</source> | </source> | ||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2016年12月14日 (三) 08:42的版本
本文记载win10与gentoo双系统分区。参考这里。
环境准备
同时需要禁用掉快速启动。原因是:Without it, Windows' filesystems are not unmounted even when you're using Linux, so editing Windows files can result in data loss. Even if you do not intend to share filesystems, the EFI System Partition is likely to be damaged on an EFI system.
刻录SystemRescueCd并进入系统,开始分区。
磁盘分区
gdisk /dev/sdx
...
mkfs.ext2 /dev/sda1
mkfs.ext4 /dev/sda3
mkswap /dev/sda2
swapon /dev/sda2
挂载磁盘
mount /dev/sda3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/sda1 /mnt/gentoo/boot