Mailing List Archive

FW: configuring the kernel-#1 email
i just emailed him again so hold on a few and i might get a reply from him

-----Original Message-----
From: Brad Bonkoski [mailto:bbonkoski@xyterra.com]
Sent: Wednesday, August 08, 2001 12:17 PM
To: Rob
Subject: Re: configuring the kernel



----- Original Message -----
From: "Rob" <rwideman@austin.rr.com>
To: <linux-kernel@vger.kernel.org>
Sent: Wednesday, August 08, 2001 10:11 AM
Subject: configuring the kernel


> I have a couple questions of which i am unsure of. Last nite i did my
first
> kernel compilation and i am thinking that i might have been too tired for
> doing this at 6A (yes stayed up all nite). I might have said yes to a few
> things and no to a few things that i shouldnt have and want to reconfigure
> the kernel. The only problem is i am not sitting through another 1.5 hrs
of
> Y/N questions on which 75% i am not sure of while not having any sleep for
> about 25 hrs. I would rather install RH 2 or 3 before going through that
> again.
> I have RH 7.1 and want to update to 2.4.7. I have the most basic install
> (the only thing i selected during isntall was kernel development and
> development so i can compile and redo the kernel of course).
>
> Qustions:
> 1-does "make menuconfig" require X to be installed? I dont have X, i just
> have RH 7.1 with kernel dev and kernel sources installed (atleast those
were
> the ONLY things i had selected during install).

You do not need X for make menuconfig

> 2-if i untared/unpacked the kernel to the folder /root/newkern (here is
> where i did the "gzip -cd linux 2.4.7...... |tar xvf -" command) is it ok
to
> delete the newkern folder and unpack nd then do the "make menuconfig"?

Yes,
Typically when moving to a new kernel this is the procedure...
$ cd /usr/src
$ ls
(there you will see 'linux' as well as linux-2.4...... whatever)
$ ls -l (will show you that 'linux' ius actually *not* a directory but is
linked to the linux-2.4.... directory)
[so you can now delete 'linux]
$ rm -rf linux
{copy the new source tree you downloaded here... and unpack}
$ tar -xzvf linux-2.4....tar.gz (for gzippped trees)
$ tar -xyvf linux.2.4...tar.bz (for bzipped trees)
{this will unpack to a directory called 'linux'}
$ mv linux ./linux-2.4.... {rename the directory to the version number i.e.
linux-2.4.7}
$ ln -s linux linux-2.4.... {re create the symbolic link i.e. ln -s linux
linux-2.4.7}
[. this will create a 'linux' directory again, that will NOW be linked to
your newly unpacked source]
then...
$ cd linux
$ make menuconfig
./.. and you are off!

I hope this helps!
-Brad
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/