Results 1 to 3 of 3

Thread: Problem with bt4-customise.sh

  1. #1
    Junior Member whiterabbit7500's Avatar
    Join Date
    Feb 2010
    Location
    in your server
    Posts
    33

    Default Problem with bt4-customise.sh

    I'm attempting to use the BT4 customize script. I have the BT4PF ISO copied to my desktop, along with the script. Whenever I run the script, it appears to skip through the entire thing without giving me a chroot to customize my new ISO. It also creates folders titled "squashfs" "mnt" "edit" and "extract-cd". i have tried with root privledges as well, but no change. I'm running BT4PF on VMware HD install.

    anyone else having this problem or come across this before? Am I doing something wrong?

  2. #2
    Junior Member
    Join Date
    Jan 2010
    Posts
    76

    Default

    rename to bt4-pre-final.iso
    also
    wget w w w.offensive-security.com/bt4-customise.sh

    mkdir BUILD

    mv bt4-pre-final.iso bt4-customise.sh BUILD/

    cd BUILD/

    pwd

    ls -l

    chmod 755 bt4-customise.sh

    ./bt4-customise.sh

    apt-get update

    apt-get upgrade

    apt-get install -d linux-image

    cd /var/cache/apt/archives/

    dpkg -i –force all linux-image-2.6.30.5_2.6.30.5-10.00.Custom_i386.deb

    apt-get install compiz compiz-fusion-plugins-extra compiz-fusion-plugins-unsupported simple-ccsm fusion-icon

    apt-get install madwifi-drivers

    apt-get install r8187-drivers

    apt-get install brasero

    apt-get install gimp

    apt-get install kaffeine

    apt-get install kget

    apt-get install ntp

    apt-get install ktorrent

    apt-get install ecryptfs-utils

    ===============================================

    Why should you install all kinds of new unneccary software???

    nano /etc/rc.local

    and add the following line

    su root -c startx
    exit 0

    And your done

    ===============================================

    update-rc.d wicd defaults

    /etc/init.d/wicd start

    ===============================================

    update-menus

    apt-get clean

    exit
    before i do the exit part i go to BUILD/edit/

    and make more changes to my personal iso

    buena suerte la necesitaras

    o ps

    do some one knows how to mount an iso from any other part of my hard disk

    i know this
    mount -o loop -t iso9660 yourcd.iso /mnt/iso
    but any chance i run it from any of my media?

  3. #3
    Just burned his ISO
    Join Date
    Nov 2009
    Posts
    5

    Unhappy

    Just got out of solitary confinement a.k.a (3 days in newbie area)

    I'm having the same problem.

    The BT4 iso is correctly named and both it and the .sh are in
    /home/me/BackTrackBuild/

    The .sh at first didn't run at all and just gave a lot of errors and what looked like CSS code.

    now it runs all the way through and makes the bt4-mod.iso and a bunch of files without letting me customize the image....

    output:

    bigb****ax@C***r-Co***ux:~/BackTrackBuild$ sudo chmod 755 bt4-customise.sh
    bigb****ax@C***r-Co***ux:~/BackTrackBuild$ sudo ./bt4-customise.sh
    ################################################## ############[*] BackTrack 4 (pre)Final customisation script [*] Setting up the build environment...
    mount: wrong fs type, bad option, bad superblock on /dev/loop1,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    [*] Copying over files, please wait ...
    cp: cannot stat `squashfs/*': No such file or directory
    cp: cannot create regular file `edit/etc/': Is a directory
    cp: cannot create regular file `edit/etc/': Is a directory
    cp: cannot create regular file `edit/etc/': Is a directory
    cp: cannot create regular file `edit/etc/': Is a directory
    mount: mount point edit/dev does not exist
    mount: mount point edit/proc does not exist
    ################################################## ############[*] Entering livecd.
    ################################################## ############[*] Now you can modify the LiveCD. At minimum, we recommend : [*] apt-get update && apt-get upgrade & apt-get clean
    ################################################## ############[*] If you are running a large update, you might need to stop [*] services like crond, udev, cups, etc in the chroot [*] services like crond, udev, cups, etc in the chroot [*] before exiting your chroot environment.
    ################################################## ############[*] Once you have finished your modifications, type "exit"
    ################################################## ############
    chroot: cannot run command `/bin/bash': No such file or directory[*] Exited the build environemnt, unmounting images.
    umount: edit/dev: not found
    umount: edit/proc: not found
    umount: squashfs: not mounted[*] Building manifest
    chroot: cannot run command `dpkg-query': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory
    chroot: cannot run command `update-rc.d': No such file or directory[*] Building squashfs image...
    ./bt4-customise.sh: line 79: mksquashfs: command not found[*] Creating iso ...
    I: -input-charset not specified, using utf-8 (detected in locale settings)
    Size of boot image is 4 sectors -> No emulation
    37.75% done, estimate finish Sun Nov 29 10:44:38 2009
    75.31% done, estimate finish Sun Nov 29 10:44:38 2009
    Total translation table size: 2048
    Total rockridge attributes bytes: 1901
    Total directory bytes: 6144
    Path table size(bytes): 48
    Max brk space used 0
    13281 extents written (25 MB)[*] Your modified BT4 is in /home/bi******ax/BackTrackBuild/bt4-mod.iso
    ################################################## ############
    See? It gets errors and doesn't let me edit....
    *Wishing I was a guru and knew what to do...*

    The main difference between the video tutorial and my computer is I'm running KUbuntu and [muts] is using BT4 in the video.....

    Any and all help/input/suggestions are appreciated...

Posting Permissions

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