View Single Post
  #16 (permalink)  
Old 03-16-2006, 07:54 PM
xatar xatar is offline
Senior Member
 
Join Date: Feb 2006
Location: Edinburgh, Scotland.
Posts: 185
Default remastering CD files.

I've been playing around with changing the CD files and remastering the ISO image.


Here's what I've got already...





Reboot a machine with BackTrack. Make sure that is has a writable drive with about 700MB of free space.

Log in as root, open a bash prompt and mount your writable drive.

mount /dev/hda1 /mnt/hda1

Create a directory in the mounted drive to hold all of the CD's contents.

mkdir /mnt/hda1/newiso

Check the following path, if it does not match exactly, alter it.

/mnt/live/mnt/hdb/*

It could be:

/mnt/live/mnt/hdc/*

Then copy the CD into the newiso directory.

cp -ra /mnt/live/mnt/hdc/* /mnt/hda1/newiso

(depending on the path above!)

This will take a couple of minutes.

cd /mnt/hda1/newiso/base



To autostart leetmode and yakuake:

cd /mnt/hda1/newiso/base

mkdir temproot

mo2dir root.mo temproot

cd temproot/root/.kde/Autostart

ln -s /usr/bin/leetmode leetmode
ln -s /opt/kde/bin/yakuake yakuake

cd /mnt/hda1/newiso/base/temproot

dir2mo root root.mo

cp root.mo /mnt/hda1/newiso/base/

Don't forget to remove the temproot directory and all of it's contents!

cd /mnt/hda1/newiso/base
rm -r temproot



To make the ISO image again.

cd /mnt/hda1/newiso

./make_iso.sh /mnt/hda1/newbacktrack.iso




Now you should have a new .iso file in /mnt/hda1. If you burn that to a CD AS AN ISO IMAGE! you should have the above changes all configured for you.

Do not try to change the inittab file as it screws up the boot process! Take my word for it







Although I am having problems with the new ISO image, it will not boot properly and crashes, then reboots.

Any help would be appreciated.

many thanks,
__________________
Xatar

000xatar000
Give a man a fire, and he'll be warm for a day. Set the man on fire, and he'll be warm for the rest of his life.

They did give a million monkeys a million typewriters, it's called the internet.
Reply With Quote