You are not logged in.

#1 2021-08-04 07:29:32

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

grub is not showing other kernel

I have installed linux-lts ,linux-zen, linux-lts-headers , linux-zen-headers , os-prober

Terminal wrote:

sudo su

sudo echo "GRUB_DISABLE_OS_PROBER=false" >> /etc/default/grub


exit

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

Not sure how to use code tag

Last edited by kazi_sifat9 (2021-08-04 07:33:06)

Offline

#2 2021-08-04 07:35:54

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

Re: grub is not showing other kernel

https://bbs.archlinux.org/help.php#bbcode

Please post /etc/default/grub and /boot/grub/grub.cfg

Offline

#3 2021-08-04 07:53:36

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: grub is not showing other kernel

cat /etc/default/grub  ->  http://sprunge.us/iB7r2K
cat /boot/grub/grub.cfg -> http://sprunge.us/YsTjIA

Offline

#4 2021-08-04 07:56:54

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

Re: grub is not showing other kernel

The grub.cfg has linux, lts and zen all listed - you're not booting using that grub.cfg, simple as that.

lsblk -f
mount

Offline

#5 2021-08-04 08:04:45

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: grub is not showing other kernel

lsblk -f
mount
sudo grub-mkconfig -o /boot/grub/grub.cfg

that's mean this 3 line will solve the issue ?
Offtopic : I noticed sprunge is http . Is there any better pestebin

Offline

#6 2021-08-04 08:16:55

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

Re: grub is not showing other kernel

that's mean this 3 line will solve the issue ?

No. How did you install archlinux?

Offline

#7 2021-08-04 08:20:45

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: grub is not showing other kernel

I have 2 arch Linux
sda1 is old one( pure arch)
sda2 is new one -> bootloader (calamaris) please don't ignore me, after hearing this .
This new bootloader showing sda1 all kernel but not for new sda2

Last edited by kazi_sifat9 (2021-08-04 08:27:01)

Offline

#8 2021-08-04 08:36:04

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

Re: grub is not showing other kernel

Because you're booting from sda1 but write the config to sda2...

Offline

#9 2021-08-04 08:48:03

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: grub is not showing other kernel

No. I am using sda2 . Bootloader is on sda which is came from sda2 .. ignore sda1 . Sda2 is not showing other kernel

Last edited by kazi_sifat9 (2021-08-04 08:48:31)

Offline

#10 2021-08-04 09:08:13

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

Re: grub is not showing other kernel

What do you think is more likely: grub making up a random configuration out of thin air or you booting an entirely different grub than you're currently configuring?

uname -a; pacman -Qs linux

Offline

#11 2021-08-04 09:46:00

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: grub is not showing other kernel

I should say sorry to you.
Actually I have installed those from my custom iso releng/package_x86_64
Pacman showing those are alright present.
But After reinstalling those packages  and updating grub fixed that issue . But still I can't understand how everything is working . It will better if you dont close this issue .
I can't see any difference between active kernel and deactivate kernel, reinstall make it active

Thanks a lot for helping

Last edited by kazi_sifat9 (2021-08-04 10:04:15)

Offline

#12 2021-08-04 10:04:40

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: grub is not showing other kernel

Yes i found the correct way to ask question how to run Post transaction manually after downloading a kernel

Offline

#13 2021-08-04 11:07:08

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

Re: grub is not showing other kernel

The problem is that the grub installation on the MBR wasn't referencing the desired boot partition (sda2)

When you're presented with commands - that you should be aware of - that print information about the system setup & status, the idea is typically to post those outputs.

Offline

Board footer

Powered by FluxBB