Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
In anderen Runlevel booten?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Gominik
n00b
n00b


Joined: 23 Jun 2002
Posts: 39
Location: Germany

PostPosted: Wed Jul 31, 2002 6:05 pm    Post subject: In anderen Runlevel booten? Reply with quote

Hallo

Ist es bei Gentoo eigendlich möglich in einen anderen als den "default" Runlevel zu booten. Wenn ich z.B. den Runlevel "console" erstelle, kann ich auch mit "console" am Ende der Kernelzeile nicht in diesen Runlevel booten, es wird immer default geladen.

Kann man da irgendwie was machen ?

Tschö
Gom
Back to top
View user's profile Send private message
citizen428
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 317
Location: Vienna, Austria

PostPosted: Wed Jul 31, 2002 9:38 pm    Post subject: Reply with quote

Schau dir mal den RC-Guide an.

http://www.gentoo.org/doc/rc-scripts.html

Da steht das am Anfang erklärt. Ich quote dir hier mal einen relevanten Ausschnitt:
Quote:

The "boot" runlevel should be standard for most setups, and as the name denotes, is it the first runlevel that is executed at boot time. Next is "default" which, as its name implies, is the main runlevel executed after boot. Last is "nonetwork" which serves purely as an example.

The runlevels live in /etc/runlevels, in a subdirectory named after the runlevel; this subdirectory is filled with symbolic links to services that are owned by the runlevel.

As already stated, the name could be changed to whatever suits the user, as the rule the entry in /etc/inittab is also changed to reflect the default runlevel's new name.


Sieht also aus als läge die Lösung deine Problems in der /etc/inittab.

HTH,
citizen428
Back to top
View user's profile Send private message
Lasker
Guru
Guru


Joined: 17 Jul 2002
Posts: 445

PostPosted: Wed Jul 31, 2002 10:40 pm    Post subject: Re: In anderen Runlevel booten? Reply with quote

Gominik wrote:
Hallo

Ist es bei Gentoo eigendlich möglich in einen anderen als den "default" Runlevel zu booten. Wenn ich z.B. den Runlevel "console" erstelle, kann ich auch mit "console" am Ende der Kernelzeile nicht in diesen Runlevel booten, es wird immer default geladen.

Kann man da irgendwie was machen ?

Tschö
Gom


Was benutzt du eigentlich: Grub oder lilo?
Ich war ganz überrascht, dass es bei grub auch weiterhin (wenn man von lilo kommt) möglich ist, einen runlevel als Zahl zu übergeben.
Einfach an der grub - Eingabe 'e' drücken, dann Cursor auf die Zeile:
kernel /boot/bzimage root=/dev/hd.. und nochmal 'e' drücken.
Dann hinter /bzImage den runlevel eingeben (mit Leerzeichen), also z.B. .../bzImage 2 root=...
Dann nur noch 'Enter' und mit 'b' booten.
Runlevel 2 ist bei mir booten ohne Netzwerk und ohne X, runlevel 3 startet schon den Gdm (+Netzwerk).
Was ich noch rausfinden muss: Wie bekomme ich einen Runlevel ohne X aber mit Netzwerk?
Vielleicht ist das Posting von citizen die Antwort...
Back to top
View user's profile Send private message
Gominik
n00b
n00b


Joined: 23 Jun 2002
Posts: 39
Location: Germany

PostPosted: Thu Aug 01, 2002 3:38 pm    Post subject: Reply with quote

Danke ich habs jetzt raus.

Grub und auch Lilo verstehen nur Runlevel 1-6, in der /etc/inittab kann man dann angeben, welche Nummer welchem Ordner unter /etc/runlevel entspricht.

Danke und Tschö
Gom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum