该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
先表示一点,我总体喜欢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