# Do I need to run a command after updating kernels?

**URL:** <https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459>\
**Category:** Kernel, boot, graphics & hardware\
**Created:** [December 2, 2023, 6:56am UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459 "2023-12-02T06:56:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon97404455](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@anon97404455](https://forum.endeavouros.com/u/anon97404455)\
**Post date:** [December 2, 2023, 6:56am UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/1 "2023-12-02T06:56:24Z")

</div>

If do how can I automate it. I have broken my system twice after updating the kernel.

---

<div class="post-metadata">

**Author:** ![thingsiplay](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@thingsiplay](https://forum.endeavouros.com/u/thingsiplay)\
**Post date:** [December 2, 2023, 9:01am UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/2 "2023-12-02T09:01:38Z")

</div>

`yay` should take care of any needed action as far as I know. The question is, why your system got broken after updating a Kernel? Usually that should not happen, unless there is something special going on. I update my system by just running `yay` and after certain updates such as a Kernel or other critical things, just restart the system. I use Kernel modules as well (for a gamepad in example and previously I had Nvidia GPU too) and never had a problem with that either.

What Kernel do you have? I personally use the newest Kernel and the LTS as backup. If something breaks on the new Kernel, then at least I can go back to the old LTS version, unless the system broke otherwise (only happened to me when I forgot about the fstab and a replaced disk drive).

---

<div class="post-metadata">

**Author:** ![anon97404455](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@anon97404455](https://forum.endeavouros.com/u/anon97404455)\
**Post date:** [December 2, 2023, 9:32am UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/3 "2023-12-02T09:32:22Z")

</div>

I am using paru instead. Will it do the same?

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [December 2, 2023, 9:50am UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/4 "2023-12-02T09:50:21Z")

</div>

This is very vague. Do you have some logs to show us? What did you do to fix it the first time? what is your computer spec’s what is your DE/WM?

> [@anon97404455](#):
>
> I am using paru instead. Will it do the same?

yes is the short answer

personally after an update involving a kernel update I only run the reboot command

---

<div class="post-metadata">

**Author:** ![anon97404455](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@anon97404455](https://forum.endeavouros.com/u/anon97404455)\
**Post date:** [December 2, 2023, 1:13pm UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/5 "2023-12-02T13:13:29Z")

</div>

I just reinstalled since the computer had no important data so I can’t give system info for that system but I can give it for this system

System Info `System: Host: endeavouros-thinkpad Kernel: 6.6.3-arch1-1 arch: x86_64 bits: 64 Desktop: Cinnamon v: 6.0.0 Distro: EndeavourOS Machine: Type: Laptop System: LENOVO product: 20ARS06P00 v: ThinkPad T440s serial: <superuser required> Mobo: LENOVO model: 20ARS06P00 serial: <superuser required> UEFI: LENOVO v: GJETA4WW (2.54 ) date: 03/27/2020 Battery: ID-1: BAT0 charge: 15.3 Wh (100.0%) condition: 15.3/23.2 Wh (65.9%) ID-2: BAT1 charge: 9.1 Wh (100.0%) condition: 9.1/23.5 Wh (38.6%) CPU: Info: dual core Intel Core i5-4300U [MT MCP] speed (MHz): avg: 1896 min/max: 800/2900 Graphics: Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel Device-2: Lite-On Integrated Camera driver: uvcvideo type: USB Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2 driver: X: loaded: modesetting dri: crocus gpu: i915 resolution: 1600x900~60Hz API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2 renderer: Mesa Intel HD Graphics 4400 (HSW GT2) Network: Device-1: Intel Ethernet I218-LM driver: e1000e Device-2: Intel Wireless 7260 driver: iwlwifi Drives: Local Storage: total: 931.51 GiB used: 5.34 GiB (0.6%) Info: Processes: 210 Uptime: 19m Memory: total: 8 GiB available: 7.64 GiB used: 2.46 GiB (32.2%) Shell: Bash `

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [December 2, 2023, 2:54pm UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/6 "2023-12-02T14:54:53Z")

</div>

> [@anon97404455](#):
>
> I just reinstalled since the computer had no important data so I can’t give system info for that system but I can give it for this system

the system info is neither here nor there at this point since you did a reinstall.

check for log files before going nuclear next time 🙂 most issues can be fixed

Glad your back up and running however so do enjoy. Please marked the thread as solved

---

<div class="post-metadata">

**Author:** ![BluishHumility](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bluishhumility/32/70412_2.png) [@BluishHumility](https://forum.endeavouros.com/u/BluishHumility)\
**Post date:** [December 3, 2023, 12:06am UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/7 "2023-12-03T00:06:08Z")

</div>

> [@anon97404455](#):
>
> Do I need to run a command after updating kernels?

After installing or updating a kernel, you need to create an initramfs for it and the bootloader configuration needs to be regenerated or updated. By default, EOS has tooling set up to take care of this automatically, but it is possible you made some changes to the system which disrupted this functionality. Installing or uninstalling certain packages would do it.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [December 5, 2023, 12:06am UTC](https://forum.endeavouros.com/t/do-i-need-to-run-a-command-after-updating-kernels/48459/8 "2023-12-05T00:06:28Z")

</div>

Closed on December 5, 2023, 12:06am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
