Tuesday, March 1, 2022

RHEL 7 GRUB reinstall

 grub2-install /dev/sda

grub2-mkconfig -o /boot/grub2/grub.cfg






Monday, February 28, 2022

RHEL boot with network - Troubleshoot 'Login error on ssh and console'

Boot to Troubleshooting mode and select 1st option:


chroot /mnt/sysimage 

Run below command.

Login error: tail - f /var/log/secure - Found pam module missing. /usr/lib64/security.

reinstalled pam after connecting to network. But found pam_unix.so gettting deleted. Disabled mcafee and found it's working. 

ip link

 ip link set dev eth0 up
ip addr add 192.168.122.250/24 dev eth0
ip route add default via 192.168.122.1

https://access.redhat.com/solutions/2626631