achievegoals

双系统引导

转自:https://blog.csdn.net/zzh_my/article/details/70904244

安装ntfs-3g支持

CentOS默认源里没有ntfs-3g,想要添加ntfs支持,无非是自己下载编译安装或者加源yum安装。

昨天重新安装了一个CentOS7,用的是添加aliyun的epel源来yum安装的方式,简单易行。

1、加源

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

2、安装

yum update;
sudo yum install ntfs-3g

引导文件更新

 

yum search ntfs

...

======= N/S matched: ntfs =======
findntfs.x86_64 : Find NTFS partitions
fuse-ntfs-3g.x86_64 : Linux NTFS userspace driver
fuse-ntfs-3g-devel.x86_64 : Header files, libraries and development documentation for fuse-ntfs-3g
ntfsprogs.x86_64 : NTFS filesystem libraries and utilities

We will install these, using yum install <package name>. Then, we can run the necessary GRUB2 update. And for the fun of it, examine the Windows 7 partition using the file manager. Yup, it works.

grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-123.8.1.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.8.1.el7.x86_64.img
Found Windows 7 (loader) on /dev/sda1
done

 

分类:

技术点:

相关文章:

  • 2021-08-24
  • 2021-07-17
  • 2021-10-12
  • 2022-02-14
  • 2021-12-08
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2021-11-09
  • 2021-12-08
  • 2022-01-11
  • 2022-02-09
  • 2022-12-23
相关资源
相似解决方案