Unsolved
3 Posts
0
6542
February 17th, 2020 09:00
"No bootable devices found" trying to boot CentOS v7
Background:
Had an older Dell desktop running CentOS v7 and the motherboard (or power supply) died (it was 7 years old) so I got a refurb Precision 3630 and so far have installed the hard drive with the root file system (and took out the new C: drive with Win10).
I've created an efi partition as FAT 32 and marked it as boot.
I've use efibootmgr to disable the windows efi entry and add once for CentOS pointing to grubx64.efi. I have the path in the BIOS entry matching the path on the efi partition.
I've installed the grub2 efi and shim packages on root fs and created grub.cfg on the efi partition (at /boot/efi/EFI/centos/grub.cfg).
It seems that something is not set right for the BIOS to find the efi partition - because otherwise I would see grub starting and errors if there was something wrong setup for it.



LNordin
3 Posts
0
February 17th, 2020 09:00
I forgot to mention a few details:
As you can guess, the old system was MBR boot so I'm having to switch to UEFI.
In the BIOS, I see: boot mode is UEFI, secure boot: OFF
I have disk mode as ACHI (doesn't seem to matter, I can boot of a Linux USB disk and mount the file systems off the drive in either mode).
In the BIOS boot screen, I can see the entries I created with efibootmgr for starting CentOS via grub2.
The disk was originally partitioned with GPT since it is a 4 TB disk.
speedstep
9 Legend
•
47K Posts
0
February 19th, 2020 09:00
newer dells do not allow MBR. Only GPT is supported past skylake. Newer hardware is 64 bit only GPT only.
GRUB and MBR booting are not supported.
CentOS-6 32bit can not boot UEFI or secureboot at all, and needs 'Legacy Boot' enabled.
CentOS-6 (x86_64) can boot 'UEFI with secureboot off', but not secureboot.
CentOS-7 (x86_64) can install on secureboot or 'UEFI w/secureboot off', or legacy.
CentOS-7 (Altarch i386) can install on 'UEFI w/secureboot off' but no secureboot.
https://fedoraproject.org/wiki/Secureboot
http://docs.fedoraproject.org/en-US/Fedora/18/html/UEFI_Secure_Boot_Guide/index.html
media
VirtualBox
VMWare
Real iron
CentOS 6.5 DVD
OK
OK
OK1
CentOS 6.5 minimal
OK
to be verified
OK2
CentOS 6.5 netinstall
gets stuck in UEFI shell
not working
TBD
CentOS 6.5 LiveCD
gets stuck in GRUB
to be verified
TBD
CentOS 6.5 LiveDVD
gets stuck in GRUB
to be verified
TBD
CentOS 7 (DVD media)
OK
OK
OK
CentOS Linux Version
Minor release
CD and DVD ISO Images
Packages
Release Email
Release Notes
End-Of-Life
8-Stream
N/A
DVD and NetInstall images (including checksums) are available on mirrors
RPMs
CentOS Stream
CentOS Stream RHEL
N/A
8
1 (1911)
DVD and NetInstall x86_64 images are available on mirrors (checksums).
RPMs
CentOS
CentOS RHEL
31 May 2029
7
7 (1908)
DVD, Minimal, Everything, LiveGNOME, LiveKDE and NetInstall x86_64 images are available on mirrors (checksums).
RPMs
CentOS
CentOS RHEL
30 June 2024
LNordin
3 Posts
0
February 26th, 2020 09:00
I ran out of time so I just went and re-installed CentOS on the transferred OS disk, and then reconfigured the server back to the way it was.