You are not logged in.
My machine has Arch Linux and Kali Linux dual booted.
I faced a problem of kernal panic in my arch due to error in loading shared library libcryptosetup.so (/sbin/init)
So I booted my kali and did chroot into arch and updated it by pacman -Suy
When I booted back to arch kernal panic was gone but I was not getting GUI (XFCE)
there is one error 'failed to start load kernal module' as well.
On ifconfig only 'lo' interface is there.
I tried few solutions to bring back network :
- Downgraded kernal
- tried 'rfkill unblock all' but getting error /dev/rfkill doesn't exist
So now I neither have network interfaces nor GUI.
In kali wifi is working fine.
Last edited by ashishh (2017-12-16 15:04:30)
Offline
Sounds like you're missing kernel modules, which is usually caused by updating the kernel while your boot partition is not mounted. Boot into Arch and check the loaded kernel matches the installed kernel.
Compare 'uname -a' with 'pacman -Q linux'. If they don't, then chroot in to Arch again, and make sure your boot partiiton is mounted before reinstalling the kernel. If the kernel versions do match, please upload the journal from a failed session.
https://wiki.archlinux.org/index.php/Sy … al_to_view
https://wiki.archlinux.org/index.php/Sy … ing_output
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank You @WorMzy! I indeed forgot to mount boot on chroot .. I will try to update again
Last edited by ashishh (2017-12-16 13:54:15)
Offline
Both kernel were different so I mounted boot did chroot and executed
mkinitcpio -v -k 4.14.5-1.ARCH (which was output of pacman -Q linux) -g /boot/initramfs-linux.img
to rebuild image with latest kernal
But now I am getting emergency shell and keyboard is not working too.
Offline
It's hard to say what you *actually* did from that vague description, but be sure to read https://wiki.archlinux.org/index.php/Pa … an_upgrade
Offline
Both kernel were different so I mounted boot did chroot and executed
mkinitcpio
I think you misread what I said to do. Rather than manually running mkinitcpio, reinstall the linux package.
pacman -S linuxThis will make sure that the kernel on the boot partition is the same version as the modules installed to your root partition. The installation process will trigger a rebuild of the initrds too.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank you WorMzy and Seth! I did pacman -S linux and it regenerated kernal img! Now it is up and running.
Last edited by ashishh (2017-12-16 15:02:22)
Offline