You are not logged in.
Pages: 1
I realize when you install second kernel, its listing at the top in bootloader. And with auto, its booting from first option (0. element).
Lets say, i have linux and linux-lts installed, for booting linux; my boot preference will be `GRUB_DEFAULT=1>2` right ?
I booted the initramfs intentionally, the output for uname, uname -r, uname -a are same. Only lts has difference. Even arch1-2 is same. I thought it will be arch 1-3 but in both cases it was 1-2**. How can i now did i booted Arch initramfs or Arch Linux ?
And what is Arch Linux initramfs in boot options ?
Is this correct; if a Arch user has only linux kernel installed it will display in uname arch1-1 if second is installed it will/may 1-2 | 2-1 | 2-2 ?
**
Bootloader:
Arch Linux-Lts
Arch Linux-Lts (initramfs)
Arch Linux
Arch Linux (initramfs)Last edited by jojo06 (2024-02-05 21:29:39)
Offline
You're confused on what those options are. One uses the standard initramfs, one uses the fallback initramfs, which is just an initramfs without the autodetect hook so it has all drivers and will take slightly longer to boot.
Offline
And seperated modules right ? modprobe does not recognized added in Linux in Lts, is it same with initramfs ? Can it be use like rescue mod ?
From uname we cant detect the initramfs then. What about GRUB_DEFAULT ?
Offline
From uname we cant detect the initramfs then.
No. The initramfs you choose becomes irrelevant after the initial boot phase.
I've serious problems parsing the first line of your post.
Offline
From uname we cant detect the initramfs then.
No. The initramfs you choose becomes irrelevant after the initial boot phase.
I've serious problems parsing the first line of your post.
Bootloader:
Arch Linux
Arch Linux (initramfs)
After install lts
Bootloader:
Arch Linux-Lts << 0 (first element from array)
Arch Linux-Lts (initramfs)
Arch Linux
Arch Linux (initramfs)And what is the arch1-1 or arch2-1 ?
Offline
Is your native tongue covered by deepl.com ?
Offline
About that; i used to use it, but you found that translation nonsense too. Its odd when i try to translate yours to my native tongue, its completely no meaning, pointless. I understand better without it. Also its kinda better to typing without it. But if its that bad, i might need to go for another translation.
Let me try again.
When i run command `uname -r` i get this output:
6.7.3-arch1-2The last digits in the output (which is 1-2) what are the meaning of them ?
Imagine you are in the bootloader. You will see two options:
Arch Linux
Arch Linux AdvancedInside of Arch Linux Advanced the kernels will be listed. Lets assume its only Linux kernel installed, in this case Arch Linux Advanced options will display this:
Arch Linux
Arch Linux (initramfs)And if we install linux-lts, it will display like this:
Arch Linux LTS
Arch Linux LTS (initramfs)
Arch Linux
Arch Linux (initramfs)If we want to boot from Arch Linux LTS we have to choose "0" for his id (element number). In code language the arrays first elements is 0 not 1.
So in this case the GRUB_DEFAULT=0 will be. But (i guess thats the logic) the first array (bootloader select options) will be Arch Linux and Arch Linux Advanced, there for we will go for Arch Linux Advanced (which will be id=1) and from there going for first kernel -LTS- (which will be 0) : the conf will be GRUB_DEFAULT=1>0 for this.
Is this right ? And i figure it out to disable this menu stuff, all listing in once, and since all listed in once, GRUB_DEFAULT=2 is doing the trick.
Last edited by jojo06 (2024-02-05 12:21:22)
Offline
What I do is, in file /etc/default/grub, set the default grub entry by "menu item name", not by the "menu item index number" (because /boot is on Btrfs and is read-only in Grub):
GRUB_DEFAULT='Advanced options for Arch Linux>Arch Linux, with Linux linux'
#GRUB_DEFAULT='Advanced options for Arch Linux>Arch Linux, with Linux linux-lts'Offline
The last digits in the output (which is 1-2) what are the meaning of them ?
archlinux version tag, the "2" is the second build of the kernel. This is completely irrelevant for general use or the grub behavior.
You're looking for https://wiki.archlinux.org/title/GRUB/T … le_entries but willemw's approach will work and apparently you figured how to select indexes numerically and how to flatten the list?
Is there an open quiestion?
Otherwise and please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Mod note: Not an Arch discussion, moving to NC
Online
Pages: 1