Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple GRUB entries
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
grj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2002
Posts: 96

PostPosted: Mon Sep 12, 2005 10:26 pm    Post subject: Multiple GRUB entries Reply with quote

I would like to set up my linux box to boot into gnome or command-line. Is there a way to have 2 GRUB entries, one to boot into gnome and the other to boot into command-line?
_________________
Hope this helps!

GRJ
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Mon Sep 12, 2005 10:45 pm    Post subject: Reply with quote

I haven't tried this, but I think it should work:
Create a console runlevel by doing the following:
Code:
cd /etc/runlevels
cp -R default console
rm console/xdm

This creates a new runlevel calles "console" with exactly the same services as your "default" runlevel except xdm.
Then edit /etc/inittab and change this line
Code:
l4:4:wait:/sbin/rc default
to this
Code:
l4:4:wait:/sbin/rc console

Create a new entry, based on your current one, in /boot/grub/grub.conf, add
Code:
4
to the end of the kernel line (should look like this now:
Code:
 kernel /kernel-2.6.11-r9 root=/dev/hda5 video=vesafb:ypan,1024x768-32@60 4
and call it "Gentoo Commandline" or what ever you like to call it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum