Grench6 / RX580-rocM-tensorflow-ubuntu20.4-guide

Install guide of ROCm and Tensorflow on Ubuntu for the RX580
110 stars 13 forks source link

Issue with upgrading to kernel 5.4.0-42-generic #6

Closed dimucciojonathan closed 3 years ago

dimucciojonathan commented 3 years ago

I've been looking around (since this isn't an issue with the guide) but couldn't find an answer to my question.

When installing Ubuntu 20.04.3 fresh, I start with kernel 5.11.0-34-generic. Then after following through the steps, I have no other available kernels in the grub boot menu. I'm fairly new to Ubuntu/Linux, so I have no idea what else to do.

I have a RX 580 of course, i5 9400F, gigabyte z390 SLI.

Grench6 commented 3 years ago

Ubuntu has a weird kernel release/support model which they call Rolling LTS Enablement Stack, otherwise known as HWE (Hardware Enablement). You can read more about it here.

By default, it is enabled, so when you downloaded Ubuntu Desktop 20.04 it comes only with the newest supported kernel. This is not what we want, but there are a couple of ways to get our desired kernel. The simplest one is to install the GA kernel (5.4 in the case of Ubuntu 20.04): sudo apt install --install-recommends linux-generic

Once you reboot and go to GRUB, you will see your newly installed kernel available.

Grench6 commented 3 years ago

I've also updated the guide to make this more clear, let me know if it works.