1.
Scripts to help you
-mountallfs.sh:
This script will mount any filesystems
it finds on scsi and ide harddrives. It will also loaded the appropriate
filesystem modules.
All partitions that contain a valid filesystem will be mounted in /
as their respective device special file. E.g. /dev/hda1 will get mounted
on /hda1. Mountallfs will tell you any partition it has mounted on execution
anyway.
It has one flag, that is the -d flag, meaning "dangerous".
Dangerous in a sense that it will load an alternative module for ntfs,
nl. ntfs v1.1.21, the only one that has some writing capabilities to
my knowledge. Be carefull with what you 're doing on ntfs drives, this
is an ntfs driver that isn 't developed any longer and which had never
stable writing capabilities. Always run "ntfsfix" on the ntfs
partition after you written and unmounted it.
Mountallfs has a counterpart, called of course umountallfs, which will
at the same time also unload any ntfs module.
-virusscan.sh:
uses the free Linux antivirus version of F-prot (from Frisk software).
depending on the flag you give it, it attempts to get the latest updates
at ftp.f-prot.com, unpacks it and
scans all local disks. Off course, you first need networking support
and local filesystems mounted.
F-prot has a weird license which permits you to use it for free for
home use until a new version appears. It 's definitely not GPL,
so I 'm considering a TRK version without f-prot after this one has
been approved stable, just to avoid license problems
-winpass:
This is a script I have made to automate Windows NT/200/XP password
resets.
Just run it at the prompt and it will automatically mount any drive
it finds by calling "mountallfs -d", dangerously.
It will then prompt you which Windows installation you want to reset
the password from (default it's user Administrator), after which it
will start chntpw, that will also prompt you some questions. After having
said "y" to everythingall volumes get unmounted and any ntfs
volume automatically gets an "ntfsfix", so a checkdisk will
be performed on next startup of windows. It should then have reset your
password .
winpass takes the same arguments as chntpw, so if you specify "winpass
-u Harry", it will start "chntpw -u Harry", resetting
the password of user Harry.
2.
Boot time options:
-/floppy/trkscripts is not actually a
script, but you can make it one. TRK 1.1 has a lilo option that triggers
mounting your floppy drive (on /dev/fd0) and search for the file "trkscripts"
to execute. It executes in the current startup shell, so you can give
it system wide variables. Somebody had asked me to implement this feature
but from the computers' harddisk so one could launch computer specific
maintenance. It was a great idea, except you would have to be certain
you could mount any computers disk automatically (cfr. SCSI modules
that don 't load in kudzu). A floppy is such a universal device that
it will almost always work.
6. Contact the author
Contact me, Tom Kerremans aka harakiri
at 
I 'd like to know what you think of it.
7. previous versions
TRK
0.3 HOWTO
TRK 0.4 HOWTO
TRK 0.4
Development HOWTO
TRK 0.5 HOWTO
TRK 1.0
HOWTO
|