# Migration script and CENTOS 7

**URL:** <https://forums.rockylinux.org/t/migration-script-and-centos-7/10893>\
**Category:** Rocky Linux Help & Support\
**Created:** [August 2, 2023, 4:33am UTC](https://forums.rockylinux.org/t/migration-script-and-centos-7/10893 "2023-08-02T04:33:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhi](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jhi](https://forums.rockylinux.org/u/jhi)\
**Post date:** [August 2, 2023, 4:33am UTC](https://forums.rockylinux.org/t/migration-script-and-centos-7/10893/1 "2023-08-02T04:33:40Z")

</div>

I have CENTOS 7 and would like to migrate to Rocky Linux. I saw the conversion script and the instruction for it. Looks like conversion script calls for CENTOS 8 to Rocky Linux 8. Anyone know if I need to migrate to CENTOS 8 before running script to migrate to Rocky Linux?

Also I have copy of Mathworks Mathlab. Does anyone know if the migration to Rocky Linux, if done, will impact this tool?

Thank you  
jhi

---

<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:** [August 2, 2023, 4:35am UTC](https://forums.rockylinux.org/t/migration-script-and-centos-7/10893/2 "2023-08-02T04:35:49Z")

</div>

Upgrades are not supported. If you wish to use Rocky Linux 8, you are recommended to backup your current system and restore it on a new Rocky Linux 8 system.

---

<div class="post-metadata">

**Author:** ![mdcTUX](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mdcTUX](https://forums.rockylinux.org/u/mdcTUX)\
**Post date:** [August 2, 2023, 6:22am UTC](https://forums.rockylinux.org/t/migration-script-and-centos-7/10893/3 "2023-08-02T06:22:21Z")

</div>

You can simple use the leapp tool.

```auto
yum/dnf install http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm
yum/dnf install leapp-upgrade leapp-data-rocky
leapp preupgrade
#Answer the needed questions
leapp upgrade
reboot

```

Then you will be on Rocky8 and now you can do the same to get to 9.  
The [doc](https://wiki.almalinux.org/elevate/) of the project.

---

<div class="post-metadata">

**Author:** ![tjyang](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjyang/32/232_2.png) [@tjyang](https://forums.rockylinux.org/u/tjyang)\
**Post date:** [August 2, 2023, 11:55am UTC](https://forums.rockylinux.org/t/migration-script-and-centos-7/10893/4 "2023-08-02T11:55:09Z")

</div>

@mdcTUX , Thanks for speaking out to support leapp/elevate approach. Although this approach is not supported by RL. My experience of using elevate for C7toRL8 is for VMWare VM, so far so good 😉

---

<div class="post-metadata">

**Author:** ![mdcTUX](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mdcTUX](https://forums.rockylinux.org/u/mdcTUX)\
**Post date:** [August 3, 2023, 4:13am UTC](https://forums.rockylinux.org/t/migration-script-and-centos-7/10893/5 "2023-08-03T04:13:49Z")

</div>

I have used it in virtual and bare metal environments. For bar metal you must read the warnings about unsupported hardware, because some NIC’s and raid controllers are EOL for RHEL8+9.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [August 3, 2023, 8:45am UTC](https://forums.rockylinux.org/t/migration-script-and-centos-7/10893/6 "2023-08-03T08:45:18Z")

</div>

> [@mdcTUX](#):
>
> some NIC’s and raid controllers are EOL for RHEL8+9.

… and while one can get drivers for some of them from ELRepo, the migration might not do that for you.

The ‘leapp’ originates from Red Hat, for RHEL. Even there, all setups cannot be migrated. Particularly, third-party repo (content) tends to be a hurdle.
