From nobody Tue Aug 16 20:43: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 4M6jm23PM6z4ZPm1 for ; Tue, 16 Aug 2022 20:43:30 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M6jm13SpRz3dpk for ; Tue, 16 Aug 2022 20:43:29 +0000 (UTC) (envelope-from pete@nomadlogic.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1660682601; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LqF0fdfAzG2++ehAKbY5Xktd3/4+mbqqB5PCeT+rHAg=; b=zu2g/GaRdaSkiWLj0q9QYh6k2m5Bw/TLJ9pF38bNF/QdWA23ZY899Ia/pWPL/2P2WNGbnZ c1Rcl+EyqTNgxLoEx5jZNIIE4c77JAh0hAatONNRYupznjUcn36FXy8eVILk6BLoG5EHzS 3/rdCD2/mRjMZGAYJDgjpGnqULxby3E= Received: from [192.168.1.160] (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 2488af19 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 16 Aug 2022 20:43:21 +0000 (UTC) Message-ID: <7cf0e1e9-c531-b7d8-9e0b-e90411e09548@nomadlogic.org> Date: Tue, 16 Aug 2022 13:43:21 -0700 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: How fast can I get FBSD to boot? Content-Language: en-US To: Alejandro Imass , FreeBSD Questions References: From: Pete Wright In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4M6jm13SpRz3dpk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b="zu2g/GaR"; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-3.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N 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