Gentoo Archives: gentoo-user

From: Nicolas Sebrecht <nicolas.s-dev@×××××××.net>
To: gentoo-user@l.g.o
Cc: Nicolas Sebrecht <nicolas.s-dev@×××××××.net>
Subject: [gentoo-user] Re: Replace root with aufs-united sda & squashfs
Date: Sun, 24 Jul 2011 18:38:58
Message-Id: 20110724183743.GB14160@vidovic.ultras.lan
In Reply to: [gentoo-user] Replace root with aufs-united sda & squashfs by Pandu Poluan
1 On Sat, Jul 23, 2011 at 11:01:43AM +0700, Pandu Poluan wrote:
2
3 > AFAIK, there are files that *must* still exist for this strategy to
4 > succeed. However, this post from f.g.o [2] said that those files
5 > aren't necessary. So, I should do the following sequence in /etc/fstab
6 > :
7 >
8 > 1. Mount /dev/xvda3 as /
9 > 2. Mount /.root.sqfs as /
10 > 3. Mount aufs, uniting /dev/xvda3 and /.root.sqfs as /
11 > 4. Mount everything else
12
13 AFAIK, it should be more something like:
14
15 mount -t aufs "/dev/xvda3(rw) and /root/sqfs(ro)" /new_root
16
17 And then chroot to /new_root.
18
19 --
20 Nicolas Sebrecht