Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 74AE2225872 for <~alpine/users@lists.alpinelinux.org>; Mon, 27 Jan 2025 18:47:21 +0000 (UTC) Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-e54d268bc3dso8498712276.1 for <~alpine/users@lists.alpinelinux.org>; Mon, 27 Jan 2025 10:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738003637; x=1738608437; darn=lists.alpinelinux.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=oFTQxOs0d0LGpmS+Od6COzw/2uZnMRJnpQVm59YPfW8=; b=XxmyQ18oJDdbHm8g8hfEm30WI3Dx4bU/Qe/elUxyvCIPIwti3QaWBubV74Y8PsdNDJ cs3t5rlv+l3lrhnwu0qC1D8yMnX9zSdHPv1PAQwQEzPRVKP4DqVojUNHhnJKxBp6NHWg +i0bvZFAzeSp0ijw+mVwL+H2Q5DcZ7ti2UUVazqDceIkHP3ZVAdz1Xmw/BKaRL0TXotU wliBi/5S2NrE3LSFQyPCfApgRIzaGtKoVMUvxU4drcD/pGThXZwG2ok1rUl9JDqUtrWC Bbo3KXZ+/qWoihcQ2x7oWkXoTxLmEucik2//RTIgmbrLBLVL66i1JT1ndb2fp843lP9G ltqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738003637; x=1738608437; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oFTQxOs0d0LGpmS+Od6COzw/2uZnMRJnpQVm59YPfW8=; b=MpIuM2lDHLiT/FRnyCx+g25w9uLxoBfGE6n5NLZvafiBQwtED2aVhOLyVF+4gc4xmV 87Gc0r9nVEJTwYRnfj4kiiNEN/wMmpvJ+DhD6hAi7IK660BIJIqdpKCGekk1wR/DxPtd KKEqNAtL8H27fkePhIfKtMPtZmbI2PPznEjvz0G/DvDVy6oFuuD5lXPDg1X2nFf3jXQM VNoaLIDH6X734dafMhTS/MDjIjxS+itjqHz2PUHlgXyhu74QmPXDtzWYuJMTg0X/OkaX poXuHf3uEcra1JHue9WqYmyLlDSogV8+eLcA5PssvpkGs/tNDob6DXsQNeaEsyHowfUs WoFA== X-Gm-Message-State: AOJu0YxXCqbD451qRCksr4wr8fGwRuopZgBqWEoDfEueRdxIXA2ptmmm bcq9Bp0OkphGaDv1FlZJHrlH0tkLhuFVpgcdXJeulpw1hjUXYjBAqJmU9DVYQ3rgjj8ZazU2Wwl ejywqiLbaaYFYb2K1LC8lTICdDJA3vK0s X-Gm-Gg: ASbGncvqjwqeviJwz/rMCYgPogudep7Pw8vNjoye8/abq6f54eNmz7wbAhJZBkXv4Dx BN8q6UA3NnLU88SzZB6VSlQIcTt+535A6Xkq+y85Ip9bAEwE05pIjsD7mKihj6IOn630K7fUk X-Google-Smtp-Source: AGHT+IG28XTcc/DFsHtDXqI28fCwAH8OwMNuDbawt4txwS+BOsajaMOSwPu1PjpNTEhyq8jrB3IIiE4PNEJNqgoRdhI= X-Received: by 2002:a05:690c:a9a:b0:6f7:598d:34a3 with SMTP id 00721157ae682-6f7598d3d2dmr116246997b3.0.1738003637435; Mon, 27 Jan 2025 10:47:17 -0800 (PST) MIME-Version: 1.0 References: <8f3899df-71b7-6562-7688-7bebc6ac1f94@xwax.org> <37f7104c-96b0-7c19-a35a-081f879c71d6@xwax.org> <86509949be4dc3a8b6cf9ae6482fdd97@posteo.de> <5210eab8-eca6-67ed-dbac-668f8c0c8f00@xwax.org> In-Reply-To: <5210eab8-eca6-67ed-dbac-668f8c0c8f00@xwax.org> From: Liam Proven Date: Mon, 27 Jan 2025 18:47:05 +0000 X-Gm-Features: AWEUYZnHQiuG_31oTw2Wulyyf5x8xCc4UYwP_uJhOcgorDZyOF4JSJ1MFd26Uag Message-ID: Subject: Re: Solutions for EFI booting / copying kernels To: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" On Sun, 26 Jan 2025 at 15:17, Mark Hills wrote: > What I dislike about such a proposal is VFAT lacks journaling and other > robusness features compared to ext4, were this partition to fail a check > on boot. That's more likely too; now that VFAT is used for a partition > that changes on each kernel update. I don't think this is a significant risk. VFAT is not a filesystem in its own right: it's the name of Windows for Workgroups' 32-bit FAT driver VXD. Linux appropriated the name for its driver for FAT126 with Long File Names, the extension to FAT16 that was used in Windows 95 and Windows NT 3.51. The problem is that this blurs over about 4 different types of disk format: * Plain old DOS FAT16 with 8.3 filenames (as used in WfWg 3.11's VFAT) * Win95 FAT16 with long file names * Win95 OSR 2.1's FAT32, which became more common with Windows 98. FAT32 always had LFNs. > I can't think of a reason (pre-EFI) that VFAT has ever been required as > /boot? It hasn't, but the old `/boot` filesystem is not the same thing as the EFI system partition which we're talking about here. There have been a few reasons for a `/boot` filesystem: * Disk over 8GB on an early EIDE machine where the BIOS can only read from the first 8GB of the drive * Linux setups where the root volume is not directly accessible from the bare kernel -- for example - Linux with an encryped `/` filesystem - Linux with `/` on a filesystem that is not part of the kernel, such as ZFS - Linux with `/` on software RAID which must be assembled before it can be mounted All legit reasons but usually it would, as you say, be an ext4 or whatever volume. The ESP is a different consideration. For it, it is not whether the Linux kernel can read it: it's whether the UEFI _firmware_ can read it. That means that in most machines it has to be a FAT16 or FAT32 volume. exFAT is more robust but I don't think UEFI can handle it. I have _heard_ reports of Windows-only machines with the ESP on NTFS but it's rare. If you want to use the ESP for the functional role of /boot, then the systemd-boot bootloader, which is not part of system and which does not I think _need_ systemd, does this. It is an alternative to GRUB or Syslinux and it keeps the kernel and the initramfs in the ESP. So, you need a bigger ESP, but it makes the bootloader much simpler. -- Liam Proven ~ Profile: https://about.me/liamproven Email: lproven@cix.co.uk ~ gMail/gTalk/FB: lproven@gmail.com Twitter/LinkedIn: lproven ~ Skype: liamproven IoM: (+44) 7624 227612: UK: (+44) 7939-087884 Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053