Re: looking for xconfig
What you look for is not the executable file xconfig.
When you make a new kernel, you use the program "make".
When you use the program "make", it refers to the file "Makefile"
in the current directory.
If you installed the kernel-source package
then change directory to /usr/src/kernel-source-2.0.34 and look in that
In that file you will see the line
This is the "xconfig" you were looking for, and you use it from this directory
For more detail, see README in that directory; specifically, see
or the link to this
If you make your kernel more than once, the important file you will initially
create is /usr/src/kernel-source-2.0.34/.config .
If you follow the directions in the README, "make mrproper" destroys the
.config file. So, if you do "make mrproper", especially when you compile the
kernel a second and a third time, you may want to either skip "make mrproper",
or save a copy of .config.
I save copies of .config through something like
cp -p .config ../hold-kernel-config-file/.config.2.0.34.old6
I can then either copy those back into the current directory after a "make
mrproper", or I can compare my created .config with my old .config with
sdiff ../hold-kernel-config-file/.config.2.0.34.old6 .config
The general order mentioned in the README is
make bzImage #"make zImage" may not accomodate large kernels.
copy /usr/src/linux/arch/i386/boot/bzImage to a name of your choice like
/boot/vmlinuz-2.0.34-ethernet or /boot/vmlinuz (or /vmlinuz) if you use the
installed /etc/lilo.conf . This really depends on what your lilo.conf has in
Then, make any modifications to /etc/lilo.conf you might want, if you retain
your old kernels.
For example, I use the lilo.conf given further below, often adding an extra
set of lines for a new kernel like,
This is the most dangerous step.
Watch for any errors.
Done wrongly requires you to use emergency boot disks to get going again,
doing arcane things like
mount /dev/hdc /mnt
lilo -r /mnt
Here is my current lilo.conf
# The following could take one of several forms: this form REWRITES THE MASTER
# on boot, enter tab too see optional kernels
# KERNEL IMAGE OPTIONS:
# These could be placed under the "image=..." lines below.
read-only #mount the root filesystem read-only
optional #omit the image if it cannot be found for the map
#To use ramdisk with the following entry, try "mke2fs /dev/ram1 8192".
# This is not at all necessary.
# Supposedly, the following memory option should use "append" to avoid
replacing all options if I just used "=".
You probably want to use the system's /etc/lilo.conf at first,
because it's very uncomfortable working with emergency disks to repair a bad
"lilo" command (actually bad lilo.conf file).
However, if you run "lilo" a great deal, keeping some old kernels around can
be a greater help.
You will probably want to read more about lilo if you are worried.
Keep your wits about you and good luck.
Virtually everyone configures their kernels and runs lilo, so your in good
> Can someone please tell me which package contains the xconfig program
> (for configuring kernel compile options)? I haved looked everywhere I
> can think of. I even did a grep of the Packages files and found nothing.
> Thanks in advance.
> Unsubscribe? mail -s unsubscribe email@example.com < /dev/null