Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: install to harddisk BT3final

  1. #1
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default install to harddisk BT3final

    where is tools for install to hdd?

    i create from BT3 beta
    name : BT3.kmdr
    and then i create edit menu config right click from kde start menu :
    kmdr-executor /usr/share/slax/BT3.kmdr

    but i dont know this script is good or not because from BT3beta is trial too.
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  2. #2
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
    <class>frmInstaller</class>
    <author>BackTrack Installer</author>
    <license>GPL</license>
    <version>3</version>
    <widget class="Dialog">
        <property name="name">
            <cstring>frmInstaller</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>0</x>
                <y>0</y>
                <width>381</width>
                <height>267</height>
            </rect>
        </property>
        <property name="paletteForegroundColor">
            <color>
                <red>0</red>
                <green>206</green>
                <blue>0</blue>
            </color>
        </property>
        <property name="paletteBackgroundColor">
            <color>
                <red>0</red>
                <green>0</green>
                <blue>0</blue>
            </color>
        </property>
        <property name="font">
            <font>
                <family>Bitstream Vera Sans</family>
            </font>
        </property>
        <property name="caption">
            <string>BackTrack  Installer</string>
        </property>
        <property name="icon">
            <pixmap>image0</pixmap>
        </property>
        <property name="associations" stdset="0">
            <stringlist>
                <string></string>
                <string>@StatusBar1.setText("Wait please, searching for c-lite linux cd ...")
    
    @ComboBox1.insertItems(@exec('cat /proc/mounts |grep -v loop |grep "/mnt" |grep -v "/mnt/live" |grep -v "/mnt/_" |grep -v "/mnt/cdrom_" |cut -d " " -f 2 |grep -v "/proc" | egrep -v "^/dev|^/sys|^proc|^/\$"'),0)
    
    @ComboBox2.insertItems(@exec('fdisk -l |egrep -o "/dev/[a-z]+" | uniq'),0)
    
    @ComboBox3.insertItems(@exec('find /mnt/live/mnt -maxdepth 3  -name livecd.sgn |xargs -r -n 1 dirname'),0)
    
    @StatusBar1.setText("Select target and click Install...")
    @CloseButton1.setVisible(false)
    
    </string>
                <string></string>
            </stringlist>
        </property>
        <widget class="CloseButton">
            <property name="name">
                <cstring>CloseButton1</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>300</x>
                    <y>106</y>
                    <width>70</width>
                    <height>29</height>
                </rect>
            </property>
            <property name="font">
                <font>
                </font>
            </property>
            <property name="text">
                <string>&amp;Close</string>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string></string>
                </stringlist>
            </property>
        </widget>
        <widget class="ExecButton">
            <property name="name">
                <cstring>ExecButton1</cstring>
            </property>
            <property name="enabled">
                <bool>true</bool>
            </property>
            <property name="geometry">
                <rect>
                    <x>300</x>
                    <y>106</y>
                    <width>70</width>
                    <height>29</height>
                </rect>
            </property>
            <property name="text">
                <string>&amp;Install</string>
            </property>
            <property name="populationText">
                <string></string>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  3. #3
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    <string>@ExecButton1.setText("Wait...")
    @StatusBar1.setText("Counting all files, please wait...")
    @exec("dd if=@ComboBox2 of=@ComboBox1/original.mbr bs=512 count=1")
    @RadioButton1
    @RadioButton2
    @exec("dd if=@ComboBox2 of=@ComboBox1/lilo.mbr bs=512 count=1")
    @exec("cp @ComboBox1/lilo.mbr @ComboBox1/lilo@exec("date +%y%m%d%a%H%M%S").mbr")
    @exec("cp @ComboBox1/original.mbr @ComboBox1/orig@exec("date +%y%m%d%a%H%M%S").mbr")
    @CheckBox1
    @StatusBar1.setText("All done! click Close button.")
    @ExecButton1.setVisible(false)
    @CloseButton1.setVisible(true)
    
    </string>
                </stringlist>
            </property>
            <property name="blockGUI">
                <enum>GUI</enum>
            </property>
        </widget>
        <widget class="QLayoutWidget">
            <property name="name">
                <cstring>Layout4</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>60</x>
                    <y>86</y>
                    <width>230</width>
                    <height>51</height>
                </rect>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>0</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="ProgressBar">
                    <property name="name">
                        <cstring>ProgressBar1</cstring>
                    </property>
                    <property name="font">
                        <font>
                        </font>
                    </property>
                    <property name="lineWidth">
                        <number>1</number>
                    </property>
                    <property name="progress">
                        <number>0</number>
                    </property>
                    <property name="associations" stdset="0">
                        <stringlist>
                            <string></string>
                        </stringlist>
                    </property>
                </widget>
                <widget class="StatusBar">
                    <property name="name">
                        <cstring>StatusBar1</cstring>
                    </property>
                    <property name="font">
                        <font>
                        </font>
                    </property>
                    <property name="associations" stdset="0">
                        <stringlist>
                            <string></string>
                        </stringlist>
                    </property>
                </widget>
            </vbox>
        </widget>
        <widget class="Label">
            <property name="name">
                <cstring>Label6_2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>11</x>
                    <y>137</y>
                    <width>208</width>
                    <height>29</height>
                </rect>
            </property>
            <property name="font">
                <font>
                </font>
            </property>
            <property name="text">
                <string>   Source (BackTrack CD) :</string>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string></string>
                </stringlist>
            </property>
        </widget>
        <widget class="ComboBox">
            <property name="name">
                <cstring>ComboBox3</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>221</x>
                    <y>142</y>
                    <width>148</width>
                    <height>21</height>
                </rect>
            </property>
            <property name="font">
                <font>
                </font>
            </property>
            <property name="editable">
                <bool>true</bool>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>@widgetText</string>
                </stringlist>
            </property>
        </widget>
        <widget class="ComboBox">
            <property name="name">
                <cstring>ComboBox1</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>221</x>
                    <y>164</y>
                    <width>148</width>
                    <height>21</height>
                </rect>
            </property>
            <property name="font">
                <font>
                </font>
            </property>
            <property name="editable">
                <bool>true</bool>
            </property>
            <property name="populationText">
                <string></string>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>@widgetText</string>
                </stringlist>
            </property>
        </widget>
        <widget class="ComboBox">
            <property name="name">
                <cstring>ComboBox2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>221</x>
                    <y>186</y>
                    <width>148</width>
                    <height>20</height>
                </rect>
            </property>
            <property name="font">
                <font>
                </font>
            </property>
            <property name="editable">
                <bool>true</bool>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string>@widgetText</string>
                </stringlist>
            </property>
        </widget>
        <widget class="GroupBox">
            <property name="name">
                <cstring>GroupBox2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>10</y>
                    <width>360</width>
                    <height>70</height>
                </rect>
            </property>
            <property name="paletteBackgroundColor">
                <color>
                    <red>0</red>
                    <green>0</green>
                    <blue>0</blue>
                </color>
            </property>
            <property name="palette">
                <palette>
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  4. #4
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    <active>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>238</red>
                            <green>234</green>
                            <blue>222</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>246</red>
                            <green>244</green>
                            <blue>238</blue>
                        </color>
                        <color>
                            <red>119</red>
                            <green>117</green>
                            <blue>111</blue>
                        </color>
                        <color>
                            <red>158</red>
                            <green>155</green>
                            <blue>147</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                    </active>
                    <disabled>
                        <color>
                            <red>128</red>
                            <green>128</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>238</red>
                            <green>234</green>
                            <blue>222</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>119</red>
                            <green>117</green>
                            <blue>111</blue>
                        </color>
                        <color>
                            <red>158</red>
                            <green>155</green>
                            <blue>147</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>128</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>128</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>192</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                    </disabled>
                    <inactive>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>238</red>
                            <green>234</green>
                            <blue>222</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>119</red>
                            <green>117</green>
                            <blue>111</blue>
                        </color>
                        <color>
                            <red>158</red>
                            <green>155</green>
                            <blue>147</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>192</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                    </inactive>
                </palette>
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  5. #5
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    </property>
            <property name="frameShape">
                <enum>WinPanel</enum>
            </property>
            <property name="frameShadow">
                <enum>Sunken</enum>
            </property>
            <property name="title">
                <string></string>
            </property>
            <widget class="Label">
                <property name="name">
                    <cstring>Label1</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>10</y>
                        <width>340</width>
                        <height>50</height>
                    </rect>
                </property>
                <property name="paletteForegroundColor">
                    <color>
                        <red>0</red>
                        <green>206</green>
                        <blue>0</blue>
                    </color>
                </property>
                <property name="paletteBackgroundColor">
                    <color>
                        <red>0</red>
                        <green>0</green>
                        <blue>0</blue>
                    </color>
                </property>
                <property name="font">
                    <font>
                        <family>Bitstream Vera Serif</family>
                        <pointsize>22</pointsize>
                    </font>
                </property>
                <property name="frameShape">
                    <enum>Box</enum>
                </property>
                <property name="frameShadow">
                    <enum>Sunken</enum>
                </property>
                <property name="text">
                    <string>BackTrack Installer</string>
                </property>
                <property name="alignment">
                    <set>AlignCenter</set>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
        </widget>
        <widget class="Label">
            <property name="name">
                <cstring>Label2</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>11</x>
                    <y>162</y>
                    <width>208</width>
                    <height>28</height>
                </rect>
            </property>
            <property name="font">
                <font>
                </font>
            </property>
            <property name="text">
                <string>   Install BackTrack  to:</string>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string></string>
                </stringlist>
            </property>
        </widget>
        <widget class="PixmapLabel">
            <property name="name">
                <cstring>PixmapLabel3</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>86</y>
                    <width>50</width>
                    <height>52</height>
                </rect>
            </property>
            <property name="maximumSize">
                <size>
                    <width>140</width>
                    <height>240</height>
                </size>
            </property>
            <property name="backgroundMode">
                <enum>PaletteBackground</enum>
            </property>
            <property name="paletteForegroundColor">
                <color>
                    <red>0</red>
                    <green>0</green>
                    <blue>0</blue>
                </color>
            </property>
            <property name="paletteBackgroundColor">
                <color>
                    <red>0</red>
                    <green>0</green>
                    <blue>0</blue>
                </color>
            </property>
            <property name="palette">
                <palette>
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  6. #6
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    <active>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>238</red>
                            <green>234</green>
                            <blue>222</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>246</red>
                            <green>244</green>
                            <blue>238</blue>
                        </color>
                        <color>
                            <red>119</red>
                            <green>117</green>
                            <blue>111</blue>
                        </color>
                        <color>
                            <red>158</red>
                            <green>155</green>
                            <blue>147</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                    </active>
                    <disabled>
                        <color>
                            <red>128</red>
                            <green>128</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>238</red>
                            <green>234</green>
                            <blue>222</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>119</red>
                            <green>117</green>
                            <blue>111</blue>
                        </color>
                        <color>
                            <red>158</red>
                            <green>155</green>
                            <blue>147</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>128</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>128</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>192</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                    </disabled>
                    <inactive>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>238</red>
                            <green>234</green>
                            <blue>222</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>119</red>
                            <green>117</green>
                            <blue>111</blue>
                        </color>
                        <color>
                            <red>158</red>
                            <green>155</green>
                            <blue>147</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>0</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                        <color>
                            <red>255</red>
                            <green>255</green>
                            <blue>255</blue>
                        </color>
                        <color>
                            <red>0</red>
                            <green>0</green>
                            <blue>192</blue>
                        </color>
                        <color>
                            <red>128</red>
                            <green>0</green>
                            <blue>128</blue>
                        </color>
                    </inactive>
                </palette>
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  7. #7
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    </property>
            <property name="backgroundOrigin">
                <enum>WindowOrigin</enum>
            </property>
            <property name="frameShape">
                <enum>GroupBoxPanel</enum>
            </property>
            <property name="lineWidth">
                <number>0</number>
            </property>
            <property name="pixmap">
                <pixmap>image0</pixmap>
            </property>
            <property name="scaledContents">
                <bool>true</bool>
            </property>
            <property name="alignment">
                <set>AlignVCenter</set>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string></string>
                </stringlist>
            </property>
        </widget>
        <widget class="ButtonGroup">
            <property name="name">
                <cstring>ButtonGroup1</cstring>
            </property>
            <property name="geometry">
                <rect>
                    <x>10</x>
                    <y>216</y>
                    <width>360</width>
                    <height>40</height>
                </rect>
            </property>
            <property name="font">
                <font>
                </font>
            </property>
            <property name="title">
                <string>Installation method</string>
            </property>
            <property name="associations" stdset="0">
                <stringlist>
                    <string></string>
                    <string></string>
                </stringlist>
            </property>
            <widget class="RadioButton">
                <property name="name">
                    <cstring>RadioButton1</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>14</y>
                        <width>80</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Li&amp;ve</string>
                </property>
                <property name="checked">
                    <bool>true</bool>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>exit</string>
                        <string>@forEach(dir, @exec(ls -1 @ComboBox3/../))
      @ProgressBar1.setMaximum(@dir_count)
      @StatusBar1.setText(copying @dir ...)
      @exec(cp --preserve=all -R @ComboBox3/../@dir @ComboBox1)
      @ProgressBar1.setText(@dir_index)
    @end
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  8. #8
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    @StatusBar1.setText("Synchronizing, wait please...")
    @exec("sync")
    
    @StatusBar1.setText("Installing boot loader LILO...")
    @exec("konsole -e @ComboBox1/boot/bootlilo.sh")
    </string>
                    </stringlist>
                </property>
                <property name="toolTip" stdset="0">
                    <string>- Install c-lite linux like a live cd, compressed
    - to USB Mass Storage Device or small disk</string>
                </property>
            </widget>
            <widget class="RadioButton">
                <property name="name">
                    <cstring>RadioButton2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>82</x>
                        <y>16</y>
                        <width>140</width>
                        <height>16</height>
                    </rect>
                </property>
                <property name="text">
                    <string>Re&amp;al</string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>exit</string>
                        <string>@forEach(dir, @exec(ls -1 / | egrep -v "^dev"  | egrep -v "^proc" | egrep -v "^mnt" | egrep -v "^boot"  | egrep -v "^sys"  | egrep -v "^tmp" | egrep -v "^i386" | egrep -v "^Programs" | egrep -v "^cls"))
      @ProgressBar1.setMaximum(@dir_count)
      @StatusBar1.setText(copying /@dir ...)
      @exec(cp --preserve=all -R /@dir @ComboBox1/)
      @ProgressBar1.setText(@dir_index)
    @end
    
    @exec("mkdir -p @ComboBox1/{tmp,boot,mnt,dev,sys,proc}")
    @exec(cd @ComboBox1/ &amp;&amp; cat etc/fstab |egrep -o "/mnt/[a-z0-9]+" | cut -b 2- |xargs mkdir)
    
    @exec("device=$(cat /proc/mounts |grep @ComboBox1 |cut -d " " -f 1) &amp;&amp; echo "$device / auto defaults 1 1" &gt;@ComboBox1/etc/fstab &amp;&amp; cat /etc/fstab | grep -v $device &gt;&gt;@ComboBox1/etc/fstab")
    @exec("rm @ComboBox1/etc/mtab")
    
    @exec("cp @ComboBox3/../boot/vmlinuz @ComboBox1/boot")
    
    @exec("cp --preserve -R /dev/null @ComboBox1/dev")
    @exec("cp --preserve -R /dev/console @ComboBox1/dev")
    @exec("mount -o bind /dev @ComboBox1/dev")
    @exec("mount -t proc proc @ComboBox1/proc")
    
    @StatusBar1.setText("Synchronizing, wait please...")
    @exec("sync")
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

  9. #9
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    Download the BT3 Final version instead of the Beta, as it has been out for a while already. Then follow this tutorial for the installation to your HD:
    http://forum.remote-exploit.org/showthread.php?t=14751

    And since your question is about BT3 beta why are you posting under the BT3final Bugs and Fixes section, especially since your question isn't even about a bug or a suggested fix? Also remove the picture from your signature as this is not allowed on this forum.
    -Monkeys are like nature's humans.

  10. #10
    Junior Member kurt_kabayan's Avatar
    Join Date
    Sep 2006
    Posts
    63

    Default

    Code:
    @exec(echo "
    boot = @ComboBox2
    prompt
    timeout = 60
    #bitmap=/boot/splash.bmp
    change-rules
    reset
    #vga = 769,771/773/792
    vga = 769
    image = /boot/vmlinuz
      root = current
      label = BackTrack
      read-only
    " &gt;@ComboBox1/etc/lilo.conf)
    
    @StatusBar1.setText("Synchronizing, wait please...")
    @exec("sync")
    
    @StatusBar1.setText("Installing boot loader LILO...")
    
    @exec("/sbin/lilo -r @ComboBox1 -s /dev/null 2&gt;/var/log/c-lite-linux-lilo-install.log")
    
    @exec("umount @ComboBox1/dev")
    @exec("umount @ComboBox1/proc")
    </string>
                    </stringlist>
                </property>
                <property name="toolTip" stdset="0">
                    <string>- Install BackTrack,
    - decompressed to a harddrive in a computer</string>
                </property>
            </widget>
            <widget class="CheckBox">
                <property name="name">
                    <cstring>CheckBox1</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>160</x>
                        <y>14</y>
                        <width>190</width>
                        <height>20</height>
                    </rect>
                </property>
                <property name="font">
                    <font>
                    </font>
                </property>
                <property name="text">
                    <string>Restore Original &amp;MBR after lilo</string>
                </property>
                <property name="checked">
                    <bool>true</bool>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>exit</string>
                        <string>exit</string>
                        <string>@exec("dd if=@ComboBox1/original.mbr of=@ComboBox2 bs=512 count=1")</string>
                    </stringlist>
                </property>
                <property name="toolTip" stdset="0">
                    <string>Note: Manually copy the lilo.mbr to another drive
    or floppy.  Then copy the lilo.mbr to your Windows
    XP drive and add a line to your boot.ini file.
    (Example: c:\lilo.mbr="BackTrack") 
    MBR is a Master Boot Record - Do not restore the original.mbr 
    if you do not have a previous Operating System.</string>
                </property>
            </widget>
        </widget>
    Th4n|<$ B3 4
    Kurt_Kabayan
    noobies backtrack community :D

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •