首页
随机
最近更改
特殊页面
社群首页
参数设置
关于WHY42
免责声明
WHY42
搜索
用户菜单
登录
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
查看“︁Gentoo:磁盘分区”︁的源代码
←
Gentoo:磁盘分区
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
本文记载win10与gentoo双系统分区。参考[https://wiki.gentoo.org/wiki/UEFI_Dual_boot_with_Windows_7/8 这里]。 =环境准备= [[Image:My_Disk.png|600px]] 同时需要[https://www.tenforums.com/tutorials/4189-fast-startup-turn-off-windows-10-a.html 禁用]掉快速启动。原因是: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. 刻录[http://www.system-rescue-cd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick SystemRescueCd]并进入系统,开始分区。 =磁盘分区= <source lang="bash"> gdisk /dev/sdx ... mkfs.ext2 /dev/sda1 mkfs.ext4 /dev/sda3 mkswap /dev/sda2 swapon /dev/sda2 </source> =挂载磁盘= <source lang="bash"> mount /dev/sda3 /mnt/gentoo mkdir /mnt/gentoo/boot mount /dev/sda1 /mnt/gentoo/boot </source> [[Category:Linux/Unix]]
返回
Gentoo:磁盘分区
。