Skip to content

Commit

Permalink
Added some extra information about DCS directory on a live medium
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy42 authored and mika committed Mar 20, 2014
1 parent 11074bc commit b9ded18
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions doc/grml-autoconfig.current.txt
@@ -1,21 +1,22 @@
Behavior in current Grml versions
---------------------------------

This section applies to all Grml versions newer than release 2009.05.
This section applies to all Grml versions newer than release 2013.02.

The central concept of grml-autoconfig is the DCS directory which holds debs,
configuration and scripts which are used during system startup.

Determination of DCS directory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The DCS directory defaults to the root directory of the GRML live image. If a
file system labeled GRMLCFG is found, the DCS directory is the root directory of
that file system. Alternatively, the myconfig boot parameter can be used to
directly specify a device which is then taken as DCS directory
(myconfig=/dev/sda1, for example). If your device is labeled different to
GRMLCFG the proper label can be set via the autoconfig boot parameter
(autoconfig=SOMELABEL, for example).
The DCS directory defaults to the root directory of the GRML live image
(Note: the directory is known as /lib/live/mount/medium/ on a _running_
Grml system then!). If a file system labeled GRMLCFG is found, the DCS
directory is the root directory of that file system. Alternatively, the
myconfig boot parameter can be used to directly specify a device which
is then taken as DCS directory (myconfig=/dev/sda1, for example). If
your device is labeled different to GRMLCFG the proper label can be set
via the autoconfig boot parameter (autoconfig=SOMELABEL, for example).

Without any additional boot parameters, the GCA at DCSDIR/config.tbz is
automatically unpacked and DCSDIR/scripts/grml.sh is automatically executed on
Expand Down Expand Up @@ -145,13 +146,14 @@ noautoconfig::
Permanently adjust boot parameters
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As you probably know you can adjust boot parameters on the bootprompt. You want
to set some boot parameters permanently? That's possible via adding a directory
named 'bootparams' to the Grml ISO which has to be located at the root-directory
/bootparams/ (note: the directory is known as /lib/live/mount/medium/bootparams/ on a
_running_ Grml system then). Place a textfile inside the directory containing
the boot parameters which should be appended to default ones (this corresponds
to booting without any special parameters).
As you probably know you can adjust boot parameters on the bootprompt.
You want to set some boot parameters permanently? That's possible via
adding a directory named 'bootparams' to the Grml ISO which has to be
located at the root-directory /bootparams/ (Note: the directory is known
as /lib/live/mount/medium/bootparams/ on a _running_ Grml system then!).
Place a textfile inside the directory containing the boot parameters
which should be appended to default ones (this corresponds to booting
without any special parameters).

mkdir bootparams
echo lang=de > bootparams/my_bootparams
Expand Down

0 comments on commit b9ded18

Please sign in to comment.