Installing Trinity Rescue Kit

Forum rules
- We do not condone any illegal activity what so ever.
- Any religious, political or pornographic references will not be tolerated.
- No soliciting/spamming will be tolerated.
- Breaking the forum rules may result in permanent ban.

We reserve the right to change any rules at any time for any reason.

Installing Trinity Rescue Kit

Postby .ronin » Sun Nov 22, 2009 12:38 am

The following is a tutorial on adding Trinity Rescue Kit to Katana:

1) Download Trinity Rescue Kit ISO from http://trinityhome.org

2) Burn or extract the ISO into a local directory on your system.

3) On your Katana Drive, create the file trinity.cfg in the /boot/menu directory. (This is the menu for Trinity Rescue Kit.) Open trinity.cfg in a text editor and copy and past the following into it:

Code: Select all
PROMPT 0
#TIMEOUT 90
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/wallpaper.png

MENU WIDTH 60
MENU MARGIN 0
MENU ROWS 10
MENU HELPMSGROW 22
MENU TIMEOUTROW 26
MENU TABMSGROW 27
MENU CMDLINEROW 27
MENU HSHIFT 9
MENU VSHIFT 0

   menu color screen   37;40      #00000000 #00000000 none
   menu color border   30;44      #00000000 #00000000 none
   menu color title   1;36;44    #aaaaaaaa #00000000 none
   #menu color unsel   37;44      #ff60CA00 #00000000 none
   menu color unsel   37;44      #aaaaaaaa #00000000 none
   menu color hotkey   1;37;44    #ff60CA00 #00000000 none
   #menu color sel      7;37;40    #ffffffff #00000000 none
   menu color sel      7;37;40    #ffffffff #00000000 none
   menu color hotsel   1;7;37;40  #ff808080 #ff60CA00 none
   menu color scrollbar   30;44      #00000000 #00000000 none

   menu color tabmsg   31;40      #aaaaaaaa #00000000 none
   menu color cmdmark   1;36;40    #ffff0000 #00000000 none
   menu color cmdline   37;40      #aaaaaaaa #00000000 none
   menu color pwdborder   30;47      #ffff0000 #00000000 std
   menu color pwdheader   31;47      #ffff0000 #00000000 std
   menu color pwdentry   30;47      #ffff0000 #00000000 std
   menu color timeout_msg   37;40      #aaaaaaaa #00000000 none
   menu color timeout   1;37;40    #ffaaaaff #00000000 none
   menu color help      37;40      #aaaaaa00 #00000000 none
   menu color msg07   37;40      #90ffffff #00000000 std

MENU TITLE Trinity Rescue Disk

LABEL trk3
MENU label TRD - default
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1

LABEL 1
MENU label TRD - as bootserver to boot other TRK clients
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 trkbootnet

LABEL 2
MENU label TRD - running from RAM (best >= 512mb, 256mb min)
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 trkinmem

LABEL 3
MENU label TRD - with bigger screenfont
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 normalfont

LABEL 4
MENU label TRD - in simple VGA mode (debugging of kernel output)
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=1 pci=conf1 splash=off

LABEL 5
MENU label TRD - with Belgian keyboard (see docs for other)
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 keyb_be

LABEL 6
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Virusscan all drives (non interactive)
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 virusscan

LABEL 7
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Try more pcmcia and usb nics (when not detected)
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 pcmcia

LABEL 8
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Try more SCSI drivers (when disks not detected)
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 scsidrv

LABEL 9
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - with a secure shell server enabled
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 sshd

LABEL 10
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Execute local scripts on harddrive of PC
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 locscr

LABEL 11
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Fileshare all drives, secured with user
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 smbsec

LABEL 12
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Fileshare all drives as guest, no security
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 smbguest

LABEL 0
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Single user mode
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 runlevel 1

LABEL noacpi
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Acpi=off, noapic  PCI=bios (Alternate boot 1)
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose acpi=off noapic pci=bios

LABEL pcinormal
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - Acpi=off, noapic PCI=any (Alternate boot 2)
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose acpi=off noapic

LABEL pciconf1
KERNEL /boot/syslinux/trinity/kernel.trk
MENU label TRD - PCI=conf2 (Alternate boot 3)
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf2

LABEL debug
MENU label TRD - Verbose startup for debugging after initial bootfase
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 debugging

LABEL 18
MENU label TRD - SSH server and run from RAM
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 sshd trkinmem

LABEL 19
MENU label TRD - SSH server, run from RAM, act as a secure fileserver
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 sshd trkinmem smbsec

