[elbe-devel] [PATCH 3/3] examples: x86_64-pc-hdimg-gnome3: add home partition

Philipp Rosenberger p.rosenberger at linutronix.de
Thu Aug 11 16:46:53 CEST 2016


Add a home partition as logical partition.

Signed-off-by: Philipp Rosenberger <p.rosenberger at linutronix.de>
---
 examples/x86_64-pc-hdimg-gnome3.xml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/examples/x86_64-pc-hdimg-gnome3.xml b/examples/x86_64-pc-hdimg-gnome3.xml
index d9be7c5..4dbc0f3 100644
--- a/examples/x86_64-pc-hdimg-gnome3.xml
+++ b/examples/x86_64-pc-hdimg-gnome3.xml
@@ -25,9 +25,16 @@
 				<size>8000MiB</size>
 				<grub-install/>
 				<partition>
-					<size>remain</size>
+					<size>6GiB</size>
 					<label>rfs</label>
 				</partition>
+				<extended>
+					<size>remain</size>
+					<logical>
+						<size>remain</size>
+						<label>home</label>
+					</logical>
+				</extended>
 			</msdoshd>
 		</images>
 		<fstab>
@@ -39,6 +46,14 @@
 					<tune2fs>-i 0</tune2fs>
 				</fs>
 			</bylabel>
+			<bylabel>
+				<label>home</label>
+				<mountpoint>/home</mountpoint>
+				<fs>
+					<type>ext4</type>
+					<tune2fs>-i 0</tune2fs>
+				</fs>
+			</bylabel>
 			<bydev>
 				<source>none</source>
 				<mountpoint>/sys/kernel/debug</mountpoint>
-- 
2.1.4





More information about the elbe-devel mailing list