On 03/22/2010 07:47 PM, Stephen Isard wrote:
> On Mon, 22 Mar 2010 15:39:47 +0100, Urs Beyerle
> wrote:
>
>> "nox" only sets the default runlevel to 3. The X server is still configu
> red.
>> Having runlevel=3, rhgb does not start up (see
> /usr/share/doc/rhgb-0.16.4/HOW_IT_WORKS)
>
> Just for my general education, do you know what program interprets the 'n
> ox'
> parameter and sets the runlevel? As I understand it, init usually gets t
> he
> runlevel from /etc/inittab, so nox must somehow be overriding that. I've
>
> run strings on the init and grub binaries and grepped the output for nox,
>
> but not come up with anything. HOW_IT_WORKS doesn't mention nox either.
The nox parameter is "my invention" ;-) It only works with the SL LiveCD.
If you specify nox, /etc/inittab is modified at the very beginning of
the LiveCD bootup process (before chroot to the SL filesystem, inside
the linuxrc of the initial ram disk).
Search for nox in the script linuxrc:
https://svn.iac.ethz.ch/pub/livecd/trunk/linux-live.sl/initrd/linuxrc
Cheers,
Urs