Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-07-2004, 05:30 PM   #1
Registered: Nov 2003
Location: Cebu, Philippines
Distribution: Ubuntu
Posts: 73

Rep: Reputation: 15
What is the autoexec.bat and config.sys equivalent of linux


I'm wanted to tweak the way my system boots up. in windows I usually just edit the config.sys and autoexec.bat. But how do I do it in Linux?
Old 12-07-2004, 05:37 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
autoexec.bat was fine on a single user crap system, but the concept of what it does breaks down on a true multi-user system. what are you trying t achieve? services get started though links in /etc/rc5.d and there are LOADS f places for automatic scritps to run, each suited to a different scope. e.g. /etc/rc.local is run at the end of bootup. ~/.bashrc is run each time you personally log on etc...
Old 12-07-2004, 05:45 PM   #3
Registered: Nov 2003
Location: Cebu, Philippines
Distribution: Ubuntu
Posts: 73

Original Poster
Rep: Reputation: 15
well actually my real problem is that everytime I boot, the system checks my eth0 and displays [failed], then It crashes afterwards. so what i usually do is I press the "I" key during bootup and bypass the eth0 check.

I wanted to remove that part of the bootup so I don't have to press "I" everytime I go to linux
Old 12-07-2004, 09:34 PM   #4
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
In Mandrake, there should be a section in the Control Centre that allows you to change the services at startup. I think the service that checks eth0 would be network or something. Have a look and see what you can find.

I hope this helps
Old 12-07-2004, 09:34 PM   #5
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
"chkconfig network off" (no quotes) should do the trick. The better way, though, is probably to disable the interface on boot. To do so in Red Hat/Fedora, go to /etc/sysconfig/network-scripts, find the eth0 script and set ONBOOT to no. I'm not sure if it's in the same place in Mandrake, but as MDK is RH based, it may be. It's been again since I've used Mandrake, though, sorry.

A google on this and for "linux boot process" ought to help. The system initialization is more complicated and much more customizable than what you're used to in Windows.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there an equivalent of autoexec.bat in debian? Akhran Debian 5 09-13-2005 05:58 PM
Win-Lin equivilants (regkeys, autoexec.bat, config,sys) carl0ski Linux From Scratch 1 02-15-2005 08:19 AM
Linux Startup - AutoExec.bat equivalent? perry Linux - Software 6 05-03-2004 11:13 PM
Autoexec.bat in Linux? sikandar Linux - Software 10 08-31-2003 12:30 PM
Autoexec.bat Equivalent dwpondscum Linux - Distributions 5 06-16-2003 09:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration