public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Mobo, CPU, memory and a m.2 thingy. This work together?
Date: Sat, 15 Jun 2024 17:55:17 +0100	[thread overview]
Message-ID: <1755409.yIU609i1g2@rogueboard> (raw)
In-Reply-To: <3297592.aeNJFYEL58@cube>

[-- Attachment #1: Type: text/plain, Size: 4213 bytes --]

On Saturday, 15 June 2024 16:28:29 BST Peter Humphrey wrote:
> On Saturday, 15 June 2024 13:01:33 BST Dale wrote:
> > Could you share the boot screen again?
> 
> New version attached...
> 
> > I used lilo ages ago then switched to Grub.  Grub is massive but it works
> > well enough.
> 
> ...as long as you only want to specify one kernel image.

Not really.  You can add as many kernel image versions as you like and in 
addition customise the GRUB configuration to add kernel command-line 
parameters of choice.


> > Thing is, seeing your screen may help me to understand how
> > certain options work. It may make me use the bootloader you use, which is
> > what by the way?
> 
> I use bootctl from sys-apps/systemd-utils* with USE="acl boot kernel-install
> kmod tmpfiles udev -secureboot (-selinux) (-split-usr) -sysusers -test
> -ukify"
> 
> Sys-kernel/kernelinstall has USE="-dracut (-efistub) -grub -refind -systemd
> -systemd-boot -uki -ukify"
> 
> Notice the -systemd -systemd-boot flags. The wiki and some news items say to
> set those, but then I'd end up with the unintelligible file and directory
> names I mentioned - I'm not well versed in mental 32-digit hex
> number-juggling.  :)
> 
> --->8

I thought the 'title' for any systemd-boot listed kernel can be edited to suit 
user preferences, as described here:

https://forums.gentoo.org/viewtopic-p-8826048.html


> > Like you, I keep old kernels around too.  Eventually, I clean out old
> > ones but I like to keep at least a couple around just in case one goes
> > wonky.  At least I can boot a older kernel to fix things.  I also do
> > things the manual way.  I copy my kernels over with names I like, copy
> > the config file over with a matching name as well.
> 
> That's all automatic here; kernelinstall does it when I call 'make install'.
> All but two of the files shown in 'ls -1 /boot', below, are as 'make
> install' set them. The exceptions to that are early_ucode.cpio and
> intel-uc.img.

You can build these in-kernel, by adding their path/name in your kernel 
config, e.g.:

CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3c-03"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

See here:

https://wiki.gentoo.org/wiki/Intel_microcode#New_method_without_initram-fs.
2Fdisk_.28efistub_compatible.29


> The only files I maintain myself are those under /boot/loader/entries; they
> define the menu items in the attachment here:
> 
> 06-gentoo-rescue-6.6.30.conf
> 07-gentoo-rescue-6.6.30.nonet.conf
> 08-gentoo-rescue-6.6.21.conf
> 09-gentoo-rescue-6.6.21.nonet.conf
> 30-gentoo-6.6.30.conf
> 32-gentoo-6.6.30.nox.conf
> 34-gentoo-6.6.30.nonet.conf
> 40-gentoo-6.6.21.conf
> 42-gentoo-6.6.21.nox.conf
> 44-gentoo-6.6.21.nonet.conf
> 
> E.g: $ cat /boot/loader/entries/34-gentoo-6.6.30.nonet.conf
> title Gentoo 6.6.30 (No network)
> version 6.6.30-gentoo
> linux vmlinuz-6.6.30-gentoo
> options root=/dev/nvme0n1p5 net.ifnames=0 raid=noautodetect \
>     softlevel=nonetwork
> 
> > I do let dracut build the init thingy.  I do edit the name to match the
> > kernel so that grub sees it.  So, you not alone doing it the manual way,
> > as
> > much as I can anyway.
> 
> I don't need an initramfs, other than early_ucode.cpio and intel-uc.img,
> because I don't want the complications of a separate /usr partition.
> 
> $ ls -1 /boot
> config-6.6.21-gentoo
> config-6.6.21-gentoo-rescue
> config-6.6.30-gentoo
> config-6.6.30-gentoo-rescue
> early_ucode.cpio
> EFI
> intel-uc.img
> loader
> System.map-6.6.21-gentoo
> System.map-6.6.21-gentoo-rescue
> System.map-6.6.30-gentoo
> System.map-6.6.30-gentoo-rescue
> vmlinuz-6.6.21-gentoo
> vmlinuz-6.6.21-gentoo-rescue
> vmlinuz-6.6.30-gentoo
> vmlinuz-6.6.30-gentoo-rescue
> 
> > Thanks much.
> 
> *   The handbook says to use efibootmgr to create boot entries, but that
> again assumes you only want a single bootable image. It is occasionally
> useful, though, to clear up any mess I may have made.

With the efibootmgr you can have more than one bootable image, set your own 
preferred label for it and you can hardcode any kernel command-line parameters 
in each kernel image; e.g.:

