Where can i find inittab in Ubuntu Edgy Eft (or Feisty Fawn) ?

advertisement logo

 

I'm sure many of you might stumbled upon this problem when you discovered first hand that there is no /etc/inittab file on Ubuntu Edgy Eft or Feisty Fawn.

This is deliberate because Ubuntu do not use init anymore to manage its services during startup or shutdown of the system. Instead it uses 'upstart' as replacement for the traditional sysvinit utility that is common to Linux-based operating system.

All the things that you used to have in the /etc/inittab is ported to upstart's /etc/event.d/.

It might take some of time to get used to the way upstart manage things in your computer, For example, the settings for 'tty3' is located in '/etc/event.d/tty3' if you need to change it's parameter, and rc scripts on rc*.

Additionally You can use 'runlevel' command to determine which runlevel your computer is in.

Please refer to Upstart Project page if you're interested to know more about the project

Tags: , , , , , ,

Bookmark this article These icons link to social bookmarking sites where readers can share and discover new web pages.
  • digg
  • YahooMyWeb
  • NewsVine
  • Netvouz
  • Reddit
  • Spurl
  • Furl
  • del.icio.us
  • StumbleUpon
  • Technorati
  • TwitThis

Keep updated with this website! : Subscribe to your email

Recommended Reading

14 smashing comments for this post.

  1. EntreGeeks Said:

    Apple: Windows Vista не угроза для LeopardVista vulnerable to ‘Sticky Keys’ backdoorWindows Vista Cool New Features & API’s - Part II - You can run Vista in a Virtual PC on the same computer for free! Where can i find inittab in Ubuntu Edgy Eft (or Feisty Fawn) ?Francia migra a UbuntuSabayon Linux: CD-Live incorporado Beryl+GentooPando para LinuxBackTrack 2NVU mejor que FronPageReactOS 0.3.1 ReleasedJabbinOpenSuse 10.3 Hits Alpha 1#define me

  2. Upgrade K750i =>W810i Firmware « hardyweb:perjalanan hidupku™ Said:

    [...] Where can i find inittab in Ubuntu Edgy Eft (or Feisty Fawn) ? [...]

  3. Need script to run before X server at boot - Ubuntu Forums Said:

    [...] Re: Need script to run before X server at boot Thanks — I renamed my "S20fixvideo" script so that it had a number lower than "S13gdm", but that didn’t quite seem to work. I decided to figure out how this runlevel madness worked, and then came across a blog article that reminded me of Edgy’s use of upstart ( http://blog.mypapit.net/2007/03/wher…isty-fawn.html ) For anyone else that might happen along here from google, here is the configuration I put in /etc/event.d in a file called "fixvideo": Code: [...]

  4. wohin ist bitte /etc/inittab verschwunden - Thema anzeigen - ubuntuusers Said:

    [...] danke für den Tip mit upload - habe es gefunden - ist hier beschrieben: http://blog.mypapit.net/2007/03/where-can-i-find-inittab-in-ubuntu-edgy-eft-or-feisty-fawn.html irgendeine tty datei verändern - z.B: sudo nano /etc/event.d/tty6 # tty6 - getty # # This service maintains a getty on tty6 from the point the system is # started until it is shut down again. start on runlevel-2 start on runlevel-3 stop on runlevel-4 stop on runlevel-5 stop on shutdown respawn /sbin/rungetty tty6 -u root — iptraf -s eth0 -B Gruß kultex Neue Antwort erstellen Gehe zu Forum: Ältere BeiträgeAudio und VideoEdubuntuGNOMEHardwareInternetzugangKDELokalisierungMessen, LinuxUserGroups und AnwendertreffenNetzwerke, ServerProjekteRund um GNU/LinuxRund um ubuntuusers.deRund ums WikiScreenshots & ArtsShell und ProgrammierenSicherheitSoftwareSpieleStammtischSystemverwaltung, Installation, UpdateUnstableWindow Manager und 3D-DesktopsXFCE [...]

  5. Nabble - serial console on feisty server Said:

    [...] document.writeln(’Reply | ‘); Reply to Author if( Nabble.user == 164004 ) { document.writeln(’| Delete’); } | View Threaded | Show Only this Message I’m trying to get a serial console on a 7.04 server machine.  I’m starting from a clean install from the ubuntu-7.04-server-i386 CD. I’m fairly sure the kernel is configured for a serial console out of the box — or at least, I don’t know why else this would mean:     ~$ grep -i serial /boot/config-2.6.20-15-server | grep -i console     CONFIG_SERIAL_8250_CONSOLE=y     CONFIG_SERIAL_CORE_CONSOLE=y I used the http://www.howtoforge.com/setting_up_a_serial_console serial console howto, up until it said to edit /etc/inittab and I discovered that I had none.  A little googling on this led me to discover upstart, and per http://blog.mypapit.net/2007/03/where-can-i-find-inittab-in-ubuntu-edgy-eft-or-feisty-fawn.html I edited /etc/event.d/tty1 and tty2 instead of /etc/inittab. The net result of which is: in  /boot/grub/menu.lst, I inserted serial –unit=0 –speed=9600 –word=8 –parity=no –stop=1   terminal –timeout=10 serial console and appended console=tty0 console=ttyS0,9600n8 to the kernel line in each kernel stanza. And in /etc/event.d/tty1 and tty2 I changed 38400 to 9600. Then I re-booted the machine, which produced the following output to the serial console (this is from a conserver log; those of you familiar with conserver will recognize that I’ve cleaned up some line noise; I’ve also split up one long line using the usual backslash convention): Press any key to continue. Press any key to continue. Press any key to continue. Press any key to continue. Press any key to continue. Press any key to continue. Press `ESC’ to enter the menu… 2   Press `ESC’ to enter the menu… 1   Press `ESC’ to enter the menu… 0 Starting up … Loading, please wait… kinit: name_to_dev_t(/dev/mapper/uma-swap_1) = dm-1(254,1) kinit: trying to resume from /dev/mapper/uma-swap_1 kinit: No resume image, doing normal boot…  * Setting preliminary keymap…       [ OK ]  * Starting basic networking…       [ OK ]  * Starting kernel event manager…       [ OK ]  * Loading hardware drivers…      [   61.018584] EDAC e7xxx: error     reporting device not found:vendor 8086 device 0×2541 (broken BIOS?) [   61.172650] intel_rng: FWH not detected       [ OK ]  * Loading kernel modules…       * Loading manual drivers…       [ OK ]  * Checking root file system…      fsck 1.40-WIP (14-Nov-2006) /dev/mapper/uma-root: clean, 25729/121372672 files, 3963750/242715648 blocks       [ OK ]  * Setting up LVM Volume Groups…       [ OK ]  * Checking file systems…      fsck 1.40-WIP (14-Nov-2006) /dev/sda1: clean, 31/62248 files, 24467/248976 blocks       [ OK ]  * Mounting local filesystems…       [ OK ]  * Activating swapfile swap…       [ OK ]  * Configuring network interfaces…       [ OK ]  * Starting system log daemon…       [ OK ]  * Starting kernel log…       [ OK ]  * Starting OpenBSD Secure Shell server…       [ OK ]  * Starting deferred execution scheduler atd       [ OK ]  * Starting periodic command scheduler crond       [ OK ]  * Running local boot scripts (/etc/rc.local)       [ OK ] That to me like grub output, followed by boot messages from the kernel, followed by nothing at all — in particular, a nothing notable for the absence of the expected login prompt. I’d really appreciate any clues as to what’s going on here. Thanks in advance! —Alex — ubuntu-users mailing list ubuntu-users@… Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users if (Nabble.searchterms != null && Nabble.searchterms.length > 0) { Nabble.hilt(Nabble.searchterms, Nabble.get(”nabble.msgtxt10120851″)); } //Nabble.gquery = ‘test’; //Nabble.topicDumpSearch = true; if (Nabble.gquery!=null) { if (Nabble.topicDumpSearch) { Nabble.get(’nabble.searchResults’).innerHTML = ‘ Other threads matching “‘+Nabble.gquery+’”:’+ ‘looking for matching threads…’; Nabble.loadScript(’/forum/TopicDump$SearchJs.jtp?query=’+encodeURIComponent(Nabble.gquery)+’&topic=3624406′); Nabble.setVar(’prev’,null); } else { Nabble.setVar(’prev’, ‘Search Nabble for “‘+Nabble.gquery+’” | ‘+ ‘View all discussions in this forum’ ); } } if( Nabble.prev ) Nabble.writeReturnToLink(Nabble.prev); Nabble.copyright = “© 2005-2007 Nabble, Inc.”; [...]

  6. 3DCenter Forum - Ubuntu Server Said:

    [...] Re: Ubuntu Server Also, normalerweise wird/ wurde das ber die /etc/inittab Configfile geregelt, in welchen "runlevel" (grafisch, text, etc) er starten soll. Aber seit dem Ubuntu ein neues Initsystem bentzt geht das wohl anders. Siehe hier: http://blog.mypapit.net/2007/03/wher…isty-fawn.html oder http://forum.ubuntuusers.de/topic/86800/ Zum Gnome starten /etc/init.d/gdm start eingeben "I zahl eich as Puff und ich war in Marseille" [...]

  7. Ubuntu to boot multi-user, but not x - LinuxQuestions.org Said:

    [...] Thanks. It looks like Ubuntu changed from inittab to upstart (at least according to this article). I changed the default setting, but no dice. Any other thoughts? [...]

  8. Forum -> Restarte x / pc hvis x avslutter - Diskusjon.no Said:

    [...] QUOTE(lock-aze @ 21/06-2007 : 22:29)Ok. flott tiltak ivertfall. Vr snill og samtidig ls av pc'n til kun surfe p ndvendige biblioteksider og redirect alle andre sider tilbake til biblioteksidene. Er s undvendig nr de pc'ne som kun skal brukes til ske i bibliotekets database blir brukt i timesvis av kids som bare M sjekke facebooken sin nr jeg gjerne skulle ha funnet en bok.Opera har et innbygd filter som fungerer helt nydelig CODE[prefs]prioritize excludelist=0[include]http://http://82.147.39.235/WebCat_Vinstravgs/*http://www.nb.no/baser/sambok2/*http://www.nb.no/baser/sambok/*http://www.bibsys.no/*[exclude]*Jeg har ogs gjemt adresselinja, men latt frem, tilbake, stopp o.l vre.QUOTE(Mr.Elendig @ 22/06-2007 : 02:41)Kva runlevel du kyrer str litt lengre oppe i samme fila.Til dmes:CODEid:5:initdefault: Der 5 er runlevelet som vert kyrt som standard.Takk, skal prves ASAP. Hmm….. Fila finnes ikke…. where-can-i-find-inittab-in-ubuntu-edgy-eft-or-feisty-fawn.htmlDette innlegget har blitt redigert av Kagee: i dag, 14:39 ——————– Vennlig hilsen Anders Einar Hilden.——————–I hate to forget a break after a case in a switch.Tryit Editor v1.4 - 4096 Color Wheel - IE - FF - Opera [...]

  9. Ubuntu 正體中文站 - ubuntu 7.04找不到inittab [論壇 - Ubuntu基本設定] Said:

    [...] 為什麼 ubuntu 7.04 沒有 /etc/inittab ?http://blog.mypapit.net/2007/03/where-can-i-find-inittab-in-ubuntu-edgy-eft-or-feisty-fawn.html 今天 22:10:59 [...]

  10. JLA FORUMS - Default to runlevel 3 Said:

    [...] I’m trying to boot to runlevel 3 on my Kubuntu FF. As I have been able to determine I should edit /etc/inittab accordingly. However I don’t have inittab in /etc. This is a multi-boot system with XP, Mandriva, and Kubuntu most recently installed as the default. Thanks in advance. They have stopped using inittab and init to control startup and shutdown services. For more complete info check out upstart (the new "init") and these links: http://blog.mypapit.net/2007/0…..-fawn.html http://upstart.ubuntu.com/ It seems that you would need to edit /etc/event.d/rc-default to change the default runlevel. I have not tired this and cannot guarantee that this may not cause severe system problems. Attempt this at your own risk. I would suggest googling upstart +feisty/ubuntu. HTH Jerry [...]

  11. Forumul ubuntu-ro / speed up Said:

    [...] Optimizarile, daca vreti, le faceti pe propriul risc. ! Prin inchiderea sau modificarea setarilor unor programe, sistemul poate deveni instabil !Pentru ca s-a facut o sectiune de Tips&Tricks incerc sa mut discutia de aici, aici.Utilitate:+ bun++ foarte bun+++excelentPentru inceput mi-am exprimat eu parerea din ce am testat la mine; sunteti liberi sa scrieti opinia Dvs., nu costa $$.—————————————————————————————–Boot tweek1.++ pentru a opri unele servicii de care poate nu aveti nevoie. Cititi aici2.+sudo gedit /etc/init.d/rcschimbati linia:CONCURRENCY=nonecuCONCURRENCY=shell3.+ adaugarea hostname la prima liniesudo gedit /etc/hosts* veti gasi ceva de genul: 127.0.0.1 localhost127.0.1.1 inspiron* se va modifica asa (este doar un exemplu, in loc de "inspiron" aveti altceva !):127.0.0.1 localhost  inspiron127.0.1.1 inspiron4.++ preload - pentru a porni aplicatiile mai rapidsudo apt-get install preload5.+ Disable gettys* nu mai este /etc/inittab in Edgy sau Feist ! deoarece nu se mai foloseste in Ubuntu init, se merge pe upstart* tot ce era in /etc/inittab, gasiti acum in /etc/event.d/. Daca vreti sa mai inchideti din virtual console, se poate da comanda:sudo gedit /etc/event.d/tty3, se gaseste linia start on runlevel 2start on runlevel 3si se adauga un "#" in fata. Va arata ceva de genul:#start on runlevel 2#start on runlevel 3- nu mareste viteza, dar economiseste cateva resurse6.+ prelink - nu mai este nevoi, Ubuntu foloseste "DT_GNU_HASH"—————————————————————————————–Swapp1.+++ vm.swappinesssetarea defaul pentru - vm.swappiness - este 60 in Ubuntu Feisty. Se poate reduce aceasta viteza la 10.* cu ajutorul comenzilorsysctl -q vm.swappiness- se poate vedea valoarea setata pentru - vm.swappinesssudo sysctl vm.swappiness=10- se schimba valoare in 10* pentru ca schimbarea sa fie permanenta, trebuie sa se schimbe - sysctl.confsudo gedit /etc/sysctl.conf- sau kate pentru KDE si se va adauga linia:vm.swappiness=10la sfarsit- aceasta setare este recomandata celor care au o memorie de cel putin 512Mb. Daca aveti multa memorie, peste 1Gb sau sistemul nu foloseste mult swapp, puteti seta valoarea chiar de 0.- prin aceasta schimbare se va folosi mai putin swapp. Cu cat valoarea este mai mica cu atat se va folosi mai putin swapp si mai mult physical ram, care este mult mai rapid.—————————————————————————————–Nautilus1.++ Edit/Preferences/Preview:* TextFiles/Show text in icons - se poate seta Never* OtherPreviewableFiles/Show Thumbnails - se poate seta never* SoundFiles/PreviewSoundFiles - se poate seta never* Folders/CountNumberOfItems - se poate seta never2.+ se scrie in terminal:sudo gconf-editor /apps/nautilus/preferences- se poate debifa show_desktop—————————————————————————————–Internet1.+ ipv6* se da comanda:sudo gedit /etc/modprobe.d/aliases- si se schimba alias net-pf-10 ipv6cu:alias net-pf-10 off #ipv6- se adauga un "#" in fata la ipv62.+ Disable pangosudo gedit /etc/environmentsi se va adauga la sfarsit:MOZ_DISABLE_PANGO="1"3.+++ Firefox* se poate mari viteza de acces la situri si viteza de start-up browserului. Se poate face si in mod manual (sunt foarte multe pareri de cum se poate seta, vezi aici sau aici, nu intru in detalii) sau poate mai simplu cu Fasterfox - de aici—————————————————————————————–Open Office1.+++ in Tools/Options/Java - se va debifa Use a Java runtime environment2.++ in Tools/Options/Memory - se va seta:* Undo/Number of steps - 10 (altii prefera 20, 30) - prin asta se reduce numarul de Undo pe care le poate face Open Office (default este 100)* Graphics cache/Use for OpenOffice.org - 128 MB (default este 6)* Memory per object - 20MB (default 5MB)* Cache for inserted objects/ number of objects - 20* OpenOffice.org Quickstarter - se poate bifa- prin disable la Java se maresete destul de mult viteza la open office- parerile sunt impartite in setarile in Memory. Alte pareri sunt: graphics cache - 64MB si memory per object - 8MB.- unii sunt de parere ca pentru openoffice 2.0, optiunea Enable systray quickstarter din /Tools/Option/Memory - nu ar accelera prea mult deschiderea programului.PS: Cu siguranta lista de optimizari nu se opreste aici. Am incercat sa o fac cat mai usoara si mai utila. Setarile sunt in special pentru versiunea Ubuntu 7.04 dar banuiesc ca pot fi adaptate si altor versiuni. Spor.Se poate folosi kate pentru KDE si gedit pentru Gnome.Surse:http://kmandla.wordpress.com/2007/04/22 … for-speed/ - optimizari generale, merita de vazut ce e pe aici, pentru Feistyhttp://kmandla.wordpress.com/2006/11/11 … for-speed/ - optimizari generale, la fel, merita ce e pe aici, pentru Edgyhttp://www.xsol.se/index.php/2007/04/29 … butterfly/ - optimizari generale pentru Feistyhttp://www.zolved.com/synapse/view_cont … _in_Ubuntu - pentru OpenOfficehttp://www.theinquirer.net/default.aspx?article=27292 - alte setari pentru OpenOfficehttp://www.linuxjournal.com/article/8308 - swapp, virtual console (versiunea veche), openofficehttp://doc.gwos.org/index.php/Speed_up_Gnome - nautilus si altelehttp://www.kaboodle.com/reviews/another … on-the-net - setare swapp, ipv6, boot process, pango, preload, prelinkhttp://ubuntuforums.org/showthread.php?t=388765 -hostnamehttp://www.ubuntugeek.com/speed-up-fire … owser.html - firefoxhttps://answers.launchpad.net/upstart/+question/7377 - ttyhttp://blog.mypapit.net/2007/03/where-c … -fawn.html - ttyhttp://ubuntuforums.org/showthread.php?t=189192/ - link mai vechi, dar se mai pot face unele si de aici [...]

  12. ubuntu û /etc/inittab - GNU/Linux - kode4u!? Said:

    [...] ubuntu û /etc/inittab ǰѧϰlinuxʱԼubuntu feisty fawn飬ָҲ/etc/inittabļһ£ubuntuѾSystem-VϵͳԼupstartǶԴһӢblog Im sure many of you might stumbled upon this problem when you discovered first hand that there is no /etc/inittab file on Ubuntu Edgy Eft or Feisty Fawn. This is deliberate because Ubuntu do not use init anymore to manage its services during startup or shutdown of the system. Instead it uses upstart as replacement for the traditional sysvinit utility that is common to Linux-based operating system. All the things that you used to have in the /etc/inittab is ported to upstarts /etc/event.d/. It might take some of time to get used to the way upstart manage things in your computer, For example, the settings for tty3 is located in /etc/event.d/tty3 if you need to change its parameter, and rc scripts on rc*. Additionally You can use runlevel command to determine which runlevel your computer is in. Please refer to Upstart Project page if youre interested to know more about the project   йupstartϸݣдѧϰڴݼ־һƪ [...]

  13. telinit 3 i czarny ekran - Forum PCLab.pl Said:

    [...] klikWg. tego nie ma ju? inittab, teraz jest upstart.Tu masz:  caly_event.d.tar.gz ( 2.07k ) Liczba pobra?: 0 Ten post by? edytowany przez C1yd3: Dzisiaj, 15:36 [...]

  14. Red Hat Certifications Said:

    [...] no inittab for Ubuntu since Edgy. It’s a pain yes, but take a look at this page that explains it - Where can i find inittab in Ubuntu Edgy Eft (or Feisty Fawn) ? : mypapit gnu/linux blog __________________ My [...]

Leave a Comment

Subscribe by email

Enter your Email