Where can i find inittab in Ubuntu Edgy Eft (or Feisty Fawn) ?
|
|
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: ubuntu, upstart, init, inittab, linux, opensource, bsd
Keep updated with this website! : Subscribe to your email
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.














March 12th, 2007 at 10:32 pm
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
March 15th, 2007 at 7:00 am
[...] Where can i find inittab in Ubuntu Edgy Eft (or Feisty Fawn) ? [...]
March 30th, 2007 at 8:09 am
[...] 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: [...]
April 21st, 2007 at 6:41 pm
[...] 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 [...]
April 24th, 2007 at 11:15 am
[...] 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.”; [...]
April 29th, 2007 at 11:40 pm
[...] 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 benützt 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" [...]
May 18th, 2007 at 4:07 am
[...] 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? [...]
June 23rd, 2007 at 12:15 am
[...] QUOTE(lock-aze @ 21/06-2007 : 22:29)Ok. flott tiltak ivertfall. Vær snill og samtidig lås av pc'n til kun å surfe på nødvendige biblioteksider og redirect alle andre sider tilbake til biblioteksidene. Er så unødvendig når de pc'ne som kun skal brukes til å søke i bibliotekets database blir brukt i timesvis av kids som bare MÅ sjekke facebooken sin når 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 være.QUOTE(Mr.Elendig @ 22/06-2007 : 02:41)Kva runlevel du køyrer står litt lengre oppe i samme fila.Til dømes:CODEid:5:initdefault: Der 5 er runlevelet som vert køyrt som standard.Takk, skal prøves 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 [...]
July 29th, 2007 at 11:38 pm
[...] 為什麼 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 [...]
August 5th, 2007 at 10:27 pm
[...] 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 [...]
August 20th, 2007 at 11:41 pm
[...] 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 [...]
October 1st, 2007 at 11:45 am
[...] ubuntu ûÁË /etc/inittab ǰÁ½ÌìÔÚѧϰlinux»ù´¡Ê±ÓÃ×Ô¼ºµÄubuntu feisty fawnÀ´ÊÔÑ飬·¢ÏÖ¸ù±¾ÕÒ²»µ½/etc/inittabÕâ¸öÎļþ£¬µ½ÍøÉÏËÑÁËһϣ¬·¢ÏÖubuntuÒѾ·ÅÆúSystem-Vϵͳ£¬¸ÄÓÃ×Ô¼ºµÄupstart£¬ÏÂÃæÊǶÔÕâ¸öÊÂÇéµÄÃèÊö£¬Ô´×ÔÒ»¸öÓ¢ÎÄblog£º 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 ÓйØupstartµÄÏêϸÄÚÈÝ£¬ÓдýÉîÈëѧϰ£¬ÔÚ´ËÏÈÔݼÇÈÕ־һƪ¡£ [...]
October 1st, 2007 at 10:54 pm
[...] 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 [...]
October 25th, 2007 at 3:04 am
[...] 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 [...]