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,08:42 QUOTE

This is a continuation of http://damnsmalllinux.org/cgi-bin....t=19919
I think this would be a much better place for this.
I had actualy opened the  hacking DSL Wiki page a number of times, but got busy and never actualy read it  'till Sunday.  This was truly the info I needed.  I am posting from a rudimentery hack of ff2, gnu utils, amsn, and a couple of other thing and their dependencies.  I have begun automatiing the hack process, but not the least bit user friendly and specific to the box I am hacking on right now.  There were some errors/invalid characters on the wiki page.  I am posting w/ cheat codes of:
base norestore
and it seems to be a live cd duplicate of my frugal install w/out the mydsl directory or backup present. And all of my custom configurations.
I am just half in heaven right now.  This is going almost right back to my roots on puters, the Apple II series, 2 diget hex characters that  were the commands to the processor.
Is there any interest in expanding mkmydsl into an automated hack instead/in addition to?
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?)
web browsing in toram is gastly fast compared to the competition.
Thanks so much everyone,
Your all the greatest


--------------
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 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: April 09 2008,10:02 QUOTE

Just brainstorming:
"mkisofs" can be used to dump a custom "KNOPPIX" file to RAM?
Maybe with the "-m" or "-exclude-list" options?
"man mkisofs":
Quote
-m
glob
Exclude files matching glob, a shell wildcard pattern, from being written to CD-ROM. glob may match either the filename component or the full path-name. This option may be used multiple times.
For example:
genisoimage -o rom -m '*.o' -m core -m foobar
would exclude all files ending in `.o', or called core or foobar from  the image. Note that if you had a directory called foobar, it too (and of course all its descendants) would be excluded.

-exclude-list file
A file containing a list of shell wildcards to be excluded. See -m.

Perhaps it could be used with existing boot options.
e.g.
"nofw", "nopcmcia", "noscsi", "nousb".
Problem: User won't be able to manually load the modules afterwards (since they will not be present).

Perhaps there should be a boot option added to disable this behaviour if the user doesn't want it.
"newtoram"? "oldtoram"?
Back to top
Profile PM 
spark-o-matic Offline





Group: Members
Posts: 68
Joined: Jan. 2008
Posted: April 09 2008,15:31 QUOTE

I was thinking that anything to do with Hotplug would need to stay, but I would not expect isa or pci cards to be inserted without powering down first.

--------------
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 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 09 2008,17:51 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.

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).

On a side note, I'm finding the blue text a bit harder to read than the regular black text :P
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: April 09 2008,18:02 QUOTE

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

--------------
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 
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