LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-22-2009, 02:21 PM   #1
sl33p
Member
 
Registered: Dec 2008
Location: Tahiti
Distribution: Kali Linux
Posts: 42

Rep: Reputation: 17
Can I create a custom "Backtrack" image?


Hi all!

I have an image file of the Backtrack 3 distro on my hard drive:
Quote:
bt3-final.iso
Although, it doesn't ship with an application I use in a daily base (say 'custom_app'). Is it possible to unmount (extract) the original image like this:

Code:
mount -o loop -t iso9660 bt3-final.iso /mnt/iso
then, to add my 'custom_app' inside /mnt/iso/backtrack_ummounted/bin and wrap it into a backtrack-custom.iso again??

What would be the command for that, and would my PC boot up correctly?
It's time consuming to copy this app every time from my flash drive. :/

Thanks in advance!
sl33p
 
Old 08-22-2009, 02:32 PM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
yea
but, you gotta decompress the filesystem
does bt3 use squashfs, cloop or what?

is bt3 based off slax or which?
 
Old 08-22-2009, 02:36 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
As of version 3 it changed from knoppix to slax as the parent distribution.
http://en.wikipedia.org/wiki/BackTrack
 
Old 08-22-2009, 04:18 PM   #4
sl33p
Member
 
Registered: Dec 2008
Location: Tahiti
Distribution: Kali Linux
Posts: 42

Original Poster
Rep: Reputation: 17
Exclamation

Quote:
Originally Posted by linus72 View Post
yea
but, you gotta decompress the filesystem
does bt3 use squashfs, cloop or what?

is bt3 based off slax or which?
Right, I kinda understood what u said
Let me see if I'm getting it.

I ran the command above:

Quote:
mount -o loop -t iso9660 bt3-final.iso /mnt/iso
The result: only 2 folders extracted called /mnt/iso/BT3 and /iso/mnt/boot.
Particularly, inside /mnt/iso/BT3/base there are some .lzm files named bin.lzm, changes.lzm, usr.lzm, etc.lzm, home.lzm, etc.

So, I'm thinking the .iso was only partially decompressed and I need to decompress those .lzm so I can see the final filesystem format as it should be (considering Linux Filesystem Hierarchy: /bin, /usr, /etc and so on...).

So, how can I do that?

Ow, and Slack uses squashfs, cause when I issued dmesg I could see an input that says:

* loading squashfs utilities.

Hope to be getting close to my answer.

Thanks
 
Old 08-22-2009, 04:47 PM   #5
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
use the tools provided in linux live scripts
I believe bt3 was made using lls
http://www.linux-live.org/

you gotta use the lzm2dir (lzm 2 directory)
to decompress the .lzm's

and dir2lzm to sew them back up

thers lots of goodies in there
 
  


Reply

Tags
backtrack, custom, image


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a custom "Backtrack " sl33p Linux - Software 1 08-22-2009 02:10 PM
Trying to convert VMWare image to raw using Qemu: error - "image open" JamesHall Linux - Software 1 07-22-2008 05:59 AM
How do you create shortcuts to "folders" and "binaries" in GNOME? ebenh Linux - Desktop 5 01-21-2008 06:28 AM
Looking to create a custom "frugal" install beefjerkymonster Linux - General 2 12-31-2007 12:20 AM
"cannot exec `as': ..." AND "C compiler cannot create ..." pr3st0 Linux - Software 0 10-15-2004 01:42 PM


All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration