The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chain grub/grub2 failed
2017-01-20, 14:16
Post: #1
Chain grub/grub2 failed
Hey, hope this is not a beginner mistake.

I want to chain grub and/or grub2 for installing CentOS6 and/or CentOS7 because trying to load kernel and initrd directly from iPXE failed.

I have a script for iPXE which looks like this:

Code:
#!ipxe
chain tftp://xxx.xxx.xx.xx/centOS7/grubx64.efi

I always end up in the grub shell. My first thought was that the grub.cfg file is not loaded but I don't know how to.

Thanks for your help.


Additional Information:

Handling grubx64.efi directly from my dhcpd.conf works fine for me. So this:

Code:
class "pxeclients" {
             match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
              next-server xxx.xxx.xx.xx;
             if option architecture-type = 00:07 {
                    filename "centOS7/grubx64.efi";
              } else {
                    filename "xxxx";
              }

in dhcpd.conf works fine, but

Code:
filename "ipxe.efi";

with the script above doesn't work and ends up in the grub shell.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Chain grub/grub2 failed - unknown - 2017-01-20 14:16
RE: Chain grub/grub2 failed - magarvo - 2017-08-24, 23:46



User(s) browsing this thread: 1 Guest(s)