Thorsten Kampe wrote:

> I'm looking for a solution to "hook" somekind of a boot menu into the
> boot process. Something like

One more runlevels may be what you need. Default runlevel
is /etc/runlevels/default. Most probably you have a link to /etc/init.d/xdm
in it, which starts KDE. Create another subdir, e.g. noxdm beside default.
Fill it with 'rc-update add INITDSCRIPT noxdm' with the same links as in
default, except xdm.
Now modify your /boot/grub/grub.conf or do analog with lilo. Add these three
lines to its end: 
title=Gentoo Linux - noxdm
root (hd0,1)
kernel (hd0,1)/bzImage-2.6.0 root=/dev/hda6 softlevel=noxdm

Note the parameter 'softlevel=noxdm'. This selects the bootscrips
in /etc/runlevels/noxdm to be executed instead the scripts
in /etc/runlevels/default. By the way, /etc/runlevels/boot are executed
anyway before the 'noxdm' or 'default' scripts, you may want to move some
common, very basic scripts here.

Reboot, select Gentoo Linux - noxm, et voila, no KDE or even X starts.

I am using something similar to select between a wireless or wired network
connection of my notebook.

mg




--
[EMAIL PROTECTED] mailing list

Reply via email to