LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 01: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, 01:32 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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, 01:36 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
As of version 3 it changed from knoppix to slax as the parent distribution.
http://en.wikipedia.org/wiki/BackTrack
 
Old 08-22-2009, 03: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, 03:47 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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



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 01:10 PM
Trying to convert VMWare image to raw using Qemu: error - "image open" JamesHall Linux - Software 1 07-22-2008 04:59 AM
How do you create shortcuts to "folders" and "binaries" in GNOME? ebenh Linux - Desktop 5 01-21-2008 05:28 AM
Looking to create a custom "frugal" install beefjerkymonster Linux - General 2 12-30-2007 11:20 PM
"cannot exec `as': ..." AND "C compiler cannot create ..." pr3st0 Linux - Software 0 10-15-2004 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 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
Open Source Consulting | Domain Registration