Gentoo Archives: gentoo-embedded

From: wireless <wireless@×××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] SOLVED planning a flash DOM x86 embedded system
Date: Thu, 24 Oct 2013 17:11:32
Message-Id: 526954D8.9080008@tampabay.rr.com
In Reply to: Re: [gentoo-embedded] SOLVED planning a flash DOM x86 embedded system by Francisco Ares
1 On 10/24/13 12:41, Francisco Ares wrote:
2
3 > It works now!
4 > It seems that blog shows an old style syntax. Found others, though,
5 > like the following:
6 >
7 > http://www.viraj.org/b2evolution/blogs/index.php/2007/05/03/ubuntu_server_and_unionfs
8
9 >
10 > but for nowadays Gentoo systems (at least) the correct syntax is like
11 > the following (which works for me):
12 >
13 > /dev/sda3 /.var.rw <http://var.rw> ext4
14 > noatime,defaults 0 2
15 > union /var unionfs
16 > default_permissions,allow_other,use_ino,nonempty,suid,cow,dirs=/.var.rw
17 > <http://var.rw>=rw:/.var.ro <http://var.ro>=ro 0 0
18 > tmpfs /.etc.rw <http://etc.rw> tmpfs
19 > defaults,mode=755 0 0
20 > union /etc unionfs
21 > default_permissions,allow_other,use_ino,nonempty,suid,cow,dirs=/.etc.rw
22 > <http://etc.rw>=rw:/.etc.ro <http://etc.ro>=ro 0 0
23 >
24 > Directories /.var.ro <http://var.ro> and /.etc.ro <http://etc.ro>
25 > are already present on the root file system.
26 > It seems that this was the problem from the beginning, not been able to
27 > correctly mount those partitions at the proper and usual time.
28
29 This brings up a related issue, I filed a bug about [1].
30
31 Documenting how to use UUIDs in the installation handbook. I kept the
32 bug generic, but I had Arm architectures in mine all along. With the
33 porting of Grub2 to Arm (Linaro) is seems that soon there will be a
34 myriad of file systems to run on the newer Arm systems [2] [3]. I
35 struggle on how to write up the bug, so feel encourage to think about
36 ways to simply or unify the installation handbooks, related to grub2,
37 supporting a variety of new file systems, particularly related to arm.
38 The existing arm handbook [4] is woefully out of date. Granted, the
39 gentoo-embedded handbook [5] is great, it does not address gentoo-distro
40 installation on the newer arm (64 bit)chips, akin to the x86 offerings.
41
42 So folks are resorting to all sorts of extraneous documentation [6]
43
44 Filing bugs (new or edit mine) to make the docs better, enhances
45 Gentoo's appeal, imho.
46
47 James
48
49
50 [1] https://bugs.gentoo.org/show_bug.cgi?id=483654
51
52 [2]
53 http://www.arm.com/products/processors/instruction-set-architectures/armv8-r-architecture.php
54
55 [3]
56 http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php
57
58 [4] http://www.gentoo.org/doc/en/handbook/handbook-arm.xml
59
60 [5] http://www.gentoo.org/proj/en/base/embedded/handbook/
61
62 [6]
63 http://www.chromebook-linux.com/2011/11/gentoo-is-ready-for-chromebook.html