Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for RHEL 9 #219

Closed
2 tasks
rbo opened this issue Jun 7, 2022 · 11 comments
Closed
2 tasks

Add support for RHEL 9 #219

rbo opened this issue Jun 7, 2022 · 11 comments

Comments

@rbo
Copy link
Contributor

rbo commented Jun 7, 2022

  • Provide/Create RHEL 9 Image & documentation for hetzner servers
  • Test hetzner-ocp4 Playbooks
@rbo
Copy link
Contributor Author

rbo commented Jun 7, 2022

Tried to create an image based on https://keithtenzer.com/cloud/how-to-create-a-rhel-8-image-for-hetzner-root-servers/

After creating an image and installation if failed, there is still the device uuid 432d61fd-26f4-... in /boot and /etc in use. It looks like the installer doesn't cleanup / replaced it very well.

My current steps for image creation:

Install RHEL 9 minimal, custom partitioning without lvm.
2022-06-07-10-16-59-1654589819
2022-06-07-10-16-14-1654589774

Run those commands:

ln -s /usr/bin/dracut /sbin/dracut
dnf install -y mdadm lvm2
subscription-manager remove --all
cd /
tar cJvf CentOS-80-stream-amd64-base.tar.xz --exclude=/dev \
--exclude=/proc --exclude=/sys --exclude=/CentOS-75-el-x86_64-minimal.tar.xz /

An RHEL 9 installation via KVM & ISO was successful.

@rbo
Copy link
Contributor Author

rbo commented Jun 7, 2022

RHEL 9 use UUID in /proc/cmdline:

[root@localhost ~]# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-70.13.1.el9_0.x86_64 root=UUID=432d61fd-26f4-4bdb-88e0-f2102afe4896 ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=53131161-305c-4b25-a593-7a61c8c67c83

RHEL 8 use /dev/... in /proc/cmdline:

[root@pluto ~]# cat /proc/cmdline
BOOT_IMAGE=(mduuid/55d7f37f319423e94927c2cd4080443d)/vmlinuz-4.18.0-147.el8.x86_64 root=/dev/mapper/vg0-root ro biosdevname=0 crashkernel=auto nomodeset rd.auto=1 consoleblank=0
[root@pluto ~]#

@rbo
Copy link
Contributor Author

rbo commented Jun 7, 2022

Error message at rhel 9 boot, reproduced via libvirt

image

rdsosreport.txt

@lucamaf
Copy link
Contributor

lucamaf commented Jul 21, 2022

will upgrading from rhel8 to rhel9 work on a working installation?

@rbo
Copy link
Contributor Author

rbo commented Jul 22, 2022

@lucamaf never tested, it's possible to upgrade an installation from rhel8 to rhel9? Shame on me I'm not a rhel expert.

@lucamaf
Copy link
Contributor

lucamaf commented Jul 22, 2022 via email

@rbo
Copy link
Contributor Author

rbo commented Jul 22, 2022

What? I'm lost... RHEV? hetzner-ocp4 use plain kvm. no ovirt no rhev just kvm.

@lucamaf
Copy link
Contributor

lucamaf commented Jul 22, 2022 via email

@kborup-redhat
Copy link
Contributor

Lucamaf yes you can update to RHEL 9 from RHEL 8

@rbo
Copy link
Contributor Author

rbo commented Sep 12, 2022

Lucamaf yes you can update to RHEL 9 from RHEL 8

@kborup-redhat Do you have any how-to / information for us?

@rbo rbo mentioned this issue Nov 4, 2022
3 tasks
@rbo
Copy link
Contributor Author

rbo commented Dec 16, 2022

Added base image introduction with #234 - thanks to @knumskull

@rbo rbo closed this as completed Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants