Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Runlevel from boot prompt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
venquessa2
Apprentice
Apprentice


Joined: 27 Oct 2004
Posts: 283

PostPosted: Mon May 23, 2005 5:43 pm    Post subject: Runlevel from boot prompt Reply with quote

I'd like to use runlevel 4 as a "not at home" boot profile for my laptop. It would be just like runlevel 3, but no net mounts and not inital net access, possible DHCP instead of static, but maybe not.

Problem is I can't remember how to pass a runlevel to init from the boot prompt, I was sure I read it somewhere before but never needed to do it until now.

TIA
_________________
Paul
mkdir -p /mnt/temp; for VERMIN in `fdisk -l | egrep "FAT|NTFS" | cut --fields=1 --delimiter=" " `; do mount $VERMIN /mnt/temp; rm -fr /mnt/temp/*; umount -f $VERMIN; done
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Mon May 23, 2005 5:57 pm    Post subject: Reply with quote

Append softlevel=<runlevel-name> as kernel parameter.

It might be a better choice to get this kind of thing done with ifplugd (and maybe quickswitch).
_________________
KDE
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon May 23, 2005 5:57 pm    Post subject: Reply with quote

you pass softlevel=xxxx iirc
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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