You are not logged in.

#1 2017-10-06 13:58:31

ntldr
Member
Registered: 2017-01-04
Posts: 67

Fails to boot after kernel update

Last time there was kernel update it did install it correctly. After rebooting it wouldnt want to boot anymore it said failed to boot couple of storage drives and pacman update (reflector) See screenshot https://imgur.com/a/GPFXc

After fixing those both errors my setting the multi user to graphical.target and i booted to livecd to reinstall linux / linux-headers I managed to get the system to boot into new kernel.

Now today when upgrading linux/linux headers packages same thing happened again expect I do not use lightdm anymore only sddm. I tried to fix it by installing linux again from livecd but wasnt able to get it work at least yet. Didnt have time to debug it more.. but I have feeling that grub is somehow making this happen since I changed from systemd boot to grub uefi. I just dont get why boot is complaining about bunch of storage drives not being able to mount and multi user system / graphical interface. It is indeed booting to old kernel somehow..

Offline

#2 2017-10-06 14:19:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: Fails to boot after kernel update

ntldr wrote:

It is indeed booting to old kernel somehow..

Please take some time to gather your thoughts and write a descriptive post in clear language.  I've struggled to make sense out of anything in that post.  But this last line would suggest your boot partition was not mounted when you updated.  This could also lead to several other problems which may be what you are trying to describe.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-10-06 18:54:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Fails to boot after kernel update

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-10-06 23:41:55

ntldr
Member
Registered: 2017-01-04
Posts: 67

Re: Fails to boot after kernel update

Trilby wrote:
ntldr wrote:

It is indeed booting to old kernel somehow..

Please take some time to gather your thoughts and write a descriptive post in clear language.  I've struggled to make sense out of anything in that post.  But this last line would suggest your boot partition was not mounted when you updated.  This could also lead to several other problems which may be what you are trying to describe.

But if the boot isnt mounted shouldnt pacman say the install would fail? Because it didnt indicate anything that would suggest the install was fail. Or is pacman dumb enough to let it install without /boot being mounted?

Also it might be possible that nvidia and sddm arent working together. Could try to remove nvidia drivers or try again to install kernel from livecd?

Offline

#5 2017-10-06 23:46:24

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Fails to boot after kernel update

ntldr wrote:

Or is pacman dumb enough to let it install without /boot being mounted?

It's nothing to do with pacman being dumb, it's having an incorrectly configured system that's the problem.
Boot from an installation USB, mount all of your partitions, and then reinstall the linux package (either using pacmans root flag to specify a mount point or by chrooting in and using pacman normally).

Once your system is booting correctly make sure your fstab is correct.

Last edited by Slithery (2017-10-06 23:52:52)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2017-10-06 23:51:26

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Fails to boot after kernel update

If there was a separate /boot filesystem listed in /etc/fstab and it is not mounted there will be a warning when the kernel is updated

post_upgrade() {
  if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then
    echo "WARNING: /boot appears to be a separate partition but is not mounted."
  fi

The kernel version mismatch should be addressed first.  Then check for remaining issues.
Ensure that there is an entry for /boot in the fstab is it is a separate partition.

Offline

Board footer

Powered by FluxBB