* pat <[EMAIL PROTECTED]> [20070521 11:15]:

> i have installed grml successfully on my cf card. i'm searching a way 
> how to write my new configurations and files on the disk. i've found a 
> way how to sync an unionfs with the originaly readonly mounted 
> directory... but i'm a bit confused. i don't now how it should look like 
> in the grml debian derivate.

JFYI: If it's just configuration files and stuff inside $HOME you
could use grml-saveconfig too, but your approach looks nice. :)

> here is the original debian wrap script:

> #!/bin/bash   
> # halt-wrap
> mount -o remount rw /OLD_ROOT/real_root
> rsync --delete -abRvz --exclude "/sys" --exclude "/proc" --exclude 
> "/dev" --exclude "/OLD_ROOT" / /OLD_ROOT/real_root/
> halt

> should i copy this script in /usr/sbin or put it in /etc/init.d/ and 
> modifier the /etc/rc.conf ( or something i don't remember anymore... 
> because i'm using the symlinking stuff )??

If you are using grml in live-mode (which you seem to do :)) you can
use for example the configuration framework with grml.sh.  Just
place a grml.sh script on your device and check out the
possibilities you have in the docs:
http://grml.org/config/grml-config.html

If you have any further questions don't hesitate to ask. :)

JFYI: http://grml.org/faq/#init -> you mean /etc/runlevel.conf - but
notice that adjusting runlevel.conf usually does not work as
intented unless you are re-reading the file using 'telinit q'. ;)

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Grml mailing list - [email protected]
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Reply via email to