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
 

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

reply to topic new topic new poll
Topic: refactoring motd, changes not working?< Next Oldest | Next Newest >
colinbes Offline





Group: Members
Posts: 41
Joined: May 2004
Posted: Oct. 20 2006,02:19 QUOTE

Must be doing something wrong but it totally escapes me.

I am wanting to add some additional text to mtod message on DSL startup (additional waver etc) so decided to try hand at refactoring.

I have a small dev system consisting of embedded pc with frugal install on hard disk and compact flash (also frugal install) and am able to boot with either of these.

I booted from hard disk and copied contents of /KNOPPIX/* to source directory on spare partition on hard disk. I then created new compressed KNOPPIX using
mkisofs -R source | create_compressed_fs – 65536 > newcd/KNOPPIX/KNOPPIX

I then mounted my cf cards hdc1 partition and replaced /KNOPPIX/KNOPPIX with this new custom compressed image file.

But during boot the original motd still comes up and when viewing /etc/motd I still see original file and not my modified file.

Any ideas/suggestions as I am sure this should work but am obviously not seeing the wood for the trees.

Colin
Back to top
Profile PM 
colinbes Offline





Group: Members
Posts: 41
Joined: May 2004
Posted: Oct. 23 2006,00:16 QUOTE

I found two motd's. One under /KNOPPIX/KNOPPIX compressed file and one under startup filesystem minirt24.gz

Updating one in minirt24.gz solved the problem and I now have my additional waver.
Back to top
Profile PM 
1 replies since Oct. 20 2006,02:19 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: refactoring motd

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