View previous topic :: View next topic |
Author |
Message |
gentoolinux n00b
Joined: 22 Sep 2010 Posts: 4
|
Posted: Sun Dec 01, 2024 1:21 pm Post subject: Install Gentoo using PXE on POWER8 |
|
|
Hello,
I am trying to install Gentoo on an IBM Power Systems S822 POWER8 server using PXE.
I have downloaded the latest ppc64le install image, copied the boot folder to my DHCP/TFTP server and configured the DHCP server to provide the file boot/grub/powerpc.elf.
I see the Welcome screen from Grub but than I get some disk not found errors before rescue mode is entered:
Code: | ( 1 ) Filename.................boot/grub/powerpc.elf
TFTP Retries..................5
Block Size....................512
FINAL PACKET COUNT = 196
FINAL FILE SIZE = 100212 BYTES
Elapsed time since release of system processors: 15 mins 23 secs
Welcome to GRUB!
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
error: disk `' not found.
Entering rescue mode...
grub rescue> |
I don't know how to proceed after that:
Code: | grub rescue> ls
(ieee1275//pci@800000020000015/pci1014\,034A@0/sas/disk@1c0708b4700) (ieee1275//
pci@800000020000015/pci1014\,034A@0/sas/disk@200708b4700) (ieee1275//pci@8000000
20000015/pci1014\,034A@0/sas/disk@500507606bd57501) (ieee1275//pci@8000000200000
15/pci1014\,034A@0/sas/disk@500507606bd57400)
grub rescue> insmod linux
error: disk `' not found. |
Has someone succeeded in installing Gentoo on a POWER8 server using PXE? |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1406 Location: Richmond Hill, Canada
|
Posted: Sun Dec 01, 2024 1:57 pm Post subject: |
|
|
I don[t know ppc or grub will enough to help make correlation. However in your current condition I recognize it is not PXE issue any more.
You have successfully use PXE to boot strap a GRUB EFI executable. Now you are in GRUB territory.
I think the error you got was refer to not able to get grub.conf from a network location. (No disk yet because it does not know how/where to locate disk(s))
have you setup tftp to expose grub.conf? see grub network for detail. |
|
Back to top |
|
|
gentoolinux n00b
Joined: 22 Sep 2010 Posts: 4
|
Posted: Sun Dec 01, 2024 2:19 pm Post subject: |
|
|
Hi pingtoo,
thanks for your response!
Unfortunately there is no request for a grub.cfg in the TFTP server logs. So it looks like Grub is failing at an earlier stage.
In the meantime I have extracted Grub from the latest Fedora netinstall image and it boots fine!
The grub binary from Fedora is noticeable larger than the one from the Gentoo image (2257080 vs. 100212 bytes).
So a workaround could be to take Grub from the Fedora image, replace the grub.cfg with the file from the Gentoo image and continue the installation.
However, it would be nice if Grub from the Gentoo image would work, too. |
|
Back to top |
|
|
Fe4unR n00b
Joined: 29 Nov 2024 Posts: 9
|
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1406 Location: Richmond Hill, Canada
|
Posted: Sun Dec 01, 2024 2:50 pm Post subject: |
|
|
gentoolinux wrote: | Hi pingtoo,
thanks for your response!
Unfortunately there is no request for a grub.cfg in the TFTP server logs. So it looks like Grub is failing at an earlier stage.
In the meantime I have extracted Grub from the latest Fedora netinstall image and it boots fine!
The grub binary from Fedora is noticeable larger than the one from the Gentoo image (2257080 vs. 100212 bytes).
So a workaround could be to take Grub from the Fedora image, replace the grub.cfg with the file from the Gentoo image and continue the installation.
However, it would be nice if Grub from the Gentoo image would work, too. |
Sure. you just need something that work. It is not able learning GRUB.
I think Fedora' GRUB most likely did a "standalone" it is a grub script that generate a bootable image (Not 100% sure if EFI is one of the format it generate) which embedded a grub.cfg. so if you search "grub standalone" you may find solution for your future endeavors. |
|
Back to top |
|
|
|