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: Cheat Codes in a Text File, Cheat code suggestion< Next Oldest | Next Newest >
fodder Offline





Group: Members
Posts: 28
Joined: June 2006
Posted: June 13 2006,18:09 QUOTE

I'm fairly new to DSL so it's very possible that this has been discussed (although I did a forum search and it came up empty) so please excuse me if I'm repeating someone.

My suggestion is to add a simple text file placed in the / directory of any boot device (USB, LiveCD, HD, etc.) that would contain the boot up cheat codes.  DSL would simply look for the existance of that file and boot off those codes if nothing was manually typed in at the boot up screen.

This would eliminate having to remaster a USB thumbdrive or CD each time you want to make any changes.  You could simply edit that text file.

Thoughts?
Back to top
Profile PM 
cmanb Offline





Group: Members
Posts: 95
Joined: Dec. 2005
Posted: June 14 2006,01:47 QUOTE

Well, if you're using qemu to boot embedded, then you can save your favorite cheatcodes in the "dsl-windows.bat" or the "dsl-linux.sh".

From a CD, though, I don't know.  I guess I'm content to type "dsl qemu frugal mydsl=harddisk restore=harddisk" each time.

Good idea though.


--------------
Heavens to Murgatroid!
Back to top
Profile PM AOL 
fodder Offline





Group: Members
Posts: 28
Joined: June 2006
Posted: June 14 2006,06:39 QUOTE

Quote (cmanb @ June 13 2006,21:47)
I guess I'm content to type "dsl qemu frugal mydsl=harddisk restore=harddisk" each time.

The main thing for me is changing setups...I have a fileserver that I like to run on it's own - no mouse, keyboard, or monitor.  (It runs SSH and a VNC client at boot up for external access.)
However, I just added some memory so now I can run DSL "toram".  Unfortunately, that requires the remaster.   :D

One cool thing I just discovered is that after burning the DSL image to a CD-R, you can still add mydsl files and add or replace an old backup file as a multisession burn.  That's what made me think of the cheat code text file - because you can replace existing files, sort of like upgrading firmware.  :)
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 14 2006,07:08 QUOTE

Quote
My suggestion is to add a simple text file placed in the / directory of any boot device (USB, LiveCD, HD, etc.) that would contain the boot up cheat codes.

That kind of feature is only possible if
a) you simply set your computer to start from you hd (or floppy, or usb device) that contains bootloader that loads kernel from dsl cd and reads the boot commands from your hd.
b) (future?) dsl bootloader feature could first check your USB stick and hd for a text file containing boot cmds...

Hmm... and then wait if user wants to add his/her own boot cmds. If timeouts then uses the cmd from that file. If file doesn't exist then would use default from cd.


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
rm101520271 Offline





Group: Members
Posts: 2
Joined: June 2006
Posted: June 29 2006,23:57 QUOTE

Just a thought,

There is a file in the root directory of whatever you boot from called syslinux.cfg

If you edit it either in DSL or on another machine, the second line (which starts APPEND) contains all of the cheat codes passed by default if you don't press anthing, there is a timeout there as well which you could reduce a bit if you wanted.

If you added or substiuted your cheat codes in there, it would do what I think you are suggesting.

Just a word of warning though, if you reduce the timeout too much or set some silly cheat codes, you could make DSL not load so don't mess around too much if you couldn't change it back again on another machine easily!

Enjoy!
Back to top
Profile PM 
16 replies since June 13 2006,18:09 < 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: Cheat Codes in a Text File

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