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: (4) </ [1] 2 3 4 >/

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

reply to topic new topic new poll
Topic: How to make DSL smaller?, Is this also ReMastering?< Next Oldest | Next Newest >
QmQ Offline





Group: Members
Posts: 17
Joined: May 2005
Posted: May 05 2005,17:07 QUOTE

Hello everyone :)

Firstly (as this is my first post) I'd like to say hi ("Hi.") ;) and say that DSL's a superb tool, or whatever to call it.


Now, to the point.

I'd like to make my own 'version' of DSL, but not just to add .DSL packages to the current version, but to remove a few I don't need and add a few I desire :)
Is this called REMASTERING?

If so please just tell me and I shall read through that 36 pages long topic and this one can be deleted.

If however what I want is not remastering, then please tell me if it can be done. (and how would be nice too ;) )


Thanks for help.

Regards,
QmQ


--------------
--=[ QmQ ]=--
Back to top
Profile PM 
QmQ Offline





Group: Members
Posts: 17
Joined: May 2005
Posted: May 05 2005,17:24 QUOTE

Thanks :)

I'm under DSL now (LiveCD) and I have no idea how to mount my USB pendrive so I could write the image there...
Could you help me? :)


--------------
--=[ QmQ ]=--
Back to top
Profile PM 
friedgold Offline





Group: Members
Posts: 122
Joined: Mar. 2005
Posted: May 05 2005,17:34 QUOTE

When it comes down to it remastering DSL is basically just

-Extract files from KNOPPIX image (easiest to do from within DSL since the image is already mounted)
-Make you changes to these files
-Recreate the KNOPPIX image
-Remake the .iso and burn to cd

The big remastering thread / this page has lots of info on remastering DSL

The easiest way to make your changes is to chroot into the directory you've extracted the files to. Once you've done this you could re-enable apt-get and use that to remove some stuff. Since not everything in DSL is a debian package some programs will need to removed manually

I found some useful info on the Knoppix Remastering Howto (remastering knoppix is pretty much the same as remastering DSL)

So you could do something like

Extract files from KNOPPIX image (see The remastering thread / this page)

chroot /path/to/files/
mount -t proc /proc proc
dpkg-restore
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n Shows packages sorted by size
apt-get remove --purge <name-of-package-to-remove> Remove stuff
deborphan Show any orphaned packages
deborphan | xargs apt-get -y remove Remove orphaned packages
apt-get clean Clear out apt-get cache
rm <other stuff to remove here>
umount /proc
exit

Then recreate the KNOPPIX image, make your DSL iso, and burn your DSL cd (again see the remastering thread / this page)

One draw back of this method is apt-get is enabled which takes up additional space. It probably possible to remove apt manually after its been restored, but I wouldn't know which files to delete
Back to top
Profile PM 
friedgold Offline





Group: Members
Posts: 122
Joined: Mar. 2005
Posted: May 05 2005,17:46 QUOTE

Quote (QmQ @ May 05 2005,13:24)
Thanks :)

I'm under DSL now (LiveCD) and I have no idea how to mount my USB pendrive so I could write the image there...
Could you help me? :)

To mount your pendrive try opening emelfm and going to /mnt. You should see something like sda/sdb/sdc/sdd indicating your usb drive. Simply right click on it and choose mount
Back to top
Profile PM 
QmQ Offline





Group: Members
Posts: 17
Joined: May 2005
Posted: May 05 2005,17:48 QUOTE

Yes, thanks, I've just managed a second before I saw this reply :)
Though I had to restart the computer with the USB drive for DSL to see it.

I'll now try to make my own DSL :D

Another question:
How to change the refresh rate?! This 60Hz is killing my eyes! :P


EDIT
Yet another one:

The mount proc part doesn't want to work...
It says that the mount point proc doesn't exist.
Am I doing something wrong? :P


--------------
--=[ QmQ ]=--
Back to top
Profile PM 
18 replies since May 05 2005,17:07 < Next Oldest | Next Newest >

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

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: How to make DSL smaller?

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