# Can you build a disto for PPC64 Big Endian Systems ? I have a p720 in my basement

**URL:** <https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512>\
**Category:** Rocky Linux Help & Support\
**Tags:** unsupported, rocky-linux-9\
**Created:** [January 16, 2024, 8:08pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512 "2024-01-16T20:08:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerryn](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jerryn](https://forums.rockylinux.org/u/jerryn)\
**Post date:** [January 16, 2024, 8:08pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512/1 "2024-01-16T20:08:22Z")

</div>

Would it be possible to build an ISO for PPC64 Big Endian ?

I could build with a cross compiler environment. Can you set directions for what I need for PPC64 Big-Endian ?

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [January 16, 2024, 8:25pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512/2 "2024-01-16T20:25:05Z")

</div>

Building an ISO would not solve this for you. The entire power build of Rocky Linux 9 is all ppc64le. Because of this, there is no support for big endian. Supporting big endian would require a full new build of Rocky Linux 9.

---

<div class="post-metadata">

**Author:** ![jerryn](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jerryn](https://forums.rockylinux.org/u/jerryn)\
**Post date:** [January 16, 2024, 9:44pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512/3 "2024-01-16T21:44:34Z")

</div>

That’s what I plan on doing, an entire power build of Rocky Linux 9 for ppc64BE and then once that’s complete an ISO build. I was just wondering if you have the flags handy and the source tree for the ISO.  
Once I get the initial build installed on my old p720 I can build the new releases on my p720.

I guess I wasn’t clear enough when I posted. I know cross compile works. I just never made bootable media for the PowerPC with an Intel based machine. I wasn’t sure if that worked.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [January 16, 2024, 10:09pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512/5 "2024-01-16T22:09:39Z")

</div>

This won’t be as simple as you want it to be. Kickstarts don’t generate our minimal nor our DVD images.

To make a bootable image, you need you need to run `lorax` on a native system that would have access to the necessary repositories that have the needed packages to build that image ([template](https://git.resf.org/sig_core/toolkit/src/branch/devel/iso/empanadas/empanadas/templates/buildImage.tmpl.sh)). Once the boot image is made, you would need to use [xorriso](https://git.resf.org/sig_core/toolkit/src/branch/devel/iso/empanadas/empanadas/templates/buildExtraImage.tmpl.sh) with a [dialog](https://git.resf.org/sig_core/toolkit/src/branch/devel/iso/empanadas/empanadas/templates/xorriso.tmpl.txt) to take the boot image and add in the extra repositories and packages for anaconda to utilize. That can be done on any architecture.

In summary: `lorax` must be ran in a native environment/archictecture. `xorriso` to repackage an ISO with packages can be done anywhere.

Our [toolkit](https://git.resf.org/sig_core/toolkit/src/branch/devel/iso/empanadas/) is what helps us with this procedure.

---

<div class="post-metadata">

**Author:** ![jerryn](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jerryn](https://forums.rockylinux.org/u/jerryn)\
**Post date:** [January 16, 2024, 10:26pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512/6 "2024-01-16T22:26:57Z")

</div>

Thanks… that’s what I thought, creating a bootable cd/dvd has to be native. I am going to have to jump through hoops. I have an old CentOS 6.8 installed on that p720. The GCC compiler on that system is going to be too old to build the new install.

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [January 16, 2024, 10:44pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512/7 "2024-01-16T22:44:40Z")

</div>

If you’re willing to go through with trying to make it all work, you _might_ have better luck starting on Fedora 28. It’s still old yes since it’s closer to Rocky 8, but it’s better than CentOS 6 or 7. It may be worth a shot.

See [here](https://dl03.fedoraproject.org/pub/archive/fedora-secondary/releases/28/).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [March 16, 2024, 10:44pm UTC](https://forums.rockylinux.org/t/can-you-build-a-disto-for-ppc64-big-endian-systems-i-have-a-p720-in-my-basement/12512/8 "2024-03-16T22:44:48Z")

</div>

Closed on March 16, 2024, 10:44pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
