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] Dual booting with Windows 10
Date: Thu, 27 May 2021 09:22:33 +0100	[thread overview]
Message-ID: <4623607.GXAFRqVoOG@wstn> (raw)
In-Reply-To: <3076758.aV6nBDHxoP@lenovo.localdomain>

On Wednesday, 26 May 2021 14:49:01 BST Michael wrote:
> On Tuesday, 25 May 2021 16:23:01 BST Peter Humphrey wrote:
> > Thanks for the offer, Michael, but let me clear a few things up first.
> > 
> > 1.  I don't use symlinks in /boot.
> 
> This allows a simpler single boot partition (ESP) & filesystem set up
> (VFAT).

How do symlinks work on a FAT32 partition?

--->8

> I notice you have /dev/nvme1n1p1 named as "boot".  Is this a secondary boot
> partition?  What is its mountpoint?  What does it contain?

It's a hangover from my attempts earlier. I'll remove it soon.

--->8

> > I followed the installation handbook, boot-loader section, to create a
> > UEFI
> > boot entry. I followed the syntax precisely, with several variations at
> > various attempts. In every case, the UEFI BIOS listed the new entry but
> > couldn't execute it.
> 
> This should work to launch your systemd-boot:
> 
> efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "systemd-boot" --
> loader "\EFI\Boot\bootx64.efi"

It didn't, but ...

> This would also work, if vmlinuz-5.10.27-gentoo, config-5.10.27-gentoo, and
> System.map-5.10.27-gentoo are stored on the ESP under the EFI/ directory,
> e.g. in EFI/Linux/, to launch your current kernel directly:

That's the point I was missing - where those three files live. I had them at 
the root of the FS, as implied by the installation wiki.

> efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Gentoo-5.10.27" --
> loader "\EFI\Linux\vmlinuz-5.10.27-gentoo"

--->8

> 2. Use some other better suited 3rd party boot manager (not systemd-boot).
> The principle is broadly the same as your present setup.  Each boot manager
> has its own idiosyncrasies and commands of choice.  GRUB is quite automated,
> although you can overwrite its grub.conf menu and decline using
> update-grub, or grub-mkconfig to generate it.  Then again, why would you
> select such a heavily automated and complicated piece of software, only to
> bypass the very functionality its devs wanted to offer?   Contrastingly,
> syslinux is very simple and lightweight, but you have to manually configure
> its also very simple boot menu.

I don't want to start on about grub. I washed my hands of it a few years ago, 
after struggling to set it up to offer a choice including a kernel with three 
run-level options: default, no X and no network.

> PS.  The UEFI firmware will scan more than a single VFAT partition marked as
> ESP type, but as far as I know this will only work if the ESP is on the
> first disk - I haven't tried it.

That may be Wol's answer.

Thanks again for all the work you've put into this, Michael.

-- 
Regards,
Peter.





  reply	other threads:[~2021-05-27  8:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-21 14:42 [gentoo-user] Dual booting with Windows 10 peter
2021-05-21 19:06 ` Michael
2021-05-24 13:11   ` Peter Humphrey
2021-05-24 15:14     ` Michael
2021-05-25 15:23       ` Peter Humphrey
2021-05-25 16:43         ` antlists
2021-05-25 19:02           ` Peter Humphrey
2021-05-26  4:02             ` Wols Lists
2021-05-27 15:02             ` Sid Spry
2021-05-26 13:49         ` Michael
2021-05-27  8:22           ` Peter Humphrey [this message]
2021-05-27 11:01             ` Michael
2021-05-27 11:38               ` Peter Humphrey
  -- strict thread matches above, loose matches on Subject: below --
2017-09-13 22:12 Peter Humphrey
2017-09-14  4:09 ` R0b0t1
2017-09-14  4:36   ` Sam Jorna
2017-09-14  4:43     ` R0b0t1
2017-09-14  5:01       ` Sam Jorna
2017-09-14  8:20   ` Peter Humphrey
2017-09-14 18:51     ` R0b0t1
2017-09-17 14:12       ` Peter Humphrey
2017-09-18  4:17         ` R0b0t1
2017-09-18  7:53           ` Peter Humphrey
2017-09-18 10:52             ` Mick
2017-09-18 11:09               ` Peter Humphrey
2017-09-18 11:17                 ` Mick
2017-09-18 13:06                   ` Peter Humphrey
2017-09-19  4:15             ` R0b0t1
2017-09-19 11:07               ` Peter Humphrey
2017-09-15  1:16 ` Taiidan
2017-09-15  4:04   ` R0b0t1
2017-09-15  9:03     ` Radoje Stojisic
2017-09-16  3:25       ` R0b0t1
2017-09-16  8:46       ` Taiidan

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=4623607.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