LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   changing runlevels at boot time on GRUB (https://www.linuxquestions.org/questions/linux-newbie-8/changing-runlevels-at-boot-time-on-grub-111498/)

denominator 11-02-2003 11:19 AM

changing runlevels at boot time on GRUB
 
how can i change runlevels when grub shows me the boot menu? I read somewhere that its possible with lilo ( using boot: linux 3, i believe) so it should be possible for grub too, right?

david_ross 11-02-2003 11:21 AM

Just append a space then the runlevel to the end of the line that begins "kernel" in the config or do it every boot if you prefer.

Guru3 11-02-2003 11:27 AM

Here's what I THINK will work. Edit your /boot/grub/grub.conf file so that you dublicate your current boot settings. You don't do this and your modifications don't work, and you'll be stuck for awhile. In one of the new ones on the line that says kernel /vmlinuz-X.X.XX-X add to the end of the line init=/sbin/init 1, or what ever runlevel you want it to be. I repeat, I am 90% sure this will work. If it doesn't and you havn't made a boot loader option that is normal, you will be aproaching niagra falls in a dinghy with no oars, so BE CAREFUL.

denominator 11-04-2003 11:23 PM

great, thanks


All times are GMT -5. The time now is 11:13 AM.