# Transition from CentOS to Rocky

**URL:** <https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389>\
**Category:** Rocky Linux Help & Support\
**Created:** [December 10, 2020, 10:27pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389 "2020-12-10T22:27:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linux-Ninja](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/linux-ninja/32/154_2.png) [@Linux-Ninja](https://forums.rockylinux.org/u/Linux-Ninja)\
**Post date:** [December 10, 2020, 10:27pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/1 "2020-12-10T22:27:54Z")

</div>

Hi Team,  
I know is too early in the roadmap, but it would be great to have a script that converts CentOS to Rocky when we get to a release state. Thoughts?

---

<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:** [December 10, 2020, 10:30pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/2 "2020-12-10T22:30:55Z")

</div>

This is on the roadmap. The gist is that the centos\*release packages would need to either be updated/obsoleted or swapped with a rockylinux-release like package. Similar-ish of converting RHEL to CentOS or otherwise.

---

<div class="post-metadata">

**Author:** ![Linux-Ninja](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/linux-ninja/32/154_2.png) [@Linux-Ninja](https://forums.rockylinux.org/u/Linux-Ninja)\
**Post date:** [December 10, 2020, 10:32pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/3 "2020-12-10T22:32:13Z")

</div>

Glad to hear this will be incorporated, looking forward to the first build…Lets get Rocking!

---

<div class="post-metadata">

**Author:** ![esw](https://avatars.discourse-cdn.com/v4/letter/e/a587f6/32.png) [@esw](https://forums.rockylinux.org/u/esw)\
**Post date:** [December 10, 2020, 11:08pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/4 "2020-12-10T23:08:32Z")

</div>

Just to give you an example - these commands will migrate a CentOS 8 install to a Springdale Linux 8 (from Princeton University) install (tested this on a basic VM earlier today):

```
dnf update -y
rpm -e --nodeps centos-backgrounds centos-indexhtml centos-gpg-keys centos-linux-release centos-linux-repos centos-logos
rpm -ivh \
        http://springdale.princeton.edu/data/springdale/8/x86_64/os/BaseOS/Packages/springdale-appstream-8-0.sdl8.2.noarch.rpm \
        http://springdale.princeton.edu/data/springdale/8/x86_64/os/BaseOS/Packages/springdale-core-8-0.sdl8.2.noarch.rpm \
        http://springdale.princeton.edu/data/springdale/8/x86_64/os/BaseOS/Packages/springdale-release-8.3-0.42.el8.x86_64.rpm
dnf distro-sync -y

```

Rocky will probably be a very similar process.

---

<div class="post-metadata">

**Author:** ![Linux-Ninja](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/linux-ninja/32/154_2.png) [@Linux-Ninja](https://forums.rockylinux.org/u/Linux-Ninja)\
**Post date:** [December 10, 2020, 11:20pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/5 "2020-12-10T23:20:02Z")

</div>

Can’t wait to try out the first build…so exiting!

---

<div class="post-metadata">

**Author:** ![ITgustl](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@ITgustl](https://forums.rockylinux.org/u/ITgustl)\
**Post date:** [December 11, 2020, 9:36pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/6 "2020-12-11T21:36:43Z")

</div>

Its good to hear such a function is already on the roadmap.

I tried on a testbed a CentOS-8 to CentOS-stream migration and was astonished how easily this goes. OK, I found no working way back (Stream to regular CentOS-8). But, if the CentOS-8 to Rocky migration works is in similar way, we all would be very happy!

To be honest, I think this (planned) migration tool or script is really important in the beginning-phase. We can all setup new servers based on different distros. But it costs a lot time and money (in regards of working hours). For the success of Rocky and a broad and wide CentOS-to-Rocky migration, a good tool doing this task is important.

As the person above wrote: Cant wait for the first build!!

---

<div class="post-metadata">

**Author:** ![RobVerduijn](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@RobVerduijn](https://forums.rockylinux.org/u/RobVerduijn)\
**Post date:** [December 17, 2020, 7:29am UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/7 "2020-12-17T07:29:21Z")

</div>

check out this little tool in epel made by redhat  
convert2rhel.noarch

it’s git repo is here: [https://github.com/oamg/convert2rhel](https://github.com/oamg/convert2rhel)

with some modifications it might be very usefull

Rob

---

<div class="post-metadata">

**Author:** ![jeffrey-a](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jeffrey-a/32/208_2.png) [@jeffrey-a](https://forums.rockylinux.org/u/jeffrey-a)\
**Post date:** [December 17, 2020, 7:27pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/8 "2020-12-17T19:27:25Z")

</div>

I wanted to pop in and add that there is a related conversation here: [CentOS to Rocky migration tooling](https://forums.rockylinux.org/t/centos-to-rocky-migration-tooling/270/13). 🙂

---

<div class="post-metadata">

**Author:** ![melezhik](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/melezhik/32/361_2.png) [@melezhik](https://forums.rockylinux.org/u/melezhik)\
**Post date:** [December 22, 2020, 9:15pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/9 "2020-12-22T21:15:33Z")

</div>

See my proposal - [Configuration Management Options](https://forums.rockylinux.org/t/configuration-management-options/64/27) - one day I could upload “transition” scripts to [https://sparrowhub.io](https://sparrowhub.io) so that user can use them …

---

<div class="post-metadata">

**Author:** ![DollarOS](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@DollarOS](https://forums.rockylinux.org/u/DollarOS)\
**Post date:** [December 30, 2020, 3:46pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/10 "2020-12-30T15:46:36Z")

</div>

The future will certainly surpass CentOS

---

<div class="post-metadata">

**Author:** ![anas\_xrt](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/anas_xrt/32/662_2.png) [@anas\_xrt](https://forums.rockylinux.org/u/anas_xrt)\
**Post date:** [February 5, 2021, 7:04am UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/11 "2021-02-05T07:04:52Z")

</div>

Hi,

Just like to know, if I would like to install new Centos and in the future I can convert to Rockylinux, should I install CentOS 7 or CentOS 8.

---

<div class="post-metadata">

**Author:** ![kcb](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/kcb/32/658_2.png) [@kcb](https://forums.rockylinux.org/u/kcb)\
**Post date:** [February 5, 2021, 8:13pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/12 "2021-02-05T20:13:17Z")

</div>

I am pretty sure the best path is starting with Centos8. Then the command utility provided really only has to change the repositories (and maybe one or two other bits).

I do not know if the same procedure is applicable to Centos7 (my guess- no?)

---

<div class="post-metadata">

**Author:** ![quazarzero](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/quazarzero/32/183_2.png) [@quazarzero](https://forums.rockylinux.org/u/quazarzero)\
**Post date:** [February 6, 2021, 6:22pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/13 "2021-02-06T18:22:49Z")

</div>

But a working/tested/documented migration path from CentOS 7 would be usefull too.

---

<div class="post-metadata">

**Author:** ![robb](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/robb/32/148_2.png) [@robb](https://forums.rockylinux.org/u/robb)\
**Post date:** [February 8, 2021, 11:39am UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/14 "2021-02-08T11:39:45Z")

</div>

The reason for Rocky Linux is the lack of support of CentOS 8 Linux. CentOS7 has a ‘normal’ support path until 2024.  
At that time it might be nice to have a migration path from CentOS7 to Rocky Linux, but for now I don’t see why the current limited resources should be put into a migration path from CentOS7

---

<div class="post-metadata">

**Author:** ![illuminatus](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/illuminatus/32/716_2.png) [@illuminatus](https://forums.rockylinux.org/u/illuminatus)\
**Post date:** [February 24, 2021, 10:12pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/15 "2021-02-24T22:12:56Z")

</div>

> [@robb](#):
>
> The reason for Rocky Linux is the lack of support of CentOS 8 Linux. CentOS7 has a ‘normal’ support path until 2024.

Agreed. We should focus on the primary use case, support for CentOS 8 migrations.

I feel any discussion, scripts, documentation or testing of a Major upgrade from CentOS 7 to Rocky Linux 8 should only come after initial deadlines and/or the road map goals have been achieved.

---

<div class="post-metadata">

**Author:** ![puma2001](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@puma2001](https://forums.rockylinux.org/u/puma2001)\
**Post date:** [February 28, 2021, 2:56pm UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/16 "2021-02-28T14:56:11Z")

</div>

@illuminatus ,

I think that the main goal is to have a independent OS from Centos 8 / Centos Stream, so you are right when you want to make the Centos 8 Migration .  
Can’t wait for the RC iso’s to test them in my laboratory for all the services that i work with for production use.

Cheers,  
Andrei

---

<div class="post-metadata">

**Author:** ![anas\_xrt](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/anas_xrt/32/662_2.png) [@anas\_xrt](https://forums.rockylinux.org/u/anas_xrt)\
**Post date:** [March 9, 2021, 9:10am UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/17 "2021-03-09T09:10:26Z")

</div>

Ahh from the replies, my personally thinks, I would go for new installation with CentOS 7 first until end of year 2021, then would see the migration tools for CentOS8 to RockyLinux. I actually got a bunch of CentOS8 server to go for. Hopefully it smooth.

---

<div class="post-metadata">

**Author:** ![anas\_xrt](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/anas_xrt/32/662_2.png) [@anas\_xrt](https://forums.rockylinux.org/u/anas_xrt)\
**Post date:** [March 9, 2021, 9:12am UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/18 "2021-03-09T09:12:53Z")

</div>

Yeah, later would do for CentOS7 as well.

---

<div class="post-metadata">

**Author:** ![quazarzero](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/quazarzero/32/183_2.png) [@quazarzero](https://forums.rockylinux.org/u/quazarzero)\
**Post date:** [April 7, 2021, 8:11am UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/19 "2021-04-07T08:11:46Z")

</div>

It would be great to have an “official” opinion on what to for new servers.

Install CentOs 7 or CentOs 8 ?

---

<div class="post-metadata">

**Author:** ![MartinR](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@MartinR](https://forums.rockylinux.org/u/MartinR)\
**Post date:** [April 7, 2021, 11:05am UTC](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389/20 "2021-04-07T11:05:35Z")

</div>

C7 for longevity, C8 for ease of transition. I’m aware that this is the Rocky forum, but there is also Springdale and Alma if you absolutely cannot wait for Rocky and need to avoid any potential disruption later in the year.

[Next page](https://forums.rockylinux.org/t/transition-from-centos-to-rocky/389.md?page=2)
