博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
win7和centos7双系统--转
阅读量:4359 次
发布时间:2019-06-07

本文共 1213 字,大约阅读时间需要 4 分钟。

转自http://blog.chinaunix.net/uid-30867756-id-5758575.html

参考:http://blog.csdn.net/hsg77/article/details/50280085          centos7中yum安装ntfs-3g

http://jingyan.baidu.com/article/c35dbcb0e87c4f8916fcbc8a.html     恢复centos 7与windows系统引导
1. 先安装win7,再安装centos7.
2. 安装ntfs-3g
   2-1 加源
   [root@centos ~]# wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
   2-2 更新
   [root@centos ~]# yum update
   2-3 安装
   [root@centos ~]# yum install ntfs-3g
3. 添加win7启动项
   [root@centos ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
系统自动找到windows7系统的引导项,并加入到了grub.cfg菜单中。这样就避免了手功改动文件的危险,并且所有系统都能正常启动。 
执行命令后显示:
[root@centos ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-514.2.2.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-514.2.2.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-514.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-514.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-55a7d7a46c3e4d7ca520fced4d8f1756
Found initrd image: /boot/initramfs-0-rescue-55a7d7a46c3e4d7ca520fced4d8f1756.img
Found Windows 7 (loader) on /dev/sda1
done
[root@centos ~]#
4. 重启后即可看到centos和win7的启动项。

转载于:https://www.cnblogs.com/seifguo/p/7592610.html

你可能感兴趣的文章
软件测试工作中的沟通问题
查看>>
format 的用法,9*9乘法表
查看>>
mysql--5
查看>>
uva11214 Guarding the Chessboard
查看>>
CentOS6.4下Git服务器Gitosis安装配置
查看>>
007 斐波那契数列
查看>>
《Docker入门实战》笔记(一)
查看>>
hdu 3635 Dragon Balls (并查集)
查看>>
文件操作
查看>>
7.java集合,泛型简单总结,IO流
查看>>
杭电2007 平方和与立方和
查看>>
JS邮箱验证-正则验证
查看>>
关于SQL查询效率,100w数据,查询只要1秒
查看>>
Quartz 2D绘图
查看>>
JS Fetch
查看>>
EJB 笔记
查看>>
【delete】Android自定义控件(四) 自定义ImageView动态设置ImageView的高度
查看>>
HDUOJ------(1230)火星A+B
查看>>
Servlet
查看>>
基于jquery地图特效全国网点查看代码
查看>>