public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: OFF TOPIC Need Ubuntu network help
Date: Thu, 19 Oct 2023 12:47:39 +0100	[thread overview]
Message-ID: <4855204.GXAFRqVoOG@wstn> (raw)
In-Reply-To: <20231019000643.44bf5a62@digimed.co.uk>

On Thursday, 19 October 2023 00:06:43 BST Neil Bothwick wrote:

> If you like simple, here is a config file I use with systemd-boot
> 
> version 6.1.57-gentoo
> linux   /vmlinuz-6.1.57-gentoo
> options root=/dev/sda3 panic=10 net.ifnames=0 i915.enable_ips=0
> 
> That's it! There is a separate file for each menu entry, but they are
> this simple. There's also a global loader.conf, that runs to a massive 2
> lines here!

Just to expand this in case it helps someone, and because the wiki article on 
systemd-boot is not very helpful:

I like to keep one recent kernel along with the current one, as fallback. I 
also have a small rescue partition on the same disk, and that also has two 
kernels.

The main system has a choice of three boot options: standard, no X and no 
network, and the rescue system the same but without the no-X.

That gives the following structure on this machine:

# ls -1 /boot/v*
/boot/vmlinuz-6.1.46-gentoo
/boot/vmlinuz-6.1.46-gentoo-rescue
/boot/vmlinuz-6.1.57-gentoo
/boot/vmlinuz-6.1.57-gentoo-rescue

# tree -L 3 /boot/loader
/boot/loader
├── entries
│   ├── 06-gentoo-rescue-6.1.46.conf
│   ├── 07-gentoo-rescue-6.1.46.nonet.conf
│   ├── 08-gentoo-rescue-6.1.46.conf
│   ├── 09-gentoo-rescue-6.1.46.nonet.conf
│   ├── 30-gentoo-6.1.57.conf
│   ├── 32-gentoo-6.1.57.nox.conf
│   ├── 34-gentoo-6.1.57.nonet.conf
│   ├── 40-gentoo-6.1.46.conf
│   ├── 42-gentoo-6.1.46.nox.conf
│   └── 44-gentoo-6.1.46.nonet.conf
├── loader.conf
└── random-seed

The random seed was put there by systemd-boot.

I think I have most eventualities covered. (Hah!)

-- 
Regards,
Peter.





  parent reply	other threads:[~2023-10-19 11:47 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16  7:51 [gentoo-user] OFF TOPIC Need Ubuntu network help Dale
2023-10-16  8:01 ` Wols Lists
2023-10-16  8:28   ` Dale
2023-10-16  9:15     ` Tsukasa Mcp_Reznor
2023-10-16 10:24       ` Michael
2023-10-16 16:56         ` Dale
2023-10-16 18:17           ` Neil Bothwick
2023-10-16 18:26           ` Mark Knecht
2023-10-17  0:34             ` Dale
2023-10-17  7:23               ` Neil Bothwick
2023-10-17 16:41                 ` Dale
2023-10-17 17:50                   ` Mark Knecht
2023-10-17 18:07                     ` Dale
2023-10-17 18:24                       ` [gentoo-user] " Grant Edwards
2023-10-17 18:54                         ` Dale
2023-10-17 19:44                           ` Neil Bothwick
2023-10-18  2:50                             ` Dale
2023-10-18  7:36                               ` Neil Bothwick
2023-10-18  9:23                                 ` Michael
2023-10-18 13:57                                   ` Grant Edwards
2023-10-18 17:49                                     ` Dale
2023-10-18 18:40                                       ` Neil Bothwick
2023-10-18 23:24                                         ` Dale
2023-10-19 11:54                                           ` Neil Bothwick
2023-10-19 16:24                                             ` Dale
2023-10-18 18:38                                     ` Michael
2023-10-18 21:07                                       ` Grant Edwards
2023-10-18 22:27                                         ` Dale
2023-10-18 23:06                                           ` Neil Bothwick
2023-10-19  4:49                                             ` [gentoo-user] Re: OFF TOPIC Need Ubuntu network help: boot loader info Dale
2023-10-19  8:40                                               ` Michael
2023-10-19 14:45                                                 ` Dale
2023-10-19 15:38                                                   ` Neil Bothwick
2023-10-19 19:47                                                     ` Dale
2023-10-19 11:55                                               ` Neil Bothwick
2023-10-19 11:59                                                 ` Neil Bothwick
2023-10-19 15:09                                                   ` Peter Humphrey
2023-10-29 11:23                                                 ` Wols Lists
2023-10-19 16:43                                               ` Laurence Perkins
2023-10-19 19:38                                               ` Grant Edwards
2023-10-19 11:47                                             ` Peter Humphrey [this message]
2023-10-18 17:45                                   ` [gentoo-user] Re: OFF TOPIC Need Ubuntu network help Neil Bothwick
2023-10-18 18:41                                     ` Michael
2023-10-17 19:35                       ` [gentoo-user] " Mark Knecht
2023-10-17 21:46                         ` Dale
2023-10-17 22:22                           ` Mark Knecht
2023-10-17 22:31                             ` Dale
2023-10-18  3:15                             ` [gentoo-user] " Grant Edwards
2023-10-18  7:39                               ` Neil Bothwick
2023-10-18 14:25                               ` Rich Freeman
2023-10-18 14:40                                 ` Grant Edwards
2023-10-18 17:54                                 ` Dale
2023-10-17 19:47                   ` [gentoo-user] " Neil Bothwick
2023-10-17 21:52                     ` Dale
2023-10-18  8:23                       ` Dale
2023-10-18 11:56                   ` [OT] " Peter Humphrey
2023-10-18 18:54                     ` Dale
2023-10-16 18:15     ` Neil Bothwick
2023-10-16 14:23 ` Mark Knecht

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=4855204.GXAFRqVoOG@wstn \
    --to=peter@prh.myzen.co.uk \
    --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