You are not logged in.
I installed the LTS, Zen, and Hardened Linux kernels (sudo pacman -S linux-lts linux-zen linux-hardened) and when I look in grub or the advanced options, I only see the normal linux kernel. How do I make the other kernels appear?
PS: I noticed some weird things being said during the installation, such as "error: command failed to execute correctly", I put the log on pastebin, here https://pastebin.com/GP3FPmz2
Last edited by ElmBroken (2025-03-02 08:10:41)
Offline
Did you update grub.cfg?
Off topic: you should install the relevant filesystem tools package(s), your log shows that fsck is not being applied during the boot process.
Jin, Jîyan, Azadî
Offline
yes, I did update grub.cfg with the correct command, also, what do u mean by file system tool packages? like what packages?
Offline
What was this "correct" command, exactly?
If you use ext4 you need the e2fsprogs package; consult the ArchWiki for the rest.
Jin, Jîyan, Azadî
Offline
no, I actually use btrfs, and I ran "sudo grub-mkconfig -o /boot/grub/grub.cfg"
Offline
For btrfs you need btrfs-progs but you don't actually need it for fsck because btrfs is not fsck-able. Somebody should probably tell the mkinitcpio devs...
Please share the full output of `sudo grub-mkconfig` (using code tags). Thanks.
EDIT: you also need dosfstools for the EFI system partition.
Last edited by Head_on_a_Stick (2025-03-01 22:39:28)
Jin, Jîyan, Azadî
Offline
ok, so I installed btrfs-progs and dosfstools. reboot and regen, nothing. also heres the output of "sudo grub-mkconfig" https://pastebin.com/pL9BRbUP
thank you
Offline
That shows menuentries for the new kernels.
Can we see
efibootmgr -u
blkidThanks.
Jin, Jîyan, Azadî
Offline
firstly
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0002,0016,001A,001B,0019,0018,0017
Boot0000* GRUB HD(1,GPT,36f889ef-6a04-4bb9-bff9-2266ae7363f9,0x800,0x200000)/\EFI\GRUB\grubx64.efi
Boot0002* Windows Boot Manager HD(1,GPT,7c47ea73-1a85-442a-a40f-0a071d2a7ad9,0x1000,0x200000)/\EFI\Microsoft\Boot\bootmgfw.efi䥗䑎坏S
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0017* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0018* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot0019* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001A* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001B* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
for blkid,
/dev/nvme0n1p3: UUID="0d539f2b-946a-448c-a813-3991718bf032" UUID_SUB="f368d46c-b046-46db-b3da-e61788066756" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="bcdf2880-137f-4b15-b2d7-0917b550d779"
/dev/nvme0n1p1: UUID="6790-C7EE" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="36f889ef-6a04-4bb9-bff9-2266ae7363f9"
/dev/nvme0n1p2: UUID="357fa277-8a77-49e0-bff1-1ab6fc20cf86" TYPE="swap" PARTUUID="416f8904-d445-4f84-8ac4-0226c99eadd9"
/dev/mmcblk0: UUID="142ec147-56af-41d4-affe-45a582563147" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda2: BLOCK_SIZE="512" UUID="6028C7EF28C7C1F0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8c659f00-e5db-4d21-981c-5798b04175a1"
/dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="2b703b48-b078-4f1a-8438-d2d76cc1a2dd"
Last edited by ElmBroken (2025-03-01 22:55:59)
Offline
You need to run it as root.
Jin, Jîyan, Azadî
Offline
sry, I just realized that after I sent it
also just for reference I have an sd plugged in too, you can ignore the mmcblk0
Last edited by ElmBroken (2025-03-01 22:59:08)
Offline
The main "Arch Linux" menuentry GRUB shows you is for linux-zen; the other kernels can be found under the "Advanced options" submenu.
Sorry, that was obvious from post #7, I just didn't think it through ![]()
Jin, Jîyan, Azadî
Offline
Ye, ik. they dont appear there
Offline
I fixed it! after rebooting and remaking the config, it just randomly fixed itself? thanks!
Offline