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

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

reply to topic new topic new poll
Topic: Hacking DSL, continuing topic from other help topics< Next Oldest | Next Newest >
spark-o-matic Offline





Group: Members
Posts: 68
Joined: Jan. 2008
Posted: April 09 2008,18:53 QUOTE

Quote
Quote
Is there any interest in expanding mkmydsl into an automated hack instead/in addition to?
If I'm interpreting this correctly, you want a dsl base image remastering script?  I think there are some user made ones floating around.  iirc those and the mkmydsl script has always been separated, since I suppose it is considered more advanced, take up more resources, and that mkmydsl was meant to do what it does specifically.
As far as extracting KNOPPIX then creating a new compressed image, placing it on a partition for a grub boot and/or burning to cd-r/cd-rw,i have that fully automated and it seems pretty reliable other then not giving any options without changing code.  I need to go back and use variables instead.
What is giving me fits is tracking down every file that is different while excluding things such as /proc/* which would be expected to change constantly.  I think my next logical step is to hack mydsl-install and the backup to place the files in the directory I have extracted KNOPPIX to instead
.  
Quote
Quote
One other thought crosses my mind regardiing toram.  KNOPPIX contaiins drivers to everything supported.  After hardware detection and the required drivers become active but before mydsl's are installed or backup, purdge the unused drivers.  I think this would free up memory that could be uses for something else and be well worth a longer startup tiime (but how long would it really take to remove files from physical memory?)
s_i has a good idea, but I think this would take up too much time (and doesn't toram copy the image before it loads the drivers, etc?).  So unless you really need save a few MB's in memory, a better way may be to cut the modules out from KNOPPIX, and just leave the ones you need (or even use the DSL modules loading feature).

I guess I didn't catch that removing files from a compressed image is not strait forward.  But perhaps as a portion of a hack frugal install.  I would expect that a frugal or hd install would normaly reside only on that computer.  
Quote
If you already boot toram, a saving of 2-3MB is not really worth mentioning to me..
I did not realize That hey took up that little space.
But I think that expanding on this idea would fall with in what I believe is the basic concept of DSL and DSL-N, not falling subject to the 'bloat' that is so typical.  An ease of removing those portions which would be useless to the EU and replacing them with useful things.


--------------
The smartest person is not the person who knows the most.  
The smartest person is the one who knows which book to look in.
Community knowledge can be the sum of it's knowledge or the sum of it's ignorance
The Definition of a 'Brain Fart':
When something comes out of my brain that Stinks!
Back to top
Profile PM WEB 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: April 09 2008,19:00 QUOTE

Quote
If you already boot toram, a saving of 2-3MB is not really worth mentioning to me.

No, because you're not half in heaven reminiscing about an Apple ][ with 16kb of RAM. Heh.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: April 10 2008,13:02 QUOTE

I've never owned a mac :;):

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
spark-o-matic Offline





Group: Members
Posts: 68
Joined: Jan. 2008
Posted: April 12 2008,05:18 QUOTE

Just a bit of an update.  I have the dsl knoppix image extracted to one directory and have hacked mydsl-load and mydsl-install so they place the files in another directory.  I then merge the two to a third directory and create the compressed  image.  I tryed using the -M option with mkisofs to merge the extentions with an iso on the hard drive of the base dsl, but it insists on also having the -C option which would be given by cdrecord to merge with a mutisession cd.  I am testing on a grub boot using the suggestion of different names for knoppix, so I can boot grub to the hack version then reboot into the stock dsl, extensions and optionals.

One thing I think might be helpful would be numbered (or descriptive name) for mydsl directory and backups as a cheat code.  say restorename=web or restorename=2 with it grabbing a restore file of backup_xxx.tar.gz and mydsl_xxx directory.  Thus the same computer could serve many different functions.  A home office by day and entertainment in the evening.  Or several mkmydsl cd's could each call their own backup.  But that maybe should be in the wish list other I may do it soon to make working on multiple hacks easier.
And this may belong more as a bug report, I noticed the code requiring being user dsl to install extensons is commented out.  Is this intentional?

Quote
curaga Posted on April 09 2008,11:02
If you already boot toram, a saving of 2-3MB is not really worth mentioning to me..
Quote
No, because you're not half in heaven reminiscing about an Apple ][ with 16kb of RAM. Heh.
Having focused on developing software intended to run on web-servers for almost a decade, I may take a different outlook then developing for a desktop.  Something requiring 1% of system resources may seem insignificant, but multiply this buy 100 people accessing it at the same time.  Although I don't intend anything to run on a 7mhz 8 bit processor w/ 16k ram any more,  I try keep in mind that there were a lot of  very useful and fun things that ran well.  The rule of thumb, as I learned it.  If a web page does not load within 10 seconds or returns any errors, the person will give up and go some place else.

EDIT: changed my color back to the default black (hopefully) as per request..


--------------
The smartest person is not the person who knows the most.  
The smartest person is the one who knows which book to look in.
Community knowledge can be the sum of it's knowledge or the sum of it's ignorance
The Definition of a 'Brain Fart':
When something comes out of my brain that Stinks!
Back to top
Profile PM WEB 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: April 12 2008,13:26 QUOTE

Quote
One thing I think might be helpful would be numbered (or descriptive name) for mydsl directory and backups as a cheat code.

Nobody reads the documentation. Already available. You can name your mydsl directory whatever you want, put it wherever you want.
http://www.damnsmalllinux.org/wiki/index.php/Cheat_Codes

PS: Thanks for changing your text color to something that doesn't make my ancient eyes scream.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
13 replies since April 09 2008,08:42 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Hacking 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