CONFIG_CMDLINE="root=PARTUUID=XXXXXXXX-XXXX-XXX-XXXX-XXXXXXXXXXXX snd-hda-
intel.index=1,0"

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-06-15 16:55 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-02  5:38 [gentoo-user] Mobo, CPU, memory and a m.2 thingy. This work together? Dale
2024-06-02  7:54 ` Wols Lists
2024-06-02 13:27   ` Dale
2024-06-02 13:42     ` Peter Humphrey
2024-06-02 14:01       ` Dale
2024-06-02 14:03     ` Alan Mackenzie
2024-06-02 15:11       ` Dale
2024-06-02 15:51         ` Peter Humphrey
2024-06-02 17:54           ` Dale
2024-06-15  6:53           ` Dale
2024-06-15  9:53             ` Michael
2024-06-15 11:01               ` Dale
2024-06-15 12:29                 ` Michael
2024-06-15 21:41                   ` Dale
2024-06-15 23:07                     ` Mark Knecht
2024-06-16  1:34                       ` William Kenworthy
2024-06-16  4:55                         ` Dale
2024-06-16  8:40                           ` Michael
2024-06-16  8:54                             ` Michael
2024-06-16 13:35                               ` Dale
2024-06-16 14:19                                 ` Peter Humphrey
2024-06-16 16:14                                   ` Dale
2024-06-16 23:28                             ` Wols Lists
2024-06-17  0:40                               ` Dale
2024-06-16 15:47                           ` Rich Freeman
2024-06-16 16:30                             ` Dale
2024-06-17  9:37                               ` Dale
2024-06-16 12:59                       ` Frank Steinmetzger
2024-06-16 14:44                         ` Mark Knecht
2024-06-16 16:19                           ` Dale
2024-06-15 11:18             ` Peter Humphrey
2024-06-15 12:01               ` Dale
2024-06-15 15:28                 ` Peter Humphrey
2024-06-15 16:55                   ` Michael [this message]
2024-06-15 19:19                     ` Peter Humphrey
2024-06-02 14:03     ` Rich Freeman
2024-06-02 19:41     ` Wols Lists
2024-06-03 23:57     ` Frank Steinmetzger
2024-06-03  3:21 ` Dale
2024-06-03  7:42   ` Alan Grimes
2024-06-03  9:12     ` Dale
2024-06-03  9:31       ` Rich Freeman
2024-06-03 11:06         ` Dale
2024-06-03 11:29           ` Rich Freeman
2024-06-03 15:17             ` Dale
2024-06-03 16:22               ` Rich Freeman
2024-06-03 19:28                 ` Dale
2024-06-04  6:44                   ` Dale
2024-06-04  9:49                     ` Rich Freeman
2024-06-04 11:56                       ` Dale
2024-06-04 13:15                         ` Rich Freeman
2024-06-04 18:34                           ` Dale
2024-06-04 18:58                             ` Rich Freeman
2024-06-04 20:09                               ` Dale
2024-06-04 19:05                             ` Mark Knecht
2024-06-04 20:27                               ` Dale
2024-06-04 20:37                                 ` Mark Knecht
2024-06-04 21:03                                   ` Dale
2024-06-04 21:24                                     ` Mark Knecht
2024-06-04 21:36                                       ` Mark Knecht
2024-06-04 22:11                                         ` Dale
2024-06-04 22:26                                           ` Mark Knecht
2024-06-04 22:58                                             ` Dale
2024-06-04 22:49                                           ` Wol
2024-06-05  0:22                                             ` Dale
2024-06-06 21:12                       ` Frank Steinmetzger
2024-06-08  2:05                         ` Dale
2024-06-08  9:39                           ` Frank Steinmetzger
2024-06-08 13:40                             ` Meowie Gamer
2024-06-09 21:41                               ` Frank Steinmetzger
2024-06-09 22:24                                 ` Meowie Gamer
2024-06-08 17:46                             ` Dale
2024-06-08 20:48                               ` Michael
2024-06-08 22:41                                 ` Dale
2024-06-09  9:07                                   ` Michael
2024-06-09 10:06                                     ` Dale
2024-06-09 15:05                               ` Frank Steinmetzger
2024-06-09 22:13                                 ` Dale
2024-06-09 22:49                                   ` Michael
2024-06-09 23:11                                     ` Dale
2024-06-10  0:29                                   ` Rich Freeman
2024-06-10  4:26                                     ` Dale
2024-06-10  9:17                                       ` Michael
2024-06-10 10:03                                         ` Dale
2024-06-10 13:37                                           ` William Kenworthy
2024-06-11  0:04                                   ` Frank Steinmetzger
2024-06-11  3:46                                     ` Dale
2024-06-04 10:19                 ` Dale
2024-06-04 11:32                   ` Rich Freeman
2024-06-04 12:03                     ` Dale
2024-06-04 13:19                       ` Rich Freeman
2024-06-03 10:02       ` byte.size226
2024-06-03 11:18         ` Dale
2024-06-03 11:07 ` [gentoo-user] " MasterP
2024-06-03 11:40   ` Wols Lists
2024-06-03 15:34     ` Dale
2024-06-04  7:59       ` Wols Lists
2024-06-03 23:45 ` [gentoo-user] " Frank Steinmetzger
2024-06-05 22:46 ` Mark Knecht
2024-06-06  3:54   ` Dale
2024-06-06 11:08     ` Michael
2024-06-06 16:36       ` Dale
2024-06-15  5:00 ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1755409.yIU609i1g2@rogueboard \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox