I am using bt3 from my usb device.
I have downloaded and installed openoffice from linuxpackages - using pkginstall.
However, when I reboot my machine it can't remember the instln of openoffice.
What should I do to install openoffice on the usb in persistent mode ?
thanks
nishith
Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69
http://delicious.com/operat0r/backtrack ( look for links onf 'changes' )
Well, this is a product of my free time. People at work are always asking how to do this. So I made a little script that does it for you. It will even take the existing changes files and combine them.
Usage: save_changes.sh (Main menu will follow.)
(I know I know, it's a link. The alternative is posting the whole thing..)
wwwfergsoft.com/save_changes.sh
-Ferg
PS: For all you veterans out there, don't be too critical on my beginners shell scripting skill. :P
How and where do I run the script? Should i be running it from the usb already loaded with bt3 but in a live mode or the text mode? or should i run it from another o/s like ubuntu to install it and get persistent changes workign.
aa tiny step by step fpr n00b me would be much appreciated![]()
No problem. Just put the file in the root directory of your thumb drive, should be something like /mnt/sdb1
To check type 'mount' and look at the list there. You can use 'ls <path>' to check whats on each of the devices you have mounted. Your drive should be the one containing your 'BT3' and 'boot' folders. I just make a new folder there called 'files' and put it in there.
Then to run it just type the path and filename.
(ex: /mnt/sdb1/files/save_changes.sh)
It doesn't really matter what directory you run the file from. As long as you remember that if its stored in the file system somewhere that you have to save the changes (because adding the file was a change).
-Ferg
Also, you can make a module out of the changes, and put the lzm file in the modules folder.
True security is based on open and rigorous probing of our strengths and weaknesses. Yeah, and life is too short for hyperbole, metaphor, and BS.
Your file (save_changes.sh) isnt online no more.
Please tell me if this is your script (I got it from SLAX Forum from a guest):
thanx in advanceCode:Quote: #!/bin/bash # Normal version # Directory to where save configuration DIR="modules/changes" # Module name NAME="save-`date +\"%d.%m.%Y-%H.%M\"`.lzm" # $DIR exists? if [[ ! -d $DIR ]]; then mkdir -p $DIR fi # Test for Writable FS nocheckfs="`echo $@ | grep \"\-nocheckfs\"`" if [[ $nocheckfs = "" ]]; then touch $DIR/fstest 2> /dev/null if [[ "$?" = "0" ]]; then # RW fs, continue rm $DIR/fstest else # RO fs. echo "Read-only filesystem" >&2 exit 1 fi fi # Check if file exists, if yes, then rename. if [[ -e "$DIR/$NAME" ]]; then NAME="save-`date +\"%d.%m.%Y-%H.%M.%S.%N\"`.lzm" echo "File exists, renaming to $NAME" fi # Saving configuration full="`echo $@ | grep \"\-full\"`" if [[ ! $full = "" ]]; then dir2lzm /mnt/live/memory/changes $DIR/$NAME || echo "dir2lzm failed" >&2 else configsave $DIR/$NAME || echo "configsave failed" >&2 fi
Thanks for the code finally got me changes saved, it used to be so simeple in BT2
Don't discount Windows, I would be a poor man without it ;)