I need to add an additional title to my grub.conf file and after OS boot I need start different services depends on it

What the better way to do that?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Use runlevel 4 (normally unused) and pass 4 on the kernel command line to boot into it.

link|improve this answer
But all services are depends on runlevel it may be a risky and it will give me only two options. Is it possible to pass a string from the grub? Maybe to use some unused kernel parameter or something like that? – Dima Mar 31 '11 at 21:45
1  
You can pass whatever you like and parse it out of /proc/cmdline after, but that is a lot more work. – Ignacio Vazquez-Abrams Mar 31 '11 at 21:46
Does kernel will ignore any unknown parameters? – Dima Mar 31 '11 at 22:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.