gpt-4o-2024-05-13· OpenAI
WildChat-4.8M (AI2)
installed efi and grub into disk, booting goes into bios setup
- User
installed efi and grub into disk, booting goes into bios setup
- Assistant
installed efi and grub into disk, booting goes into bios setup
If your system boots directly into the BIOS setup after installing EFI and GRUB, it indicates an issue with the boot process. Here are several steps you can take to troubleshoot and resolve the issue:
Check Boot Order in BIOS:
Verify EFI Partition:
grubx64.efi or similar file under EFI/BOOT/ or EFI/<distribution>/.Reinstall GRUB:
sudo mount /dev/sdXn /mnt # Replace /dev/sdXn with your root partition
sudo mount /dev/sdYn /mnt/boot/efi # Replace /dev/sdYn with your EFI partition
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
exit
Check EFI Boot Entries:
efibootmgr command to view and modify EFI boot entries.sudo efibootmgr
sudo efibootmgr --create --disk /dev/sdX --part Y --label "GRUB" --loader /EFI/GRUB/grubx64.efi
/dev/sdX with your disk and Y with your EFI partition number. Adjust the loader path accordingly if your GRUB file path is different.Secure Boot:
BIOS/UEFI Firmware Update:
Check for Firmware Bug:
After following these steps, your system should be able to recognize and boot using GRUB. If you still face issues, there might be a more specific hardware or compatibility issue at play, and further diagnostics may be required.