LABEL 20
MENU label TRD - proxyserver support enabled
KERNEL /boot/syslinux/trinity/kernel.trk
APPEND initrd=/boot/syslinux/trinity/initrd.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1 proxy

LABEL back
MENU LABEL ..
KERNEL /boot/vesamenu.c32
APPEND /boot/menus/main.cfg
TEXT HELP
                        Back to Main Menu
ENDTEXT

4) Create the directory /boot/syslinux/trinity in Katana. Copy the kernel.trk and initrd.trk files into the newly created directory from the extracted ISO.

5) Copy the /trk3 directory from the extracted ISO to the root of Katana.

6) Finally, on the Katana Drive; open /boot/menus/main.cfg in a text editor and add the following to the end of the file. This will add Trinity Rescue Kit to the main boot menu.

Code: Select all
LABEL trinity
MENU LABEL Trinity Rescue Kit
KERNEL /boot/vesamenu.c32
APPEND /boot/menus/trinity.cfg
TEXT HELP
                         More about currently selected:
   
                         Trinity Rescue Kit is a distribution
                         that aims specifically at recovery
                         and repair operations.
ENDTEXT

You should now be able to boot Trinity Rescue Kit from Katana.
Slay your enemies, Protect your home!
User avatar
.ronin
 
Posts: 94
Joined: Fri Oct 30, 2009 1:47 pm

Re: Installing Trinity Rescue Kit

Postby alexploiter » Sun Nov 22, 2009 5:46 am

all the steps has been done but i didnt found the vmlinuz.trk in the iso file i only found initrd.trk , any idea sir?
alexploiter
 
Posts: 13
Joined: Sat Nov 21, 2009 12:15 pm

Re: Installing Trinity Rescue Kit

Postby .ronin » Sun Nov 22, 2009 11:26 am

You are correct. It was supposed to be kernel.trk not vmlinuz.trk. I have edited the guide accordingly.
Slay your enemies, Protect your home!
User avatar
.ronin
 
Posts: 94
Joined: Fri Oct 30, 2009 1:47 pm

Re: Installing Trinity Rescue Kit

Postby Securit » Sat Jan 23, 2010 9:15 pm

I am trying to install TRK and am having a few difficulties.

When I follow all the instructions above 'Trinity Rescue Kit' appears on the main menu afer booting to my flash drive however I then just see a grey/white background which fills the entire screen. This just stays indefinately and TRK never loads. I have left it upto 20 minutes for TRK to load and nothing has appeard other than this screen.

Has anyone else had this problem?

I have noticed in another thread a different was of installing TRK giving other instructions such as copying the enture iso apart from the trk3 directory over to the 'trinity' directory, is the above guide definately 100% correct?

Many thanks
Securit
 
Posts: 12
Joined: Wed Jan 20, 2010 5:34 pm

Re: Installing Trinity Rescue Kit

Postby .ronin » Sun Jan 24, 2010 7:51 pm

Securit wrote:When I follow all the instructions above 'Trinity Rescue Kit' appears on the main menu afer booting to my flash drive however I then just see a grey/white background which fills the entire screen.

It sounds like the menu is not finding the trinity.cfg file. Make sure the TRK file is /boot/menus/trinity.cfg
Slay your enemies, Protect your home!
User avatar
.ronin
 
Posts: 94
Joined: Fri Oct 30, 2009 1:47 pm

Re: Installing Trinity Rescue Kit

Postby Securit » Thu Feb 04, 2010 5:52 pm

I have got a bit further but still having a little difficulty...

I now get the following message when I select 'TRD - Default' from the menu.

Image

I have very little experience of Linux and don't know what the usb will b mounting itself to ie. sda 1,2,3 sdb etc?

I am assuming though that this is an error as Trk is saying it can not find the medium anywhere?

Any pointers much appreciated.
Securit
 
Posts: 12
Joined: Wed Jan 20, 2010 5:34 pm

Re: Installing Trinity Rescue Kit

Postby .ronin » Fri Feb 12, 2010 12:32 am

It depends on the kind drives that are in the computer. IDE drives normally mount at hd* where SATA mount as sd*. I would try 'sda1' first and then move up from 'a', (example sdb1, sdc1, etc.).
Slay your enemies, Protect your home!
User avatar
.ronin
 
Posts: 94
Joined: Fri Oct 30, 2009 1:47 pm


Return to Katana Howto

Who is online

Users browsing this forum: No registered users and 2 guests