From 5e0968da1d0a8f23b09333b404c3522639d1af72 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 6 Dec 2001 17:35:18 +0000 Subject: [PATCH] This completes the instructions for normal user > 8192k fs. --- doc/html/index.html | 88 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 78 insertions(+), 10 deletions(-) diff --git a/doc/html/index.html b/doc/html/index.html index e8de0eb..70e5685 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,7 +3,7 @@ -
$Id: index.html,v 1.34 2001/12/06 04:18:04 freesource Exp $
+
$Id: index.html,v 1.35 2001/12/06 07:32:02 freesource Exp $

@@ -659,27 +659,93 @@ can be changed when the filesystem is run from a kernel. Although genext2fs only allows a normal user to create a UID/GID 0 root filesystem up to a maximum size of 8192k, there is an easy solution to -create root filesystems larger than this limit.  Eventually, +creating root filesystems larger than this limit.  Eventually, I'll automate the steps required, but for now you will have to do it manually.

-1.  Create your root filesystem as you normally would when using +1.  You may want to create a helper root filesystem +(<=8192k), and give it an unique name in the +ARS Root Filename.  The root_fs +created from Example.yard provides all the functionality you need, +regardless, you will need some sort of working root_fs with all the +necessary system utilities before proceeding with the next step.   +We will call this root_fs_helper. + +

+ +2.  Create your root filesystem (>8192k) as you normally would when +using genext2f, making sure to choose the filesystem size you require from the ARS.   Proceed through the required stages, and when you finish the Create stage -there will be an ERROR dialog box which will pop up saying "Cannot genext2fs +an ERROR dialog box will pop up saying "Cannot genext2fs filesystem" which you can safely ignore.  At this point in the -"echo /tmp/gboot_root_`id -u`" directory there is an empty file with the name -specified in the ARS Root Filename field.  Above this directory +"echo /tmp/gboot_non_ root_`id -u`" directory there is an empty file +with the name +specified in the ARS Root Filename field which we will assume is called +root_fs.  Above this directory in loopback/ all files and directories copied over during the Create stage can be found.

-2. +3.  Open up the UML box from the ARS.  In the Root_Fs +entry ubd0 should be pointing to the helper root_fs, and +ubd1 should be pointing to the empty root_fs file:   +

+  ubd0=/tmp/gboot_non_root_1000/root_fs_helper ubd0=/tmp/gboot_non_root_1000/root_fs
+
+

+ +

+ +4.  The devfs is used in this example.   +Press the Submit button on the UML box, and login to +the root_fs_helper.  Create two mounting directories if they +don't exist.  For this example, /mnt1 and +/mnt2 are used.   + +

+ +5.  Make a filesystem type of your own choice on /dev/ubd/1: +

+  mke2fs -m0 /dev/ubd/1
+
+ +

+ +6.  Mount /dev/ubd/1 on /mnt1: +

+  mount /dev/ubd/1 /mnt1
+
+ +

+ +7.  Mount the host filsystem on /mnt2: +

+   mount -t hostfs none -o /tmp/gboot_non_root_1000/loopback /mnt2
+
+ +

+ +8.  Copy everything from loopback to /mnt1: +

+  cp -a /mnt2/* /mnt1
+
+ +

+ +9.  Change UIDs and GIDs to the appropriate user: +

+  chown -v -R 0:0 /mnt1/*
+  chown -v -R 1002:1002 /mnt1/home
+
+ +

+10.  Unmount everything.  Root_fs is now ready to be used!

@@ -701,8 +767,10 @@ the actual packaging state it will be providing.   In order to use this script you need to be running a Debian-like distribution, anotherwards, one which uses dpkg, apt and file-rc to maintain its packaging and boot hierarchy.  Dswim is used to collect -information used in making the template.  You will need to build the -filesystem as root because it exceeds the 8192k limit provided by genext2fs.

+information used in making the template.  When you run the +template in the Yard Box as +a normal user follow the instructions from the FAQ answer to +"How can a normal user create a root filesystem larger than 8192k?"

@@ -815,7 +883,7 @@ up towards 1440 and 1722, you get very funny figures.

This is because of the way Gtk works.  There are two adjustments, step and page increments.  When you press your first mouse button the step has been set to 282 so that a person can easily switch between 1440 and 1722. -  When you use your second mouse button the page is set at 360. You can go +  When you use your second mouse button the page is set at 1024. You can go down to zero by pressing your third mouse button on the down arrow.  Now page up with the second button to 1440 and step with the first button to