我已经/dev/sda4使用本教程从 Ubuntu 安装了 Gentoo ,它使用 Ubuntu 而不是 LiveCD。
但是教程没有任何关于更新 GRUB 的内容。
所以我照常做了:
sudo update-grub
Run Code Online (Sandbox Code Playgroud)
输出如下所示:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-30-generic
Found initrd image: /boot/initrd.img-3.16.0-30-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Found Gentoo Base System release 2.2 on /dev/sda4
done
Run Code Online (Sandbox Code Playgroud)
(注意它确实看到了 Gentoo)。
但是当我重新启动时,Grub 没有显示 Gentoo 选项。
此外,文件/boot/grub/grub.cfg没有 Gentoo 选项。
尝试过boot-repair(用于更新 GRUB 的 Ubuntu 程序)。一样。 …