Re: au-chroot example, v2

2011-12-15 Thread Michael S. Zick
On Thu December 15 2011, sf...@users.sourceforge.net wrote:
 
 Michael S. Zick:
  A longer example describing a much better,
  general purpose, au/chroot setup.
   :::
  Once you read/work through the example, you will see
  how to make use of that box full of too small devices
  you have sitting around.
 
 Whao, this is a detailed document.
 And I believe it must be a good help for users, particularly who is
 going to start using aufs.
 Thank you Michael. I will add your URL somewhere in the aufs documents.


Thank you.

I have done a major clean-up of the one posted here
and will post the URL to its on-line location RSN.  ;-)

The newest version will be available in *.pdf, *.html, and *.txt
at its on-line location.

Mike

 Here is a table of contents I grep-ped, just for readers convenient.
 
 1. The LiveCD Linux distribution
 1.1 The Knoppix LiveCD or LiveDVD
 
 2. Build a minimum Linux install on removable media.
 2.1 Initialize your removable media
 2.1.1 Becoming user-name: root
 2.1.2 Making a distinctive prompt
 
 2.2 Connecting the media for the chroot
 
 2.3 Partition the media
 2.3.1 fdisk partition setup
 2.3.2 Disk partition by GUI
 
 2.4 Initialize the file systems
 2.4.1 The first partition (for the base install files)
 2.4.2 The optional swap partition
 2.4.3 The extensible data partition
 2.4.3.1 Create the physical volume
 2.4.3.2 Create the volume group
 2.4.3.3 Create a logical volume
 2.4.3.4 Storage summaries
 2.4.4 Initialize the logical volume file system
 
 2.5 Install a minimum Linux distribution
 2.5.1 The base install partition
 2.5.2 The OPTIONAL swap partition
 2.5.3 The overlay data storage area
 2.5.4 Install the minimum base system on the media.
 
 2.6 Test the chroot base, AND minimal clean up
 2.6.1 Starting a chroot environment
 2.6.2 Entering the chroot environment
 2.6.2.1 Minimal clean-up
 2.6.3 Exiting the chroot environment
 2.6.4 Stopping a chroot environment
 
 3. Using the auFS system on our chroot environment
 3.1 First (RW) layer - complete the base system install
 3.1.1 Checking the first, two layer auFS stack:
 3.1.2 Starting the first, two layer auFS stack:
 3.1.3 Entering the auFS stacked chroot environment
 
 3.2 Networking setup
 3.2.1 Duplicating the host network setup
 
 3.3 Giving root a home and adding a user
 3.3.1 Defining root's home directory
 3.3.2 Create a non-privileged user (your choice of name)
 3.3.3 Check the new username
 3.3.4 Optionally, install the sudo package
 3.3.5 Optionally add passwords for both root and user, which would be:
 
 3.4 Bring the base install up to date
 
 3.5 Exit the chroot
 
 4. Taking down the chroot auFS stack
 4.1 Unmount the components
 4.2 Copy the syschgs layer contents to somewhere more permanent
 4.3 Unmount the remainder of our auroot setup
 4.4 Unmount the two auroot flash devices
 
 5. Postscript
 
 



--
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/


auFS/chroot example(s)

2011-12-15 Thread Michael S. Zick
Group,

Example(s) getting to big to post on the list,
so they are now on-line at:

http://hg.minimodding.com/repos/aufs/auroot.hg/  (summary)
(a public repository, I.E: hg clone above URL gets you everything.)

OR

Clicking either of the 'files' notations gets you the list.
Currently, a choice of one.  So to save you a click:
http://hg.minimodding.com/repos/aufs/auroot.hg/file/dc667a3d30bb

The *.lyx file is the source file, the others are generated files.

Clicking either 'zip' or 'gz' gets you an archive of that set
of four files (source, *.html, *.pdf, *.txt).

OR

Clicking the 'file' to the right of any of the listed files
gets you a page of that file's details.
In the page header, click 'raw' to view or download just that
single file.

At the moment, that means to view the current file in your 
browser:
http://hg.minimodding.com/repos/aufs/auroot.hg/file/dc667a3d30bb/au-root-part-1.html
Now click 'raw' near the top banner.

@JRO - I embedded the css into the html file, so all you have
to do (if you want to) is save the raw html file, then push
it to your auFS website with a link to it from somewhere.

The *.txt file is probably the better choice for your utils/samples
repository directory.

Mike

--
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/