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

Re: compiling kernel



Cool, I'll try this.  Is there a reason for not doing the whole thing as
root?
When I compiled the first time, I could not do the'make mrproper' except as
root (some weird stuff happened, but I don't remember exactly what).  But I
haven't checked the path as normal user (I don't know why else 'make'
wouldn't work).

>
>
> No.  Delete the directory (rm -rf /lib/modules/2.2.162.2.16).
>
>    J> Or should I just re-compile the kernel?
>
> Yes.  Do
>
>    cd /usr/src/linux
>    cp .config ../kernel-config-2.2.16
>    make mrproper
>    cp ../kernel-config-2.2.16 .config
>    make oldconfig
>    make dep
>    make vmlinux
>    make modules
>    (as root)
>    make modules_install
>    cp vmlinux /boot/vmlinux-2.2.16
>    cp vmlinux /path/to/your/kernel/folder/under/MacOS/vmlinux-2.2.16
>    cp System.map /boot/System.map-2.2.16
>    shutdown -r now "Testing new kernel."
>
> Choose vmlinux-2.2.16 from the menu in BootX.
> Click on Linux.
> Voila.



Reply to: