You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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:

1. Fix UEFI/BIOS Settings (Most Common Culprit)

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.
2. Verify EFI System Partition (ESP) Configuration

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.
3. Repair GRUB Post-Install (If System Is Already Installed)

If Ubuntu finished installing but GRUB failed, boot from your Ubuntu USB in "Try Ubuntu" mode and run these commands:

  1. Identify your Ubuntu system partition with:
    lsblk
    
    Look for a partition labeled ext4 (usually /dev/sdaX, where X is a number like 2 or 3).
  2. Mount the system partition:
    sudo mount /dev/sdaX /mnt
    
  3. Mount the ESP partition (replace Y with your ESP's number):
    sudo mount /dev/sdaY /mnt/boot/efi
    
  4. Bind critical system directories:
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys
    
  5. Chroot into your installed system:
    sudo chroot /mnt
    
  6. Reinstall GRUB to your main disk (not a partition):
    sudo grub-install /dev/sda
    
  7. Update GRUB configuration:
    sudo update-grub
    
  8. 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.

Quick Tips
  • 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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 10:01:41