arch linux grub2,arch 的grub2的问题

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

先表示一点,我总体喜欢arch,但是。。他的grub让我很恼火

我最不愿意编辑menu.list来修改启动项,ubuntu的update-grub多好阿

所以我安装了grub2

但是呢问题来了运行grub-mkconfig -o /boot/grub/grub.cfg

检测出来的系统只有arch自己,

就连windows的系统都没有检测出来(我安装了xp,ubuntu,arch linux)

那好吧自己手动编辑grub.cfg进入ubuntu然后运行grub-mkconfig -o /boot/grub/grub.cfg

ubuntu检测的就很正常,为什么arch就不行呢?

对比了一下ubuntu和arch的/etc/grub.d/下面的文件

ubuntu的

-rwxr-xr-x 1 root root 6831 10月 6 20:23 00_header

-rwxr-xr-x 1 root root 1481 10月 6 20:05 05_debian_theme

-rwxr-xr-x 1 root root 4757 10月 6 20:23 10_linux

-rwxr-xr-x 1 root root 5028 10月 6 20:23 20_linux_xen

-rwxr-xr-x 1 root root 1588 9月 25 01:14 20_memtest86+

-rwxr-xr-x 1 root root 6933 10月 6 20:23 30_os-prober

-rwxr-xr-x 1 root root 214 10月 6 20:23 40_custom

-rwxr-xr-x 1 root root 95 10月 6 20:23 41_custom

-rw-r--r-- 1 root root 483 10月 6 20:23 README

arch的

-rwxr-xr-x 1 root root 5951 7月 13 02:50 00_header

-rwxr-xr-x 1 root root 4347 7月 13 02:50 10_linux

-rwxr-xr-x 1 root root 867 7月 13 02:50 20_memtest86+

-rwxr-xr-x 1 root root 5804 7月 13 02:50 30_os-prober

-rwxr-xr-x 1 root root 214 7月 13 02:50 40_custom

-rw-r--r-- 1 root root 483 7月 13 02:50 README

是不是我还得安装什么

我是直接pacman -S grub2

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值