You are not logged in.

#1 2014-06-04 16:58:17

dwe11er
Member
Registered: 2014-03-18
Posts: 73

ASRock's UEFI won't detect EFI System partition

I've got ASRock Z87E-ITX mobo with UEFI. EFI System Partition is formated as FAT32 (on SSD) booting kernel via gummiboot or GRUB2. My problem is that partition isn't detected by UEFI on its own. Currently, to add entry to UEFI, I have to boot from LiveCD to Arch instance on disk and then run gummiboot/grub2 install.

Any ideas, why it's behaving this way?

Offline

#2 2014-06-04 18:31:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: ASRock's UEFI won't detect EFI System partition

Is your ESP 512MiB?
Some motherboards won't recognise other sizes (my gf's laptop does this)...

Offline

#3 2014-06-04 19:28:35

dwe11er
Member
Registered: 2014-03-18
Posts: 73

Re: ASRock's UEFI won't detect EFI System partition

It's 500MB. It recognizes Fedora LiveCD ESP tho (which spans over 8GB). I will try to grow it a bit.

EDIT:
Apparently it's detecting ESP on pendrives (both FAT16 and FAT32; size doesn't matter) but not the one on the disk hmm

Last edited by dwe11er (2014-06-04 20:27:08)

Offline

#4 2014-06-06 20:27:52

surfatwork
Member
Registered: 2012-01-05
Posts: 137

Re: ASRock's UEFI won't detect EFI System partition

check the boot flags and partition type

Offline

#5 2014-06-07 03:54:19

dwe11er
Member
Registered: 2014-03-18
Posts: 73

Re: ASRock's UEFI won't detect EFI System partition

GPT doesn't have boot flag (at least not in MBR meaning); partition type is proper one (EF00 for ESP).

Offline

#6 2014-06-16 06:52:35

wkennington
Member
Registered: 2014-06-16
Posts: 1

Re: ASRock's UEFI won't detect EFI System partition

Did you ever find a solution to this? I have an AsRock FM2A88X+ BTC with the exact same problem of the system detecting the efi partition over USB drives just fine, but not on any of my attached SATA disks.

Offline

#7 2014-07-08 13:04:46

dwe11er
Member
Registered: 2014-03-18
Posts: 73

Re: ASRock's UEFI won't detect EFI System partition

wkennington wrote:

Did you ever find a solution to this? I have an AsRock FM2A88X+ BTC with the exact same problem of the system detecting the efi partition over USB drives just fine, but not on any of my attached SATA disks.

Nope, still hanging with backup ESP on my good ol' MuVo smile

Offline

#8 2014-10-06 14:22:34

phred14
Member
Registered: 2014-10-06
Posts: 1

Re: ASRock's UEFI won't detect EFI System partition

I've gotten this working.  I'm actually a Gentoo user, but found this topic when searching on my new board.  I've registered here so I could give you my solution.  This had me tearing my hair out for a week, before I got it, almost by accident.

I used a USB install of SystemRescueCD to install my Gentoo, along with rEFInd for a boot manager.  I ran the rEFInd installation script, but every time it gave me some hate mail about mis-named things, and running "efibootmgr -v" verified that it had indeed not updated the motherboard with information about my hard drive.  However when booting SystemRescueCD in UEFI mode I noticed that it had my new Gentoo install listed there, so I booted it.  At that point I had to install Gentoo's efibootmgr package, and at that point I could run the rEFInd install script, and it worked.  Running "efibootmgr -v" verified the new boot entry.

I can now boot my newly installed hard drive.  All I can figure is that there was something fishy about booting SystemRescueCD, even if in UEFI mode, that wouldn't let it update the EFI vars on the motherboard.  But since it let me boot my new install, I was all set.

There were stunningly few diagnostics provided during the process.

Offline

#9 2014-11-27 12:58:19

dwe11er
Member
Registered: 2014-03-18
Posts: 73

Re: ASRock's UEFI won't detect EFI System partition

Hmm, it seems that, in my case, UEFI don't detect ESP on SSD only - I did clonezilla image of SSD and restored it on HDD with positive result.

Offline

#10 2014-12-09 05:52:38

vi2nano
Member
Registered: 2014-11-27
Posts: 7

Re: ASRock's UEFI won't detect EFI System partition

Try to make sure the SATA controller is set to AHCI Mode. I have a Fatal1ty Killer Mobo made by ASRock as well and it will do that if I have it in IDE or RAID mode.

Offline

Board footer

Powered by FluxBB