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

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

reply to topic new topic new poll
Topic: How to...make a 'autoexec.bat'?< Next Oldest | Next Newest >
gui Offline





Group: Members
Posts: 83
Joined: Mar. 2004
Posted: Aug. 13 2004,13:08 QUOTE

I mean: I have DSL image at /dev/hda5 and mydsl applications and backup.tar.gz in /dev/hda1
I load from diskette and every time I want boot I must type
dsl vga=normal mydsl=.....etc etc etc
Is any kind of script or so that I can put into the floppy so I avoid typing dsl etc etc?
It'd be great!!!


--------------
Gui
------
Back to top
Profile PM 
optixz
Unregistered






Posted: Aug. 13 2004,15:22 QUOTE

Sounds like you are running a frugal install and booting from Floppy Drive.

You might want to take the latest Boot CD and do a brand new frugal install and answer the prompts.  It will ask for you to set your default restore and mydsl partitions etc.  Answer them according to your partitions (hda1 from your post) and just boot from HD instead of Floppy.

Once you boot into DSL and setup x through the script, just run the save setting script.  Next time you boot, you won't have to answer any prompts and any changes you have made to your profile would have been saved.  Make sure to add any files you want kept save in filetools.lst

If you'd like more detailed instructions I can do so.

Oh, most of the command line stuff is loaded when Lilo loads.  You might want to look at lilo.conf for manual editing if that's all that you want.
Back to top
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Aug. 13 2004,15:58 QUOTE

The boot command file is located on you boot floppy.

It is called SYSLINUX.CFG

You can edit it in Linux (as long as you are not already booting from floppy while you are making your changes) with Scite or nano.

You can edit it in MS Windows ™ by using Wordpad.  Don't use Notepad or it will get confused with the linux text formatting.

Add your custom settings to the line that starts with "APPEND" that directly follows the "DEFAULT vmlinuz" line.

Hope this helps.
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Aug. 13 2004,18:25 QUOTE

If you have a harddrive install you can create an alias in /root/.bashrc

just add a line like alias llm='ls -lah | less'

then all you have to do is type the command llm and it will do whats inside the '  '

Oh you have to enter the command in the .bashrc file to make it permanent, but you also have to enter it in the shell to make it active without having to reboot

-edit- oops....you were talking about boot..sorry

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
gui Offline





Group: Members
Posts: 83
Joined: Mar. 2004
Posted: Aug. 13 2004,18:50 QUOTE

Quote (cbagger01 @ Aug. 13 2004,11:58)
The boot command file is located on you boot floppy.

It is called SYSLINUX.CFG

You can edit it in Linux (as long as you are not already booting from floppy while you are making your changes) with Scite or nano.

You can edit it in MS Windows ™ by using Wordpad.  Don't use Notepad or it will get confused with the linux text formatting.

Add your custom settings to the line that starts with "APPEND" that directly follows the "DEFAULT vmlinuz" line.

Hope this helps.

Sounds easy as soon as I return home I'll try it
TKS!


--------------
Gui
------
Back to top
Profile PM 
7 replies since Aug. 13 2004,13:08 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: How to...make a 'autoexec.bat'?

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