 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

13th June 2006, 04:51 PM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 3

|
|
|
Feel like a noob boot question
I have never used grub or fedora but my work decided to go with it. My question is the person who installed the distro set it to boot straight to xwindows, so what im wondering is how can i get it to boot straight to the shell instead of the xwindows any help would be great thanks!
|

13th June 2006, 04:54 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,334

|
|
|
Sign into a terminal as root (su -) and then type:
gedit /boot/grub/grub.conf
That will open a separate window for you to edit the boot sequence. You can change your 'default' to whatever you want. Remember that the computer counts from zero, so your first kernel or boot title will be '0', then next '1', etc. Once you have changed it, simply save and close the window, then type "exit" to leave root and again "exit" to close the terminal and save your work.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

13th June 2006, 05:46 PM
|
|
Registered User
|
|
Join Date: Feb 2005
Location: Devon, UK
Posts: 102

|
|
|
Bob, he means he wants to stop the computer booting an X server automatically.
|

13th June 2006, 05:54 PM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 591

|
|
|
edit /etc/inittab find the line that reads id:5:initdefault:
and change it to id:3:initdefault:
|

13th June 2006, 05:56 PM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by fishflirt
I have never used grub or fedora but my work decided to go with it.
|
Well, this isn't a grub question, nor is it specific to Fedora...
Quote:
|
Originally Posted by fishflirt
My question is the person who installed the distro set it to boot straight to xwindows, so what im wondering is how can i get it to boot straight to the shell instead of the xwindows any help would be great thanks!
|
Edit the file /etc/inittab. Look for the line that contains :
id:5:initdefault:
Change the "5" to a "3".
Next time you boot, you'll boot to a console.
Vic.
|

13th June 2006, 06:02 PM
|
 |
Registered User
|
|
Join Date: Feb 2005
Location: Bangalore
Age: 25
Posts: 1,574

|
|
|
Alternatively, if you just want to do it once, then do it like this
In the GRUB menu, highlight any Fedora Core install, and press `a`.
Type in (at the end of the line) Runlevel 3
|

13th June 2006, 06:22 PM
|
|
Registered User
|
|
Join Date: Jul 2005
Posts: 591

|
|
Quote:
|
Originally Posted by tejas
Alternatively, if you just want to do it once, then do it like this
In the GRUB menu, highlight any Fedora Core install, and press `a`.
Type in (at the end of the line) Runlevel 3
|
Editing inittab like we have suggested will only require editing once as well. They're different roads to the same destination.
|

13th June 2006, 07:26 PM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 3

|
|
|
i got it figured out before i got back to this post but now since it goes into run level 3 it doesn't load samba or any of the other services.
|

13th June 2006, 07:57 PM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1,092

|
|
Quote:
|
Originally Posted by fishflirt
i got it figured out before i got back to this post but now since it goes into run level 3 it doesn't load samba or any of the other services.
|
man chkconfig
Vic.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 10:11 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|