# Kernel-core error at install

**URL:** <https://forums.rockylinux.org/t/kernel-core-error-at-install/3683>\
**Category:** Rocky Linux Help & Support\
**Created:** [July 31, 2021, 4:29pm UTC](https://forums.rockylinux.org/t/kernel-core-error-at-install/3683 "2021-07-31T16:29:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![err0r500](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@err0r500](https://forums.rockylinux.org/u/err0r500)\
**Post date:** [July 31, 2021, 4:29pm UTC](https://forums.rockylinux.org/t/kernel-core-error-at-install/3683/1 "2021-07-31T16:29:22Z")

</div>

Hello,  
I try to build a small rocky linux image (8GB) with the minimal-install & `ANSSI-enhanced` security profile applied. I use the dvd install.  
The profile asks for a peculiar partitioning scheme and each one of my tries ends with a :  
`dnf error error in POSTTRANS scriptlet in rpm package kernel-core`

I think it’s related to how I size the partitions because a minimal install with automatic partitioning works fine (but I can’t apply the profile).

Here’s my last attempt :

```auto
/boot >> 512MB
/opt >> 16MB (not used)
/tmp >> 128MB
/srv >> 16MB (not used)
/home >> 128MB
/usr >> 2GB
/var >> 512MB
/var/log >> 1GB
/var/tmp/ >> 128MB
/var/log/audit/ >> 128MB
swap >> 2GB
/ >> remaining space

```

Do you have an idea what’s wrong here ?  
Best,  
Matthieu

---

<div class="post-metadata">

**Author:** ![err0r500](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@err0r500](https://forums.rockylinux.org/u/err0r500)\
**Post date:** [July 31, 2021, 5:28pm UTC](https://forums.rockylinux.org/t/kernel-core-error-at-install/3683/2 "2021-07-31T17:28:56Z")

</div>

actually, when I build a 20GB image, giving at least 1GB to each partition, everything works fine.  
I’ll start from there, reduce each one progressively and see where it leads.

---

<div class="post-metadata">

**Author:** ![ardhiatno](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/ardhiatno/32/3498_2.png) [@ardhiatno](https://forums.rockylinux.org/u/ardhiatno)\
**Post date:** [August 24, 2023, 5:09pm UTC](https://forums.rockylinux.org/t/kernel-core-error-at-install/3683/3 "2023-08-24T17:09:14Z")

</div>

I am currently working on creating a KS script for a small rocky installation and have come across the same error as mentioned above. Would you mind sharing what the minimum size of each of your partitions is for it to work normally?

---

<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:** [September 7, 2023, 5:09pm UTC](https://forums.rockylinux.org/t/kernel-core-error-at-install/3683/4 "2023-09-07T17:09:20Z")

</div>

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