public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
To: gentoo-user@lists.gentoo.org
Cc: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Subject: [gentoo-user] Re: Replace root with aufs-united sda & squashfs
Date: Sun, 24 Jul 2011 20:37:43 +0200	[thread overview]
Message-ID: <20110724183743.GB14160@vidovic.ultras.lan> (raw)
In-Reply-To: <CAA2qdGWtkCsP8Fr6+BTOpdS94Xjz6rHemaOeHQLk2UCQ5E1jyA@mail.gmail.com>

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



      reply	other threads:[~2011-07-24 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23  4:01 [gentoo-user] Replace root with aufs-united sda & squashfs Pandu Poluan
2011-07-24 18:37 ` Nicolas Sebrecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110724183743.GB14160@vidovic.ultras.lan \
    --to=nicolas.s-dev@laposte.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox