Regenerate Initramfs File in Linux | Resolve Kernel Panic Error in Redhat Enterprise Linux

preview_player
Показать описание
Kernel Panic Error Resolution in RHEL 7/8:
--------------------------------------------------------------------
1. See the details of Kernel Panic Error (Identify the reason behind it eg. New Kernel, Corrupted initramfs, New Packages after Patching, Hardware change etc.)

2. Login the system with root credentials through rescue mode.

3. Take necesarry action as the reason of getting this error.
If it is due to new kernel, then downgrade it.
If it is due to corrupted or missing initramfs, regenerate it.

4. In our case it is due to corrupted/absent initramfs file. First check your kernel version.
# uname -r

5. Now regenerate initramfs with dracut or mkinitrd command: (here your kernel version should be same as in previous command result)
To create new initramfs use:
OR

To replace exsiting initramfs file use:
OR
=====================================================
Thanks for watching the video. Please like our videos, share with your friends and feel free to ask anything, post your queries in comments section. We will feel glad to answer your question. And don't forget to subscribe the channel.
===
*****
Join this channel to get access to perks:
*****
******
******
Contact Us:
******
Follow Us On Social Media Platforms:
=======
©COPYRIGHT. ALL RIGHTS RESERVED.

#NehraClasses
Рекомендации по теме
Комментарии
Автор

Was very useful nehra sir got to know in simple steps

vemagantianand
Автор

Thank you so much sir. These videos boot up my knowledge

saisandy
Автор

Awesome Explanation :) loved the presentation

chinnakumar
Автор

I think you did a great job in your presentation. Thank you so much.

michealobinna
Автор

Thank you sir for great explanation 👍 👏 👌 🙏

vishwaschaudhary
Автор

Thank so much for sharing your knowledge

saisandy
Автор

Excellent presentation - keep up the good work

sureshk
Автор

Top IT firm do ask this question during the first phone interview for devops cloud support

Afro_Updates
Автор

Sir how can we check if any module is creating the kernel panic error...lsmod will list all modules but which module is creating the error how to make sure...pls confirm

tabbytabrez
Автор

Sir can you teach how to get in emergency mode please

MrPrabhu
Автор

sir can you please explain how can I restore our initramfs and vmlinuz file through CD thankyou.

siddharthkumar
Автор

Help me I had a problem: kernel panic not syncing attempting to kill init exit code

rajeshchhetri-
Автор

In my case, normal user mode as well as rescue mode lands me to emergency shell, dracut/# terminal saying "1. Warning /dev/mapper/rhel-root does not exist
2. /dev/rhel/root does not exist
3. /dev/rhel/swap does not exist
Gemerating"
Can you please help?!

pratikmuli
Автор

Sir what if initramfs image for resuce mode get deleted ?? . Does it follow vice-versa

MohitGupta-ivuc
Автор

Why in Ubuntu it's almost impossible to resolve this kernel panic error

akshaybagde
Автор

In MY case not working, can you please help

manjitkumar
Автор

Do we have such videos if kernel itself corrup in Linux server, if it is there please give me link thanks

kashefshaikh
Автор

i think, you have missed one step.. when you enter into rescue mode, system loads under "/mnt/sysimage" ... then you need to change it to root by giving "#chroot /mnt/sysimage"

sreepaljsp
Автор

any idea about "failed to start login services" in rhel 7.6

hemanthkumar-xnvu
Автор

Ce Nu ai inteles? Iti mai sexplic o data

mishu