Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (85) </ ... 3 4 5 6 7 [8] 9 10 11 12 13 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: ReMastering HOWTO for DSL, Also for newbies and other enthusiasts< Next Oldest | Next Newest >
jedi0473 Offline





Group: Members
Posts: 1
Joined: May 2004
Posted: May 18 2004,00:02 QUOTE

hi i would like to use the script that permits to create your own dsl but i dont have any idea bout where to
start, so please give some idea. where this script have to be placed and what do i have to change?

thank u
PS. send me a pm please

#!/bin/sh
. /etc/init.d/dsl-functions

echo
echo "${RED}Damn Small Linux ${WHITE}remaster ${BLUE}myDSL.${NORMAL}"
echo "${YELLOW}No responsibility for data loss or hardware damage!${NORMAL}"
echo " "
echo "You must have two working directories large enough to hold the image file,"
echo "and desired modules. You must also have a cdwriter installed."
echo
echo "If your boot CD and CD writer are the same device then you should"
echo "be running with the ${RED}toram${NORMAL} option."
echo
echo "Later you will be prompted to remove the DSL cdrom."
echo

# read source directory from user
echo -n "${CYAN}Enter the directory to hold image and modules.${WHITE}(EXAMPLE: ${YELLOW}/mnt/master): ${NORMAL}"
read SOURCE
if [ -z "$SOURCE" ] ; then
 echo "No directory chosen. The script will be terminated."
 exit 1
fi    
if [ ! -d $SOURCE ]; then
 echo "Directory not found. The script will be terminated."
 exit 1
fi

# read target directory from user
echo -n "${CYAN}Enter the directory to hold the new iso.${WHITE}(EXAMPLE: ${YELLOW}/mnt/iso/): ${NORMAL}"
read TARGET
if [ -z "$TARGET" ] ; then
 echo "No directory chosen. The script will be terminated."
 exit 1
fi    
if [ ! -d $TARGET ]; then
 echo "Directory not found. The script will be terminated."
 exit 1
fi

# read cdwriter address from user
echo -n "${CYAN}Enter the cdwriter address. ${WHITE}(EXAMPLE: ${YELLOW}0,0,0): ${NORMAL}"
read ADDRESS
if [ -z "$ADDRESS" ] ; then
 echo "No address chosen. Using 0,0,0"
 ADDRESS="0,0,0"
fi    

# read cdwriter speed from user
echo -n "${CYAN}Enter the cdwriter speed. ${WHITE}(EXAMPLE: ${YELLOW}4): ${NORMAL}"
read SPEED
if [ -z "$SPEED" ] ; then
 echo "No speed chosen. Using 4."
 SPEED="4"
fi    

echo "${BLUE}Copying DSL image for remastering...${NORMAL}"
cp -Rp /cdrom/* "$SOURCE"
sync;sync


echo "${RED}Now open another xterm or alternate console and "
echo "copy your desired modules to ${MAGENTA}$SOURCE. ${NORMAL}"
echo "When you are done, and ready to begin burning the CD,"
echo -n "remove the DSL cd and load blank CD then enter OK: "
read ans
if [ $ans != "OK" ]; then
 echo "User aborted script."
 exit 1
fi

echo "${BLUE}Buring mydsl cdrom...${NORMAL}"
mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o $TARGET/mydsl.iso $SOURCE
sync
sync
cdrecord -v speed=$SPEED dev=$ADDRESS -data $TARGET/mydsl.iso
if [ $? == 0 ]; then
 echo "${YELLOW}mydsl burn completed.${NORMAL}"
else
 echo "${RED}An error occured while trying to burn the CD.${NORMAL}"
fi[CODE]
Back to top
Profile PM MSN 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: May 20 2004,13:07 QUOTE

Frankly I don't understand the thought to use a script to make your own DSL cd. As I have explained beginning this topic there are two ways to remaster your own DSL cd. Either you can copy manually what you want to your target partition and then make an iso-image (this is the way I do it and it works great and fast around just 20 minutes and it's time to burn the new remaster). The other way is to chroot into the new environment and reinstall apt-get (i tried but as I'm stuck with a dial-up connection it's not a good option). So if a script would be better; please explain!

Have fun guys,
meo


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: May 27 2004,18:54 QUOTE

Why doing a remaster? Well I do it to add some nice themes for fluxbox that has become my favourites since the time of blackbox (like "deadtux" or newer "GreenEyes"). Just add the style-files in the /usr/share/fluxbox/styles directory. Choose where you want to put the backgrounds. I just create the /home/damnsmall/backgrounds directory and put them all there. Just remember to edit the style-file so it points to the directory where the backgrounds are. I have managed to add 11 new themes with backgrounds (from 150 k to up to almost 600 k each) and still fit on a businesscard-cd. The iso-file was 51.3 MB and I didn't think it would work, but it did. So now I'm all set with beautiful themes and the docs that are indispensable to me right on the dsl-cd. Wonderful (I think)!

Have fun guys,
meo


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
hasty Offline





Group: Members
Posts: 280
Joined: Oct. 2003
Posted: May 28 2004,07:02 QUOTE

I'm with jedixxx on this as I'm constantly tinkering with my setup, seeking the perfect iso :)

Would love to see a remastering script.(hate all that blasted typing)

Just get it setup the way you want & run the script to achieve perfection.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 28 2004,13:57 QUOTE

jedi0473,
The script that you posted is the mkmydsl script. It is not a full remastering script. It is intended to be run from the liveCD as an aide to making a myDSL custom cdrom.
For example if your computer has a bootable cd which also happens to be a cd burner and a hard drive. On the hard drive you have two directories, one called master, the other called iso. Then boot from liveCD like this:

boot: dsl 2 toram
# mount /mnt/hdb
# mkmydsl

It is very quick and easy to burn a cd with the myDSL extensions.

You can also have themes using myDSL, see the blue-curve myDSL extension in the download section.

A new version mkmydsl will be included with the 7.1 release.
Back to top
Profile PM WEB 
422 replies since April 14 2004,19:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (85) </ ... 3 4 5 6 7 [8] 9 10 11 12 13 ... >/
reply to topic new topic new poll
Quick Reply: ReMastering HOWTO for DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code