On Sunday 18 April 2010 06:41:47 Adam wrote:
> i guess this means i should point l4 to a custom runlevel in
> /etc/runlevels that is the same as default with the exception that
> xdm is removed...
That's what I do. I have /etc/runlevels/no-x/ which contains all the
services I want started if I boot a CLI-only system. It's sometimes
handy to have all the virtual consoles available, so single mode doesn't
help here.
> I'm assuming the linux kernel wont understand the gentoo named
> runlevels, and therefore using those names in grub wouldnt work.
Grub runs before the kernel; in fact grub finds the kernel on the disk
from the details you specify in /boot/grub/grub.conf.
Here's a snippet from my grub.conf:
title=Gentoo Linux 2.6.33-r1
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.33-gentoo-r1 root=/dev/md3
vga=0x31A video=vesafb:mtrr:2,ypan fbcon=scrollback:128k splash=silent
title=Gentoo Linux 2.6.33-r1, no X
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.33-gentoo-r1 root=/dev/md3
vga=0x317 video=vesafb:mtrr:2,ypan fbcon=scrollback:128k splash=silent
softlevel=no-x
Then I just scroll to the version I want and hit Enter.
--
Rgds
Peter.