From owner-freebsd-current@freebsd.org Mon Mar 12 14:32:47 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF04BF4AE8A for ; Mon, 12 Mar 2018 14:32:47 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 485AD7E26A for ; Mon, 12 Mar 2018 14:32:46 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 256f4a5e-2602-11e8-bb8e-b35b57339d60 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 256f4a5e-2602-11e8-bb8e-b35b57339d60; Mon, 12 Mar 2018 14:32:10 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w2CEWcKK016327; Mon, 12 Mar 2018 08:32:38 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1520865158.84937.161.camel@freebsd.org> Subject: Re: Speed up CD/DVD-based FreeBSD From: Ian Lepore To: "O. Hartmann" , freebsd-current Date: Mon, 12 Mar 2018 08:32:38 -0600 In-Reply-To: <20180312063526.263ab62d@freyja.zeit4.iv.bundesimmobilien.de> References: <20180312063526.263ab62d@freyja.zeit4.iv.bundesimmobilien.de> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2018 14:32:47 -0000 On Mon, 2018-03-12 at 06:35 +0100, O. Hartmann wrote: > We have a special case of running FreeBSD (actually a NanoBSD) from a CD/DVD. > The reason behind using a CD/DVD is to prevent manipulations. > > Now, after the GUI hass started, the system autologin a user and autostarts > Firefox. But starting Firefox takes ~ 5 - 7 minutes, while the operating system > takes 2 - 3 minutes. As you can imagine, this isn't quite a useful time. > > Is there a simple way, considering enough RAM in the box, to speed up the > process? Loading Firefox makes the DVD drive moving the head very often - I > assume this is the fact because I can hear the head scratiching around very > intense. > > Does FreeBSD bring tools/facilities onboard to achive what I'm requesting or do > I need an additional port/softwarepackage? > > Any considerations are welcome. > > Thanks in advance, > > Oliver You say you have "enough" ram... is it enough to fit your entire filesystem image in memory and still be able to run apps?  If so you can compile your entire filesystem into the kernel using an mdroot image using options MD_ROOT and makeoptions MFS_IMAGE=. -- Ian