LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

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


Hello

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
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
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
lemuel
Member
 
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
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
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
--Ian
 
Old 12-07-2004, 09:34 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,111

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
"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.
 
  


Reply


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


All times are GMT -5. The time now is 11:35 AM.

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