SV: SV: kernel compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello!
I have tried the steps you told me but I still have problem.
these are the steps i done
first I unpacked the kernel source.
tar -zxf linux-2.5.54.tar.gz
then i typed make make menuconfig.
in menuconfig i configured my kernel with sound support, usb and braille
voyager support.
the rest of the kernel stuff i needed selected I as loadable modules except
for the filesystems, paralell and serial ports , keyboard cd and floppy
drive.
then i saved my cnages.
then i typed make dep.
i got a message saying that it was nothing to be done with dep.
then i typed make modules and make modules_install.
and that worked.
then i tried two ways.
first of all i tried to make a bzImage.
and it ended upp with that my kernel was too big to fit on a floppy drive.
for some reason iI don't have a /usr/src/linux directory.
why do you think i don't have one?
then i searched a bit and found the linux kernel in t the arch/i386/boot
subdirectory of the kernel source.
i copied the bzImage to my loadlin directory and tried to load linux wiht
the command i always use.
but the system didn't boot.
I thought that this was a bz image and my system had trouble with booting
such ones so i tried to make a zimage install.
but i got the message that my system was too big.
and i should try modules or a bzImage.
iI don't believe  that I have compiled a real kernel.
i have also tried the samme with the make oldconfig but with no sucsess.
what is wrong with my kernel compilation?


thanks in advance

kristoffer

-----Ursprungligt meddelande-----
Från: blinux-list-admin@xxxxxxxxxx
[mailto:blinux-list-admin@xxxxxxxxxx]För Doug
Skickat: den 26 juni 2003 17:03
Till: blinux-list@xxxxxxxxxx
Ämne: Re: SV: kernel compilation


 > make clean

It is usually best to do make mrproper
which is a more extensive clean

But it will delete your .config so if
you want to keep it, copy it elsewhere
then copy it back in.

If you want to compile a kernel using
an old .config file, you can do a
make oldconfig

So let's say you grab a kernel from
ftp.kernel.org. I always do this:

make mrproper
make config
make dep
make bzImage
make modules
make modules_install

If you save your .config file and want
to a completely fresh compile, do

make mrproper

copy the .config to /usr/src/linux

make oldconfig
make dep
make bzImage
make modules
make modules_install


   -- Doug


_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list


_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]