[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What file?
>OK, here is what seems to be happening. No where on the system can I find
>xconfig or menuconfig.
In my previous response, I explained that it's a label in a file, but it's
NOT a filename.
>I did log in as root and searched the /usr/src/linux
directories and could find no .config file or any source codes. Is this
>normal or what? Doesn't seem right.
It's fine. It's not a file, so looking for it with file searching tools
WILL NOT work. Instead, cd to /usr/src/Linux and vi Makefile,
then type /xconfig
>I tried using whereis to find xconfig and menuconfig and it found
>nothing.
Again, more search tools based on file names. Failure was fore-ordained.
Thes names are not files; they ARE labels of sections of the makefile in
/usr/src/linux. PLEEZE look in that file.
>I did download the latest kernel as I figured I might as well update when
>I finally get this all figured out.
What kernel did you download? What kernel are you running?
>But where do I need to go from here? On both cds that I have of Linux, I
>could not find source code on either of them, nor could I find xconfig or
>menuconfig.
You do not know what to look for. On the Red Hat CDs, everything like this
is packed into .rpm files.
If you look on your install disk, and go to subdirectory RedHat/RPMS on
the CDROM, you want kind the files that are called:
kernel-sources.2.0.36-3.i386.rpm
and
kernel-headers.2.0.36-3.i386.RPM
[2.0.36-3] may not be right, that's the version of the kernel, and
your may be different.
If you mount your CDROM at /mnt/cdrom, do...
cd /mnt/cdrom/RedHat/RPMS
ls | grep kernel
and you'll see those rpms...
NOW, to install:
rpm -ivh kernel-sources.2.0.36-3.i386.rpm
NOW /usr/src/linux will be in synch with what was installed when you
originally setup Linux.
---> RGB <---