Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5305
  • 博文数量: 2
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 10
  • 用 户 组: 普通用户
  • 注册时间: 2017-03-24 17:12
文章分类
文章存档

2017年(2)

我的朋友
最近访客

分类: LINUX

2017-03-24 17:12:52

原文地址:win7和centos7双系统 作者:seifguo

参考:http://blog.csdn.net/hsg77/article/details/50280085          centos7中yum安装ntfs-3g
恢复centos 7与windows系统引导
1. 先安装win7,再安装centos7.
2. 安装ntfs-3g
   2-1 加源
   [root@centos ~]# wget -O /etc/yum.repos.d/epel.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的启动项。

阅读(784) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:centos7安装多媒体播放器SMPlayer

给主人留下些什么吧!~~