[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-poweredge
Subject: [Linux-PowerEdge] How to get Poweredge M620 to recognize & boot my UEFI System Partition (ESP) on /d
From: <Spike_White () Dell ! com>
Date: 2014-10-24 20:53:47
Message-ID: BABF60987D48764FA4071AC73CB9C56162EAA4AECF () AUSX7MCPC101 ! AMER ! DELL ! COM
[Download RAW message or body]
All,
I'm trying to EFI boot a M620 under RHEL7. I have followed all steps under:
https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_2_configuration_on_UEFI_systems
I have a GPT-partitioned boot disk. As so:
[root@austl10geqldb04 ~]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1170997248 sectors, 558.4 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0ABD8477-ACE6-413F-AC20-FF167CEA0578
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1170997214
Partitions will be aligned on 2048-sector boundaries
Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 4095 1024.0 KiB EF02
2 4096 618495 300.0 MiB 0700
3 618496 1136826367 541.8 GiB 8E00
4 1136826368 1170382847 16.0 GiB 8200
5 1170382848 1170995199 299.0 MiB EF00 EFI System
My partition 5 is formatted as fat32 fs. I have installed the grub2-efi and shim \
RPM. I used grub2-mkconfig to generate a /boot/efi/EFI/redhat/grub.cfg. It already \
had a BOOT.CSV file.
It looks like this:
/boot/efi
EFI
BOOT
BOOTX64.EFI
fallback.efi
redhat
BOOT.CSV
fonts
unicode.pf2
gcdx64.efi
grub.cfg
grubenv
grubx64.efi
MokManager.efi
shim.efi
shim-redhat.efi
When I boot UEFI, why does the Poweredge M620's UEFI firmware not recognize partition \
5 as a valid UEFI System Partition?
I even go to "boot from file" under EFI Boot manager. And I don't get this disk as \
an option. That is, it doesn't recognize *any* partitions on this disk as UEFI \
partitions.
However, I have virtual media attached (also GPT-partitioned). It looks like this:
[root@austl10geqldb04 ~]# gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 634880 sectors, 310.0 MiB
Logical sector size: 512 bytes
Disk identifier (GUID): 212554C7-960B-42A5-A5A6-8EBC216AF8D6
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 634846
Partitions will be aligned on 1-sector boundaries
Total free space is 1919 sectors (959.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 1953 634846 309.0 MiB 0700 EFIBOOT
Under EFI Boot Manager, I can select "boot from file" and it sees this partition \
(also FAT32 formatted). I can traverse down this USB boot media and invoke \
/boot/efi/EFI/BOOT/syslinux.efi.
Spike
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=koi8-r"><meta name=Generator content="Microsoft Word 14 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal>All,<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m trying to EFI boot \
a M620 under RHEL7. I have followed all steps under:<o:p></o:p></p><p \
class=MsoNormal><a href="https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_ \
2_configuration_on_UEFI_systems">https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_2_configuration_on_UEFI_systems</a><o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a GPT-partitioned boot \
disk. As so:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal style='margin-left:.5in'>[root@austl10geqldb04 ~]# gdisk -l \
/dev/sda<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>GPT fdisk (gdisk) \
version 0.8.6<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal \
style='margin-left:.5in'>Partition table scan:<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'> MBR: protective<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'> BSD: not present<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'> APM: not present<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'> GPT: present<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal \
style='margin-left:.5in'>Found valid GPT with protective MBR; using \
GPT.<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>Disk /dev/sda: \
1170997248 sectors, 558.4 GiB<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'>Logical sector size: 512 bytes<o:p></o:p></p><p \
class=MsoNormal style='margin-left:.5in'>Disk identifier (GUID): \
0ABD8477-ACE6-413F-AC20-FF167CEA0578<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'>Partition table holds up to 128 entries<o:p></o:p></p><p \
class=MsoNormal style='margin-left:.5in'>First usable sector is 34, last usable \
sector is 1170997214<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'>Partitions will be aligned on 2048-sector \
boundaries<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'>Total free space \
is 4029 sectors (2.0 MiB)<o:p></o:p></p><p class=MsoNormal \
style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal \
style='margin-left:.5in'>Number Start (sector) End (sector) Size Code \
Name<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'> <span \
lang=DE>1 2048 4095 1024.0 KiB EF02<o:p></o:p></span></p><p \
class=MsoNormal style='margin-left:.5in'><span lang=DE> 2 4096 \
618495 300.0 MiB 0700<o:p></o:p></span></p><p class=MsoNormal \
style='margin-left:.5in'><span lang=DE> 3 618496 1136826367 541.8 \
GiB 8E00<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span \
lang=DE> 4 1136826368 1170382847 16.0 GiB \
8200<o:p></o:p></span></p><p class=MsoNormal style='margin-left:.5in'><span \
lang=DE> </span>5 1170382848 1170995199 299.0 MiB EF00 EFI \
System<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My \
partition 5 is formatted as fat32 fs. I have installed the grub2-efi and shim RPM. \
I used grub2-mkconfig to generate a /boot/efi/EFI/redhat/grub.cfg.<o:p></o:p></p><p \
class=MsoNormal>It already had a BOOT.CSV file.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It looks like \
this:<o:p></o:p></p><p class=MsoNormal>/boot/efi<o:p></o:p></p><p \
class=MsoNormal><span lang=ZH-CN style='font-family:SimSun'></span> \
EFI<o:p></o:p></p><p class=MsoNormal> <span lang=ZH-CN \
style='font-family:SimSun'></span> BOOT<o:p></o:p></p><p class=MsoNormal> <span \
lang=ZH-CN style='font-family:SimSun'></span> <span lang=ZH-CN \
style='font-family:SimSun'></span> BOOTX64.EFI<o:p></o:p></p><p \
class=MsoNormal> <span lang=ZH-CN style='font-family:SimSun'></span> \
<span lang=ZH-CN style='font-family:SimSun'></span> fallback.efi<o:p></o:p></p><p \
class=MsoNormal> <span lang=ZH-CN style='font-family:SimSun'></span> \
redhat<o:p></o:p></p><p class=MsoNormal> <span lang=ZH-CN \
style='font-family:SimSun'></span> BOOT.CSV<o:p></o:p></p><p \
class=MsoNormal> <span lang=ZH-CN style='font-family:SimSun'></span> \
fonts<o:p></o:p></p><p class=MsoNormal> <span lang=ZH-CN \
style='font-family:SimSun'></span> <span lang=ZH-CN \
style='font-family:SimSun'></span> unicode.pf2<o:p></o:p></p><p \
class=MsoNormal> <span lang=ZH-CN style='font-family:SimSun'></span> \
gcdx64.efi<o:p></o:p></p><p class=MsoNormal> <span lang=ZH-CN \
style='font-family:SimSun'></span> grub.cfg<o:p></o:p></p><p \
class=MsoNormal> <span lang=ZH-CN style='font-family:SimSun'></span> \
grubenv<o:p></o:p></p><p class=MsoNormal> <span lang=ZH-CN \
style='font-family:SimSun'></span> grubx64.efi<o:p></o:p></p><p \
class=MsoNormal> <span lang=ZH-CN style='font-family:SimSun'></span> \
MokManager.efi<o:p></o:p></p><p class=MsoNormal> <span lang=ZH-CN \
style='font-family:SimSun'></span> shim.efi<o:p></o:p></p><p \
class=MsoNormal> <span lang=ZH-CN style='font-family:SimSun'></span> \
shim-redhat.efi<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>When I boot UEFI, why does the Poweredge M620’s UEFI firmware \
not recognize partition 5 as a valid UEFI System Partition? <o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I even go to “boot from \
file” under EFI Boot manager. And I don’t get this disk as an option. \
That is, it doesn’t recognize *<b>any</b>* partitions on this disk as UEFI \
partitions.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>However, I have virtual media attached (also GPT-partitioned). It \
looks like this:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>[root@austl10geqldb04 ~]# gdisk -l /dev/sdb<o:p></o:p></p><p \
class=MsoNormal>GPT fdisk (gdisk) version 0.8.6<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Partition table \
scan:<o:p></o:p></p><p class=MsoNormal> MBR: protective<o:p></o:p></p><p \
class=MsoNormal> BSD: not present<o:p></o:p></p><p class=MsoNormal> APM: not \
present<o:p></o:p></p><p class=MsoNormal> GPT: present<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Found valid GPT with \
protective MBR; using GPT.<o:p></o:p></p><p class=MsoNormal>Disk /dev/sdb: 634880 \
sectors, 310.0 MiB<o:p></o:p></p><p class=MsoNormal>Logical sector size: 512 \
bytes<o:p></o:p></p><p class=MsoNormal>Disk identifier (GUID): \
212554C7-960B-42A5-A5A6-8EBC216AF8D6<o:p></o:p></p><p class=MsoNormal>Partition table \
holds up to 128 entries<o:p></o:p></p><p class=MsoNormal>First usable sector is 34, \
last usable sector is 634846<o:p></o:p></p><p class=MsoNormal>Partitions will be \
aligned on 1-sector boundaries<o:p></o:p></p><p class=MsoNormal>Total free space is \
1919 sectors (959.5 KiB)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Number Start (sector) End (sector) Size Code \
Name<o:p></o:p></p><p class=MsoNormal> 1 1953 634846 309.0 \
MiB 0700 EFIBOOT<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Under EFI Boot Manager, I can select “boot from file” and \
it sees this partition (also FAT32 formatted). I can traverse down this USB boot \
media and invoke /boot/efi/EFI/BOOT/syslinux.efi.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Spike<o:p></o:p></p></div></body></html>
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
--===============8739394162603706210==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic