From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: OFF TOPIC Need Ubuntu network help
Date: Wed, 18 Oct 2023 10:23:23 +0100 [thread overview]
Message-ID: <2581583.Lt9SDvczpP@rogueboard> (raw)
In-Reply-To: <20231018083606.7ebd2d77@digimed.co.uk>
[-- Attachment #1: Type: text/plain, Size: 2529 bytes --]
On Wednesday, 18 October 2023 08:36:06 BST Neil Bothwick wrote:
> On Tue, 17 Oct 2023 21:50:35 -0500, Dale wrote:
> > > EFI is much simpler to work with. for one thing, you don't need the
> > > monster that GRUB has become.
> >
> > While I kinda dread it, it does seem that quite a while ago, it has
> > become much easier. I noticed as I went through the install of Gentoo,
> > there didn't seem to be a lot of stuff to do with efi. One might could
> > think it is quicker and simpler as you say. I recall when it first came
> > out. It was complicated but I think most of that was because it was new
> > and the documentation was not quite there yet. After all this time tho,
> > that shouldn't be a problem.
> >
> > It's a bridge I'll have to cross tho. It looks easy enough. Biggest
> > thing is partitioning the drive differently. Gotta remember that. O_O
It is a relatively simple bridge to cross. Use gdisk to partition the drive,
which if you've used fdisk before you'll find it quite similar. If you prefer
it fdisk will work too, but make sure first you create a GUID Partition Table
(GPT) and not an MBR table.
You can also use sgdisk to create a 1GB EFI System Partition (type 0xEF00) in
a single command, as your first partition in an empty disk; e.g.:
sgdisk -n 1:2048:2068470 -t 1:ef00 -c 1:"ESP-Boot" /dev/sda
Then format it:
mkfs.fat -v -F 32 -n ESP /dev/sda1
mount it as mnt/gentoo/boot and 'mkdir /mnt/gentoo/boot/EFI', to store at a
later stage your kernel/initrd in it, before you continue with the rest of
your installation. That's all there is to it.
> If you usually use a separate partition for /boot, all you need to do
> differently is set its partition type to EF00 and format it with FAT
> instead of ext2.
>
> Oh, and if you use GPT, you no longer need the MBR compatibility
> partition, or whatever its called. I no longer need it so I can't
> remember the exact name.
Man pages of partitioning tools refer to it as "Protective MBR", although I've
seen it mentioned in the interwebs as "protective GPT", which I think is more
accurate. It uses the first sector (LBA 0) to store an MBR table showing the
whole disk, or 2TB if smaller, as an MBR partition. This is the first
partition on the disk, typically 1 MiB in size. It is meant to stop 20 year
old partitioning tools from messing up a GPT partitioning scheme because they
can't see it. Arguably nobody uses Windows 98 these days, so it should be
safe to not have a protective MBR on your GPT disks.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-10-18 10:03 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 [this message]
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 ` [gentoo-user] Re: OFF TOPIC Need Ubuntu network help Peter Humphrey
2023-10-18 17:45 ` 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=2581583.Lt9SDvczpP@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