Old kernel still in use when installing a new kernel

It’s impossible to switch the running kernel without a reboot.

2 Likes

Did you try this yet?

"Advanced options" is usually the second entry on the menu list.

Did you change anything related to the boot options and/or boot directory?

What are the contents under /boot,

ls -1 /boot/

Run,

sudo update-grub

Post the output in here. You have both 5.13 and 5.14 in your /boot directory.

By all means, it should give you those entries in your Grub menu when you reboot…

I’m at a loss now.

Is it possible that you have mounted the wrong /boot ?

mount | egrep boot
sudo parted -l

mount | egrep boot
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)

sudo parted -l

Model: ATA Seagate BarraCud (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
 1      2097kB  317MB  315MB  fat32              boot, esp
 2      317MB   480GB  480GB  ext4         root```

one more try:

ls -lA /boot/efi
ls -lA /boot/efi/*
df /boot/efi
sudo ls -lA /boot/efi                                                                                                                                                           
total 4
drwx------ 4 root root 4096 27 sep 13.56 EFI

sudo ls -lA /boot/efi/*                                                                                                                                                         
`zsh: no matches found: /boot/efi/*

@anon67018344 for all of your outputs, please put ``` before and after your output, or highlight your output and click on the </> button. It makes it easier to read.

1 Like

I weiß au neme weidr. :man_shrugging:
But where is your GRUB ? when /boot/efi/* is completely empty ?

ls -lA /boot/efi/*                                                                                                                    
insgesamt 16
drwxr-xr-x 2 root root 4096 25. Jun 2020  boot
drwxr-xr-x 2 root root 4096 25. Jun 2020  manjaro
drwxr-xr-x 6 root root 4096 13. Sep 20:29 refind
drwxr-xr-x 2 root root 4096 15. Sep 17:55 tools
sudo ls -lA /boot/efi/EFI/manjaro                                                                                                     
insgesamt 276
-rwxr-xr-x 1 root root 282624 26. Jun 2020  grubx64.efi
total 136
-rwx------ 1 root root 139264 27 sep 20.42 grubx64.efi```

/etc/fstab

UUID=D2AA-6566 /boot/efi vfat umask=0077 0 2
UUID=58b3c7c5-0a30-4bc2-92f8-ecbfcd5e6f3b / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

fstab, kernels, /boot seems all well.

GRUB_DEFAULT=saved
GRUB_TIMEOUT=3
GRUB_TIMEOUT_STYLE=menu

You have to stop in grub and to select the right kernel from there

It still doesn’t work, theres only kernel 5.13 in advanced menu

Then i am out of ideas.

I guess you can try to install refind to see if that works instead of grub. I don’t use grub personally

For the heck of it, can you post the contents of /boot/grub/grub.cfg

cat /boot/grub/grub.cfg

It’s going to be a very long list! Paste the output in a link, such as pastebin.com. Then share the link in here.

@anon67018344 I’ve edited some of your posts for better readability of terminal output. Please use </> button to format or the 3 backticks in front and after the content.

This makes me think, your system is booting another grub or doesn’t use grub at all. Are you directly booting into the old kernel via EFISTUB?
Are there any other linux installations on that system on other drives? The parted -l output above was complete?
Please post output of

$ lsblk -f

and

$ efibootmgr -v
2 Likes

I don’t follow?

You said,

Then continued with,

So updating to the Unstable branch caused the issue… but then updating to the Unstable branch fixed the issue?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.