HP 14bs547TU笔记本Ubuntu 17.10双系统GRUB安装失败求助
Hey there, sorry to hear you're stuck with this GRUB installation failure on your HP 14bs547TU. Let's go through some tried-and-true fixes to get your dual-boot setup working:
HP laptops often have security and boot settings that block GRUB from installing properly. Here's what to adjust:
- Restart your laptop and press F10 to enter BIOS setup.
- Go to the Security tab and disable Secure Boot—HP's UEFI often rejects unsigned GRUB binaries, which causes this exact error.
- Switch to the System Configuration tab and turn off Fast Boot—this feature locks your hard drive, preventing GRUB from writing to the boot sector.
- Save changes (usually F10) and restart, then retry the Ubuntu installation.
GRUB needs a valid ESP to install correctly. Make sure your partition setup is right:
- When installing Ubuntu, choose the "Something else" manual partition option.
- Locate the existing Windows ESP (it's a small ~100MB FAT32 partition) or create a new one (200-512MB, FAT32, labeled as EFI System Partition).
- Set the mount point of this partition to
/boot/efi—this is non-negotiable for GRUB to install successfully. - Ensure the ESP isn't encrypted, as GRUB can't access encrypted partitions during boot.
If Ubuntu finished installing but GRUB failed, boot from your Ubuntu USB in "Try Ubuntu" mode and run these commands:
- Identify your Ubuntu system partition with:
Look for a partition labeledlsblkext4(usually/dev/sdaX, where X is a number like 2 or 3). - Mount the system partition:
sudo mount /dev/sdaX /mnt - Mount the ESP partition (replace Y with your ESP's number):
sudo mount /dev/sdaY /mnt/boot/efi - Bind critical system directories:
sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys - Chroot into your installed system:
sudo chroot /mnt - Reinstall GRUB to your main disk (not a partition):
sudo grub-install /dev/sda - Update GRUB configuration:
sudo update-grub - Exit chroot and reboot:
exit && sudo reboot
Ubuntu 17.10 is no longer supported (End-of-Life) and may have compatibility issues with newer UEFI hardware like your HP laptop. Download a recent LTS version (e.g., 20.04 or 22.04) instead—these have better GRUB-UEFI integration and receive long-term updates.
- Use Rufus to create your Ubuntu USB, and select "UEFI (non-CSM)" as the boot mode for the drive.
- Back up all important data before messing with partitions to avoid accidental data loss.
内容的提问来源于stack exchange,提问作者tuxtu

