From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ql3Zq-0000ks-7S for garchives@archives.gentoo.org; Sun, 24 Jul 2011 18:38:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 385DB21C2CC; Sun, 24 Jul 2011 18:38:48 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 80C4921C20B for ; Sun, 24 Jul 2011 18:37:48 +0000 (UTC) Received: by wyh22 with SMTP id 22so3302719wyh.40 for ; Sun, 24 Jul 2011 11:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=5aQvN5cJB+INJxj0frEdqkuiACsQ/fZBrg1faRLSALY=; b=idInv1RYzQ6MtCRYPPOnXGPb8mgGzcyIN6ShE4f3jxBP6/HXipBFLIRMoxZxTz/sCk l6nFXmbLuLdwEU4OmiIqcoQMoKq3ODR4eM0qJFvoI0Ws3DhU1dp2jrIOAJUsytTdKrre VWiTLGx9YHo5owzOEvpR/ODJp++ZuLEb0OG4A= Received: by 10.216.187.68 with SMTP id x46mr1786843wem.98.1311532667762; Sun, 24 Jul 2011 11:37:47 -0700 (PDT) Received: from vidovic.ultras.lan (aqu33-8-83-155-187-36.fbx.proxad.net [83.155.187.36]) by mx.google.com with ESMTPS id n6sm2262240wed.16.2011.07.24.11.37.45 (version=SSLv3 cipher=OTHER); Sun, 24 Jul 2011 11:37:46 -0700 (PDT) Sender: Nicolas Sebrecht Date: Sun, 24 Jul 2011 20:37:43 +0200 From: Nicolas Sebrecht To: gentoo-user@lists.gentoo.org Cc: Nicolas Sebrecht Subject: [gentoo-user] Re: Replace root with aufs-united sda & squashfs Message-ID: <20110724183743.GB14160@vidovic.ultras.lan> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: X-Archives-Hash: d34b7f0f5211af52966eb5baed7827f9 On Sat, Jul 23, 2011 at 11:01:43AM +0700, Pandu Poluan wrote: > AFAIK, there are files that *must* still exist for this strategy to > succeed. However, this post from f.g.o [2] said that those files > aren't necessary. So, I should do the following sequence in /etc/fstab > : > > 1. Mount /dev/xvda3 as / > 2. Mount /.root.sqfs as / > 3. Mount aufs, uniting /dev/xvda3 and /.root.sqfs as / > 4. Mount everything else AFAIK, it should be more something like: mount -t aufs "/dev/xvda3(rw) and /root/sqfs(ro)" /new_root And then chroot to /new_root. -- Nicolas Sebrecht