# Migrate2Rocky error on MegaRaid driver

**URL:** <https://forums.rockylinux.org/t/migrate2rocky-error-on-megaraid-driver/6391>\
**Category:** Rocky Linux Help & Support\
**Created:** [June 23, 2022, 4:41pm UTC](https://forums.rockylinux.org/t/migrate2rocky-error-on-megaraid-driver/6391 "2022-06-23T16:41:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![synack2](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/synack2/32/1349_2.png) [@synack2](https://forums.rockylinux.org/u/synack2)\
**Post date:** [June 23, 2022, 4:41pm UTC](https://forums.rockylinux.org/t/migrate2rocky-error-on-megaraid-driver/6391/1 "2022-06-23T16:41:14Z")

</div>

I am trying to use the migrate2rocky script on a CentOS8 machine. This is an older dell with the unsupported Megaraid drivers. I had to install it using a DUD driver, and then add the elrepo to my repos so I would find the drivers out there when it did a kernal update, else it would quit booting after a kernal update. The script errors out and the log shows:

Problem: cannot install the best update candidate for package kmod-megaraid\_sas-07.714.04.00-3.el8\_4.elrepo.x86\_64

- nothing provides kernel \>= 4.18.0-372.9.1.el8 needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(\_dev\_info) = 0xbdc3f5dc needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(\_dev\_err) = 0x1cba9e84 needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(\_dev\_warn) = 0xaad33b64 needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(dev\_printk) = 0x008c88fc needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(pci\_find\_capability) = 0x6e90426b needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(\_\_num\_online\_cpus) = 0xc60d0620 needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(\_dev\_notice) = 0x7d4c60c7 needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(pci\_hw\_deprecated) = 0xb2930a63 needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64
- nothing provides kernel(pci\_hw\_unmaintained) = 0x82f2869a needed by kmod-megaraid\_sas-07.719.03.00-1.el8\_6.elrepo.x86\_64  
(try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Not sure if I should try a --skip-broken or try a --nobest first, or if that will leave my system unbootable. I do have a complete backup of 16TB’s of data on this server and I can rebuild it from scratch fairly easily if it does go bad, but I would prefer it didn’t.

---

<div class="post-metadata">

**Author:** ![synack2](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/synack2/32/1349_2.png) [@synack2](https://forums.rockylinux.org/u/synack2)\
**Post date:** [June 24, 2022, 12:18pm UTC](https://forums.rockylinux.org/t/migrate2rocky-error-on-megaraid-driver/6391/2 "2022-06-24T12:18:43Z")

</div>

I tried adding the --nobest to the script. It installed, but no boot afterwards. I have reinstalled Rocky and I am reconfiguring. Luckily my 32TB storage array stayed in tact, so I just have to reinstall the OS and re-setup my Samba. I was on CentOS 8.0, so I think it has something to do with it. The DUD driver from the epel repository has a 8.6 version, but for some reason the script wouldn’t see it and it put the new kernel on without a driver. I know there was probably a way to boot from the old kernel and recreate a new one, but it was faster to just re-install the OS. Now I have 4 more servers to do this too.

---

<div class="post-metadata">

**Author:** ![toracat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/toracat/32/68_2.png) [@toracat](https://forums.rockylinux.org/u/toracat)\
**Post date:** [June 24, 2022, 5:16pm UTC](https://forums.rockylinux.org/t/migrate2rocky-error-on-megaraid-driver/6391/3 "2022-06-24T17:16:52Z")

</div>

Since this is not a “horizontal (8.6 → 8.6)” conversion, you’d have to update the kernel and the kmod at the same time. I wonder what happens if you update the kernel to 8.6 first (no boot here) and then run the script. Or, update the kernel AND the kmod, then run the script.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:47am UTC](https://forums.rockylinux.org/t/migrate2rocky-error-on-megaraid-driver/6391/4 "2023-08-25T03:47:08Z")

</div>


