Results 1 to 4 of 4

Thread: bt4-customise script?

Hybrid View

  1. #1
    Member Mr-Protocol's Avatar
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    142

    Default bt4-customise script?

    Has anyone tried running the bt4-customise.sh from the how-to section on the bt4 final iso?

    I booted my updated BT4 install on my laptop. Downloaded the script and ISO for bt4 final and when I ran the script it threw a LOT of errors in the terminal.

    Leaders in Online Information Security Training » Customising BackTrack Live CD the Easy Way

  2. #2
    Developer muts's Avatar
    Join Date
    Jan 2006
    Posts
    272

    Default Re: bt4-customise script?

    umm...what errors? How can we help if we dont know what the problem is ?

  3. #3
    Member Mr-Protocol's Avatar
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    142

    Default Re: bt4-customise script?

    I have bt4 updated and installed on my laptop. I downloaded the iso and renamed to bt4.iso and followed along with the video and this was the outcome.

    Code:
    root@bt:~/BUILD# ./bt4-customise.sh
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    ##############################################################[*] BackTrack 4 (pre)Final customisation script[*] Setting up the build environment...
    bt4-pre-final.iso: No such file or directory
    mnt/casper/filesystem.squashfs: No such file or directory[*] 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
    umount: mnt: not mounted
    chmod: cannot access `extract-cd/casper/filesystem.manifest': No such file or directory[*] Building manifest
    ./bt4-customise.sh: line 60: extract-cd/casper/filesystem.manifest: 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
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory
    cp: cannot stat `extract-cd/casper/filesystem.manifest': No such file or directory
    sed: can't read extract-cd/casper/filesystem.manifest-desktop: No such file or directory[*] Building squashfs image...
    Could not create destination file: No such file or directory[*] Creating iso ...
    I: -input-charset not specified, using utf-8 (detected in locale settings)
    genisoimage: Uh oh, I cant find the boot image 'boot/grub/stage2_eltorito' ![*] Your modified BT4 is in /root/BUILD/bt4-mod.iso
    ##############################################################
    root@bt:~/BUILD#

    Ok I think I see in posting this. It's looking for the pre final name which I missed due to massive scrolling in terminal.
    bt4-pre-final.iso: No such file or directory

    Works a hell of a lot better after changing it to the right file name sorry for the confusion.
    Last edited by Mr-Protocol; 01-25-2010 at 01:51 AM.

  4. #4
    Just burned his ISO
    Join Date
    Jan 2010
    Location
    CN
    Posts
    2

    Default Re: bt4-customise script?

    you should modify ./bt4-customise.sh,set btisoname=bt4.iso

Similar Threads

  1. Shell script
    By bbakker in forum Beginners Forum
    Replies: 1
    Last Post: 01-24-2010, 01:02 AM
  2. Replies: 6
    Last Post: 01-23-2010, 01:07 AM

Posting Permissions

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