Acer电脑Ubuntu 17启动故障求助:BootOrder not found循环重启
Hey there, let’s work through this boot loop issue together. I’ve run into similar problems after Ubuntu upgrades on Acer laptops that originally shipped with Windows 10, so here are targeted steps to get your system back up:
Step 1: Check BIOS/UEFI Boot Settings First
This is the most common fix—Acer’s BIOS often resets boot priorities or disables UEFI entries after system upgrades.
- Reboot your machine and press the Acer BIOS key (usually F2 or Del; watch the boot screen for a prompt like "Press F2 to enter Setup").
- Navigate to the Boot tab:
- Confirm your boot mode: If you installed Ubuntu in UEFI mode (which is likely since your laptop came with Windows 10), make sure the system isn’t stuck in Legacy mode.
- Look for an Ubuntu/GRUB entry in the Boot Order list. If it’s missing, manually add it:
- Find an option like Add Boot Option or Create New Boot Entry.
- Browse to your EFI partition (it’s a small FAT32 drive, usually ~512MB) and select the file
EFI/ubuntu/grubx64.efi. - Name the entry "Ubuntu" and move it to the top of the boot order.
- Save changes (press F10) and reboot to test.
Step 2: Repair GRUB from a Live USB
If adjusting BIOS settings doesn’t work, we’ll fix the GRUB bootloader directly using your Legacy bootable USB:
- Boot into the Ubuntu live environment from your USB.
- Open a terminal (press
Ctrl+Alt+T). - Identify your system partitions:
- Run
sudo fdisk -lto list all drives. Look for:- Your Ubuntu root partition (ext4 format, largest capacity—e.g.,
/dev/sda2). - Your EFI partition (FAT32, labeled "EFI System Partition"—e.g.,
/dev/sda1).
- Your Ubuntu root partition (ext4 format, largest capacity—e.g.,
- Run
- Mount the root partition:
Replacesudo mount /dev/sdXn /mnt/dev/sdXnwith your actual root partition (e.g.,/dev/sda2). - Mount the EFI partition (only if you’re using UEFI mode):
Replacesudo mount /dev/sdXm /mnt/boot/efi/dev/sdXmwith your EFI partition (e.g.,/dev/sda1). - Reinstall and update GRUB:
Note:sudo grub-install --root-directory=/mnt /dev/sdX sudo update-grub/dev/sdXis your disk name (e.g.,/dev/sda), not a partition number. - Reboot your machine and check if the boot loop is gone.
Step 3: Recreate the UEFI Boot Entry
If GRUB repair doesn’t resolve the issue, the UEFI boot entry for Ubuntu might have been corrupted. Here’s how to rebuild it:
- From the Ubuntu live terminal (with EFI partition mounted at
/mnt/boot/efi), run:sudo efibootmgr -c -d /dev/sdX -p m -L "Ubuntu" -l "\EFI\ubuntu\grubx64.efi"- Replace
/dev/sdXwith your disk (e.g.,/dev/sda). - Replace
mwith your EFI partition number (e.g.,1if it’s/dev/sda1).
- Replace
- Verify the entry was added by running
sudo efibootmgr—you should see "Ubuntu" listed in the boot order. - Reboot and test.
Quick Troubleshooting Note
If none of the above works, check if Secure Boot is enabled in your BIOS. Some Acer machines block GRUB when Secure Boot is turned on—try disabling it temporarily to see if that fixes the issue.
Let me know if you run into any roadblocks with these steps, or if you need clarification on any command!
内容的提问来源于stack exchange,提问作者user793806

