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: Boot Options, How to pre-select< Next Oldest | Next Newest >
zmsc1 Offline





Group: Members
Posts: 7
Joined: June 2006
Posted: Mar. 13 2007,09:01 QUOTE

Each time I boot DSL, I enter the boot options TORAM and lang=uk. When I'm re-mastering, what do I need to change to have these options selected by default?

TIA
Stuart
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 13 2007,15:15 QUOTE

You got to change the boot scripts. Atleast the lang part is in /etc/init.d/knoppix-autoconfig
And the whole lang part is something like this:

getbootparam lang
case lang
be)
belgian setup
de)
german setup
...
...
*)
us setup
esac

and so on..
You'll need to remove everything from the language section except lang=uk part, including the getbootparam call and the case/esac.

so that everything left in the language part of the script is something like
LANG="uk_GB"
...insert other UK lang stuff here...
export LANG TZ ....


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





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 13 2007,15:52 QUOTE

You don't need to change the scripts to change the default boot options. If you make an error while editing, you could render the system unuseable. Of course you could still break things when changing the bootloader's config, but I'd say it's easier to fix that then to fix a broken script.

The CD's bootloader config is boot/isolinux/isolinux.cfg


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
2 replies since Mar. 13 2007,09:01 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Boot Options

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