From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-embedded+bounces-4307-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5AFA01381F3 for <garchives@archives.gentoo.org>; Wed, 16 Oct 2013 12:49:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89720E07D7; Wed, 16 Oct 2013 12:49:21 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3201E076D for <gentoo-embedded@lists.gentoo.org>; Wed, 16 Oct 2013 12:49:20 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id t60so643054wes.12 for <gentoo-embedded@lists.gentoo.org>; Wed, 16 Oct 2013 05:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=kzmRuygdq/D/bua452HLwOfUv6FARUkTc4K5xOt2ytI=; b=COb4ny218Cs9t8yXrE8Jjw3xzIXi1T2FD6i1/RkduYhHhVPtQTWjJhWHA4yLdSV05G 3/94kpdEeNbBoJa1nGjXLGIFa/tAgaRPSNdiCSdZPabFd3V4+uoSh0IvDMv01cHPO8yX Xnb6XPOkdeceDaLGFEyAL/3gqCpYBzlBBXCYc3yMVOZLQeIN6FLFI8dCWPZODPvJU6mh 1SQ1xdKO1J26rX04A6NHDKLZOAtXYRgM03Ks6mXjBPjoYaZqCIer/BtHkswzHGrvvCY0 3ZTt196ZLFxfMrJWzrKlu1CgyzJGvhtkxsnEg5p/s3M69smsk40oKpw/G31K0+uvRECR tefg== X-Received: by 10.194.216.225 with SMTP id ot1mr27069wjc.80.1381927759512; Wed, 16 Oct 2013 05:49:19 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-embedded@lists.gentoo.org> List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org> X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.194.7.37 with HTTP; Wed, 16 Oct 2013 05:48:39 -0700 (PDT) From: Francisco Ares <frares@gmail.com> Date: Wed, 16 Oct 2013 09:48:39 -0300 Message-ID: <CAHH9eM5jsLjzif8FWhgqKmfH3WFC8Te4D3J6-ELmfp1kx1Pguw@mail.gmail.com> Subject: [gentoo-embedded] planning a flash DOM x86 embedded system To: gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=001a11c283b836098a04e8db218b X-Archives-Salt: f65e1a02-5dc6-4afd-bf1b-04cfbe591555 X-Archives-Hash: a069b51b1d5be26d44b983b272cc01c7 --001a11c283b836098a04e8db218b Content-Type: text/plain; charset=UTF-8 Hi. I am planning to build a system to be deployed in a SATA flash disk, and most of the file system will be read-only. There will be a tempfs on /temp and a read-write partition for /var (perhaps a unionfs with the static part of /var and that read-write partition) Is there any resources on how to do this using Gentoo? There is already a development system with everything working as expected on the final system. But when I put it to a squashfs, the system boots with several errors, like when trying to write to /etc and /var. Looking on the new issue regarding /usr and / being on a different partitions, I have found the file in /etc/initramfs.mounts. I have added the needed fstab entries to be mounted before the system switches to the real-root, (as the comments on top of this file claims) but there are still errors during boot. Thanks Francisco --001a11c283b836098a04e8db218b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div><div>Hi.<br><br></div>I am planning to buil= d a system to be deployed in a SATA flash disk, and most of the file system= will be read-only. There will be a tempfs on /temp and a read-write partit= ion for /var (perhaps a unionfs with the static part of /var and that read-= write partition)<br> <br></div>Is there any resources on how to do this using Gentoo?<br><br></d= iv>There is already a development system with everything working as expecte= d on the final system. But when I put it to a squashfs, the system boots wi= th several errors, like when trying to write to /etc and /var.<br> <br></div><div>Looking on the new issue regarding /usr and / being on a dif= ferent partitions, I have found the file in /etc/initramfs.mounts. I have a= dded the needed fstab entries to be mounted before the system switches to t= he real-root, (as the comments on top of this file claims)=C2=A0 but there = are still errors during boot.<br> </div><div><br></div>Thanks<br>Francisco<br></div> --001a11c283b836098a04e8db218b--