You are not logged in.

#1 2017-12-16 12:29:00

ashishh
Member
Registered: 2017-12-16
Posts: 4

[SOLVED] GUI (Xfce) not starting after update.

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

#2 2017-12-16 13:07:07

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [SOLVED] GUI (Xfce) not starting after update.

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

#3 2017-12-16 13:51:14

ashishh
Member
Registered: 2017-12-16
Posts: 4

Re: [SOLVED] GUI (Xfce) not starting after update.

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

#4 2017-12-16 14:31:54

ashishh
Member
Registered: 2017-12-16
Posts: 4

Re: [SOLVED] GUI (Xfce) not starting after update.

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

#5 2017-12-16 14:45:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [SOLVED] GUI (Xfce) not starting after update.

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

#6 2017-12-16 14:54:10

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [SOLVED] GUI (Xfce) not starting after update.

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 linux

This 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

#7 2017-12-16 14:59:54

ashishh
Member
Registered: 2017-12-16
Posts: 4

Re: [SOLVED] GUI (Xfce) not starting after update.

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

Board footer

Powered by FluxBB