From nobody Wed Dec 11 05:03:26 2024 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y7NmD6sMsz5gPcQ for ; Wed, 11 Dec 2024 05:03:40 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y7NmD1RDSz4NdR for ; Wed, 11 Dec 2024 05:03:40 +0000 (UTC) (envelope-from zbeeble@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-7ea9739647bso4645532a12.0 for ; Tue, 10 Dec 2024 21:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733893419; x=1734498219; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=73Z8tM7hMSAqbVyETHD0ahALcyy+SSPOCYrfVwU5n3k=; b=cmaXfeETxoO1gxrQ+lrkx0CxVqpa+ur8XCPHTMzX+Tf4bAm9ZHMWYK8in2zoxqgJls oKH/J+7soOJjA/SoyALj9MUJLhtl21zMdlUPvDUgSQOTc0I5BQLMK6s5emMpU1etq9hK AYf+4/wQVs2gLDUUG+x8HRhrHx6PXSeZtN/bV2YEeyQtXm87Y4rvZyL/xY7+z8Iy4auI QrNSvkrK/oEcImmyaYYIV6W4Wz1gGzNh89zDHsaqOzaXrWzY5rQvrfsTibV7p2SU+JNX 306SSjAeHsgFx5e2X0aegrISitRV78aY0yA445ACz72lXcsuJWEB1ZPrKfqztnUNp+lM swuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733893419; x=1734498219; h=cc: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=73Z8tM7hMSAqbVyETHD0ahALcyy+SSPOCYrfVwU5n3k=; b=UCEuXuMQ8zKKlX0CZP/u80FBloorWVoTOSWUb/E5xc1XvQb82Wdiow/cVI2XzlvkiK ffvSfZW4TAhTFUohKLhn4nO+E93TQrJI/JV9SNu9wm+ogOs4Wnfr1iGOvqB0TyH0HnT+ zs36D1Mg4B1riEtuJzRoY4ASE7WZzNDeBGCRvjQlovPx2fJCuotwEP2zbm/Aoyg+KaGt wPKZvSTu0bMsuIuzO8+RoiU32lOpqtwUqyU5Dh4uImT9yD715CCo7U040te3VEfhZT6b rVNzQCx0XA5jyg3JAMN4ERfjTfi2KNks/F98uImry0v3kbg7G/NJy5KMndO03naXb5F/ 65GQ== X-Forwarded-Encrypted: i=1; AJvYcCUEP6KkERrDcynQhAqX4//Bm4XMJr654c68ogXfAE+2KMW+YWy9mowWiYMm5rqhv7p2JWeAajhL@freebsd.org X-Gm-Message-State: AOJu0Yz+v/b1wg3Jetiiwrnfgy//VmcDPAFqxaKANOMoozK4OJyZpzlm faLSJhYMW96TWMdj7qXaZTWzmVHAFW6xZni/0tPPGbF3/TPWbY1RXzfkqpFo/bq546RCskma6yj +hq9hiHeq2yWUZ7iGUhPRCvX191sS X-Gm-Gg: ASbGncsRBHwf2pH3guvMG2xrmJuzj/XNCyc+o+kgLfJ6R243F3mkpkLtc+GO5z/JwcG g18jRjDhOot0vmWUfDeb7esRoA0O0403sg8zw6IkZclNjYvArDRIxM9R8FYf1S7s= X-Google-Smtp-Source: AGHT+IHbaGYJbYn2XW6Y45V7jF3FGK1vVMe8WSvEVY0/sLj//3KuqO1DUC7OQ+B7N0lKzeZfFOvHeiI1pEMwKHRs7gY= X-Received: by 2002:a17:90b:4b4d:b0:2ee:96a5:721c with SMTP id 98e67ed59e1d1-2f127fea7b8mr2246922a91.21.1733893418633; Tue, 10 Dec 2024 21:03:38 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <8F3326B5-BFD7-460B-8F68-97E5D1A08B60@paige.bio> In-Reply-To: <8F3326B5-BFD7-460B-8F68-97E5D1A08B60@paige.bio> From: Zaphod Beeblebrox Date: Wed, 11 Dec 2024 00:03:26 -0500 Message-ID: Subject: Re: FAT or ExFAT possible for /boot? To: paige@paige.bio Cc: Warner Losh , hackers@freebsd.org Content-Type: multipart/alternative; boundary="0000000000004bd4c00628f785a8" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Y7NmD1RDSz4NdR X-Spamd-Bar: ---- --0000000000004bd4c00628f785a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have had systems booting this way. I had a laptop for which the boot.efi didn't work (at the time) and I wanted loader.efi. But loader.efi wants the loader.conf (and other files) in /boot. So I put /boot into the EFI partition and loaded loader.efi. That all worked. ... now the driving issue for me (boot.efi not working) solved itself... so I no longer do this, but it did work circa 10.x and 11.x. On Tue, Dec 10, 2024 at 11:58=E2=80=AFPM wrote: > Thanks, > > Just wanted to add FAT should be fine. The only advantage that comes to > mind with ExFAT would be a larger file system however /boot is typically > small enough. I need to track down the process for building the raspi ima= ge > and I=E2=80=99ll give it a shot. > > -Paige > > Sent from my iPhone > > On Dec 10, 2024, at 8:05=E2=80=AFPM, Warner Losh wrote: > > =EF=BB=BF > > > On Tue, Dec 10, 2024, 8:49=E2=80=AFPM wrote: > >> Hi, >> I was just wondering I could do this with FreeBSD. It=E2=80=99d be nice = for raspi >> at least because it would give me an easy way to edit loader.conf >> > > FAT should be possible to be /boot. We support reading FAT filesystems. > ExFAT has no support though. You may need to compile a custom loader, > maybe, if we omit FAT support (which I think is there, but can't check at > the moment) > > Warner > > Sent from my iPhone >> > --0000000000004bd4c00628f785a8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have had systems booting this way.=C2=A0 I had a la= ptop for which the boot.efi didn't work (at the time) and I wanted load= er.efi.=C2=A0 But loader.efi wants the loader.conf (and other files) in /bo= ot.=C2=A0 So I put /boot into the EFI partition and loaded loader.efi.=C2= =A0 That all worked.

... now the driving issue for= me (boot.efi not working) solved itself... so I no longer do this, but it = did work circa 10.x and 11.x.

On Tue, Dec 10= , 2024 at 11:58=E2=80=AFPM <paige@paige.bio> wrote:
Thanks,
Just wanted to add FAT should be fine. The only advantage that = comes to mind with ExFAT would be a larger file system however /boot is typ= ically small enough. I need to track down the process for building the rasp= i image and I=E2=80=99ll give it a shot.

-Paige

Sent from my iPhone

On Dec 10, 2024, at 8:05=E2=80=AFPM,= Warner Losh <imp@bs= dimp.com> wrote:

=EF=BB=BF


On Tue, Dec 10, 2024, 8:49= =E2=80=AFPM <paige@paige.bio> wrote:
Hi,
I was just wondering I could do this with FreeBSD. It=E2=80=99d be nice for= raspi at least because it would give me an easy way to edit loader.conf

FAT= should be possible to be /boot. We support reading FAT filesystems. ExFAT = has no support though. You may need to compile a custom loader, maybe, if w= e omit FAT support (which I think is there, but can't check at the mome= nt)=C2=A0

Warner=C2=A0

Sent from my iPhone
--0000000000004bd4c00628f785a8--