From nobody Wed Aug 17 03:15:21 2022 X-Original-To: freebsd-questions@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 4M6tSw21tfz4Yp48 for ; Wed, 17 Aug 2022 03:16:00 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M6tSv3rwcz3NRt for ; Wed, 17 Aug 2022 03:15:59 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-oi1-x233.google.com with SMTP id w196so14131146oiw.10 for ; Tue, 16 Aug 2022 20:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=2jpZUGyeNXIHhIbT/35s7aoyUCq5ZdBNYNKnO9Ypg/0=; b=JwEziUS8vSPXoh1IHAS1+/Z4p/Bk6HUlazdeJM/43eNSDKm/drV3L9/iEmqDtAwlva BibpMaR02mUFiyO2CORHcHqL5cx6ktHSqaNLmSUVeLIWnR75MDHQkAQlohccl6MEWYrR dKsaBT3KMQ5+GW9+CEJs4By87L6ybzBw1F3Fxqj7Y/DqMrWQdvu6hdQMNNVz17lS0D9n KwBH7546aT7BPBoY7hC32LQ5Ukgx8ZldLtSp68DlyX0rR9KkWYvvP53E5Y+PZwNuYHot la0bTCCB8n+9RaMS3xNOrxL2VEP9azBBIbhlF7UUZim9nPWrmwi+a9GtgD3bOZN8SuoM xlNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=2jpZUGyeNXIHhIbT/35s7aoyUCq5ZdBNYNKnO9Ypg/0=; b=KtWhOlRNl7g92QjTQ3oZaGSdLJzPyoR6qSiZG5UTzjxp5ReDkfeaRwHRPlnHebK1YN VrfEpP9gcyhz01qGWfl0Td1EGZf8dvQ9x8YPrLmSOouDhxMw/MypxaRqw5+TdCWWTmSg 1UcwnlfIR9IuLLNAx3b+bNUcTu7q3KcTtT7KCoG8LINyENpdf92DmUyOPWg0dYuXsASU 85zW4Hd6ACpS13Bv7IgJuBjwUFAuUGNO0wQeuL2P9OWuebFpqf0ezSxFsCqdiFpbQDY5 7CoxSTikG9MbmNkya4bjYg4WOWOIt/l2J0KtRcMPH6fU5WWYDKxrrCrqZA3u7J8pc/tf 32RA== X-Gm-Message-State: ACgBeo10+sDs1fJsfHglRfK7xc2TdekMeiqnLASMrszmajN4ANlfdZ6V WPgpoE44fncvjnmOb23tzorugWUTIZgVHNh7gEB4jUiyCA0= X-Google-Smtp-Source: AA6agR4k2xXRGYPu/AdQCMkz+HW5oK4eyhDCX5g7WZY+s2ES0th70UKCrskMsspqZkbAc6pZL7TgLQ6CgWLFydgyN0w= X-Received: by 2002:aca:d703:0:b0:343:9d9:1cfa with SMTP id o3-20020acad703000000b0034309d91cfamr692389oig.16.1660706158268; Tue, 16 Aug 2022 20:15:58 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <7cf0e1e9-c531-b7d8-9e0b-e90411e09548@nomadlogic.org> In-Reply-To: <7cf0e1e9-c531-b7d8-9e0b-e90411e09548@nomadlogic.org> From: Mehmet Erol Sanliturk Date: Wed, 17 Aug 2022 06:15:21 +0300 Message-ID: Subject: Re: How fast can I get FBSD to boot? To: Pete Wright Cc: Alejandro Imass , FreeBSD Questions Content-Type: multipart/alternative; boundary="000000000000a3d5e405e66748dc" X-Rspamd-Queue-Id: 4M6tSv3rwcz3NRt X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=JwEziUS8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of m.e.sanliturk@gmail.com designates 2607:f8b0:4864:20::233 as permitted sender) smtp.mailfrom=m.e.sanliturk@gmail.com X-Spamd-Result: default: False [-2.95 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.98)[-0.979]; NEURAL_HAM_MEDIUM(-0.97)[-0.974]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::233:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000a3d5e405e66748dc Content-Type: text/plain; charset="UTF-8" On Tue, Aug 16, 2022 at 11:43 PM Pete Wright wrote: > > > On 8/16/22 12:06, Alejandro Imass wrote: > > Thank you all for your suggestions and taking time to respond to this > > thread! > > > > The Linux distro I have in mind is Tiny Core Linux, it boots really > > fast and it's around 10MB in size. > > > > Wondering if there are FBSD-based systems that resemble this design: > > http://www.tinycorelinux.net > > > > Thanks again! > there are several ways to accomplish this, all with the base system. as > a starting point try reading the man page for nanobsd(8). you can also > checkout the picobsd(8) man page as well if you want to take a look at a > historical implementation of this. i've used nanobsd (and picobsd) to > build embedded appliances and tiny VM images with great success in the > past. > > -pete > > -- > Pete Wright > pete@nomadlogic.org > @nomadlogicLA > > > A point is not mentioned up to now . There is an important difference between FreeBSD and Linux boot processes . FreeBSD is booting by loading very small parts step by step . Linux is booting by loading very large files ( such as 7 MB , 30 MB , ... ) as boot images to use . With my best wishes . Mehmet Erol Sanliturk --000000000000a3d5e405e66748dc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Aug 16, 2022= at 11:43 PM Pete Wright <pete@no= madlogic.org> wrote:


On 8/16/22 12:06, Alejandro Imass wrote:
> Thank you all for your suggestions=C2=A0and taking time to respond=C2= =A0to this
> thread!
>
> The Linux distro I have in mind is Tiny Core Linux, it boots really > fast and it's around 10MB in size.
>
> Wondering if there are FBSD-based=C2=A0systems=C2=A0that resemble this= design:
> http://www.tinycorelinux.net
>
> Thanks again!
there are several ways to accomplish this, all with the base system.=C2=A0 = as
a starting point try reading the man page for nanobsd(8).=C2=A0 you can als= o
checkout the picobsd(8) man page as well if you want to take a look at a historical implementation of this. i've used nanobsd (and picobsd) to <= br> build embedded appliances and tiny VM images with great success in the past= .

-pete

--
Pete Wright
pete@nomadlogic.or= g
@nomadlogicLA



A point is not mentioned up = to now .

There is an important differenc= e between=C2=A0 FreeBSD and Linux boot processes .

FreeBSD is booting by loading very small parts step by step .

Linux is booting by loading very large fil= es ( such as 7 MB , 30 MB , ... ) as boot images to use .


With my best wishes .

Mehmet Erol Sanliturk









=C2=A0
--000000000000a3d5e405e66748dc--