首先,我制作了一台双启动笔记本电脑,其中安装了 Windows 10 和 Linux Mint,然后我删除了所有内容,只安装了 Ubuntu,但是当它启动时发生了以下情况:1.Lenovo 徽标 2.Grub 菜单(我没有碰它)3.Lenovo 徽标 4.Grub 菜单(我没有碰它)5.Lenovo 和 Ubuntu 徽标
这一切都发生得非常快,但感觉不对,我只想直接启动 ubuntu,因为它是唯一安装的操作系统
我找到了一种隐藏 grub 菜单的方法,即修改 /etc/default/grub: https://www.youtube.com/watch?v=Wm5kurfejzw(将“/bin/sh”替换为“/bin/bash”,如@Denys Sedchenko 所述,并修复 hwmatchhttps://unixcop.com/fix-the-error-cant-find-the-command-hwmatch-on-grub/)...但还是缺少了一些东西
我将分享这一点:
root@tita-2:/home/jotas# dpkg --list | grep grub
ii grub-common 2.04-1ubuntu26.13 amd64 GRand Unified Bootloader (common files)
ii grub-customizer 5.1.0-2 amd64 GUI to configure GRUB2 and BURG
ii grub-efi-amd64-bin 2.04-1ubuntu44.2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
ii grub-efi-amd64-signed 1.167.2+2.04-1ubuntu44.2 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii grub-gfxpayload-lists 0.7 amd64 GRUB gfxpayload blacklist
ii grub-pc 2.04-1ubuntu26.13 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.04-1ubuntu26.13 amd64 GRand Unified Bootloader, version 2 (PC/BIOS modules)
ii grub2-common 2.04-1ubuntu26.13 amd64 GRand Unified Bootloader (common files for version 2)
在此先感谢您的时间
编辑:按照这里提到的步骤:自定义安装 Ubuntu 后,如何从 UEFI 启动菜单中删除 Windows?
我可以删除 Windows 启动管理器,但我的系统无法直接启动到 Ubuntu……这是我现在的情况:
sudo ls /boot/efi/EFI
Boot ubuntu
与:
sudo efibootmgr
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0010,0011,0012,0013,0014,0015,0016,001A,001B,001C,001D,001E,001F,0020,0021,0022
Boot0001* ubuntu
Boot0010 Setup
Boot0011 Boot Menu
Boot0012 Diagnostic Splash Screen
Boot0013 Lenovo Diagnostics
Boot0014 Asset Information
Boot0015 Regulatory Information
Boot0016 ThinkShield secure wipe
Boot0017 Startup Interrupt Menu
Boot0018 Rescue and Recovery
Boot0019 MEBx Hot Key
Boot001A* USB CD
Boot001B* USB FDD
Boot001C* NVMe0
Boot001D* USB HDD
Boot001E* PXE BOOT
Boot001F* LENOVO CLOUD
Boot0020* ON-PREMISE
Boot0021 Other CD
Boot0022 Other HDD
Boot0023* IDER BOOT CDROM
Boot0024* IDER BOOT Floppy
Boot0025* ATA HDD
Boot0026* ATAPI CD
也许我们需要删除启动菜单以便立即进入 ubuntu?