我安装了 Windows 7,它吃了 Ubuntu 的启动文件。启动计算机时,它现在直接进入 Windows,而没有给我启动 Ubuntu 的选项。
我怎样才能找回 Ubuntu?
升级到 19.04 后,Grub 菜单已隐藏。它仍然有效,我可以通过盲目地找到该条目并按 Enter 键启动到 Windows 10 和 Ubuntu。我尝试编辑/etc/default/grub并运行sudo update-grub后但没有改变。现在的样子是这样的:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_TIMEOUT_STYLE=menu
GRUB_HIDDEN_TIMEOUT_QUIET=false
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) …Run Code Online (Sandbox Code Playgroud)