Discussion:
How to boot to runlevel 3/init 3 once.
Stephen Liu
2006-08-07 11:00:21 UTC
Permalink
Hi folks,

What shall I add to grub at booting to boot, temporarily/one time, init
3/runlevel 3, just "init 3" or "3". I tried both of them but they
seemed not working still booting to the login page. TIA

B.R.
SL
Micah J. Cowan
2006-08-07 11:19:17 UTC
Permalink
Post by Stephen Liu
Hi folks,
What shall I add to grub at booting to boot, temporarily/one time, init
3/runlevel 3, just "init 3" or "3". I tried both of them but they
seemed not working still booting to the login page. TIA
I hope to have addressed your needs in my other message, but...

I searched the kernel-parameters docs, and couldn't find anything for
specifying a particular runlevel (other than single). If there were a
desperate need, you could use the Live Boot CD to edit /etc/inittab and
change the default runlevel, but as I've already said, I can see no good
reason for needing to do this.
--
Cheers,

Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
Serg B.
2006-08-07 12:14:59 UTC
Permalink
Open (backup first) /etc/mtab file, it's there exactly for this
reason. In there you will find an option to set a default bootable
runlevel.

Serg
Post by Micah J. Cowan
Post by Stephen Liu
Hi folks,
What shall I add to grub at booting to boot, temporarily/one time, init
3/runlevel 3, just "init 3" or "3". I tried both of them but they
seemed not working still booting to the login page. TIA
I hope to have addressed your needs in my other message, but...
I searched the kernel-parameters docs, and couldn't find anything for
specifying a particular runlevel (other than single). If there were a
desperate need, you could use the Live Boot CD to edit /etc/inittab and
change the default runlevel, but as I've already said, I can see no good
reason for needing to do this.
--
Cheers,
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Tony Arnold
2006-08-07 12:40:26 UTC
Permalink
Post by Stephen Liu
Hi folks,
What shall I add to grub at booting to boot, temporarily/one time, init
3/runlevel 3, just "init 3" or "3". I tried both of them but they
seemed not working still booting to the login page. TIA
You could select the recovery mode option in the grub menu which will
boot into single user mode. You could then type 'telinit 3' which will
take you to run level 3.

But for what you are trying the recovery mode might be sufficient
anyway.

Regards,
Tony.
--
Tony Arnold <tony.arnold at manchester.ac.uk>
University of Manchester
Jon Lim
2006-08-07 13:08:08 UTC
Permalink
I remember that LILO could do this. IIRC grub can't.
--
http://www.snowblink.co.uk/
ubuntu
2006-08-07 13:58:21 UTC
Permalink
Post by Stephen Liu
Hi folks,
What shall I add to grub at booting to boot, temporarily/one time, init
3/runlevel 3, just "init 3" or "3". I tried both of them but they
seemed not working still booting to the login page. TIA
You could always edit /etc/inittab. Change the default to 3, boot, and
change it back...
Stephen Liu
2006-08-07 15:41:16 UTC
Permalink
Hi Tony,
Post by Tony Arnold
You could select the recovery mode option in the grub menu which will
boot into single user mode. You could then type 'telinit 3' which
will
take you to run level 3.
Your advice noted with tks.


B.R.
SL
yonas abraham
2006-08-07 15:45:29 UTC
Permalink
when grub boots, hit 'e' for edit and at the end just add '3' to boot
to init3 and hit 'b' and should boot to run level 3 just for that
boot.
/yonsa
Post by Stephen Liu
Hi Tony,
Post by Tony Arnold
You could select the recovery mode option in the grub menu which will
boot into single user mode. You could then type 'telinit 3' which will
take you to run level 3.
Your advice noted with tks.
B.R.
SL
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Continue reading on narkive:
Loading...