View previous topic :: View next topic |
Author |
Message |
grj Tux's lil' helper
Joined: 15 Jun 2002 Posts: 96
|
Posted: Mon Sep 12, 2005 10:26 pm Post subject: Multiple GRUB entries |
|
|
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 |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Mon Sep 12, 2005 10:45 pm Post subject: |
|
|
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 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 |
|
|
|
|
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
|
|