This is a discussion on Runlevel in Linux within the Networking, Firewalls and Security forums, part of the Mastering Servers category; Hi, Can someone advice me, what parameter I need to customized in kernel to ask runlevel at the time of ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi,
Can someone advice me, what parameter I need to customized in kernel to ask runlevel at the time of system is getting up? i.e System MUST ask me in which runlevel, I want to work. ______ Satya |
| Sponsored Links | ||
|
|
|
||||
|
Most Linux distro don't ask that question but you can pass parameter at grub or lilo boot loader to setup default runlevel using /etc/inittab file. See following urls for more info
Linux Changing Run Levels | nixCraft Let me know if you need any further help |
|
|||
|
Still seaching for right answer, my question is that how I can pass the run-level parameter ( 0,1,2,3,4,5,6) at the system starting time.
i.e Echoing message like 'Enter run-level to boot' and if I press 2, it should start booting in 2 runlevel. I do not want to physically modify the inittab file for run level.I want, this file should get the run-level at the runtime by accepting the parameter from user. |
|
|||
|
I think in this case you need to edit the inittab script and add an echo and a read message to do that job for you, but why do you need such a thing were actually u shall be either working under RUNLEVEL 3 or 5 ???
__________________
LivE Free 0r DiE L!nux rul3z aLL |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ubuntu Set Default Runlevel /etc/inittab | lacloai | Linux software | 6 | 11-18-2008 06:42 AM |
| Ubuntu Linux runlevel and its meaning | Linux software | 1 | 07-21-2006 12:28 AM | |