LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   So, is this ok - succinct kernel build. (https://www.linuxquestions.org/questions/linux-newbie-8/so-is-this-ok-succinct-kernel-build-208269/)

machiner 07-22-2004 08:31 AM

So, is this ok - succinct kernel build.
 
So -- this is what I've got:

I Installed the source to 2.6.3-15 through Mandrakes ?drak install GUI.

I logged out - back in, opening konsole.

su -
cd /usr/src/linux
make mrproper
make menuconfig
make bzImage -- I should do this step, ey?
make modules
make modules_install
make install

mkinitrd /boot/initrd---my version--img --myversion--
(mkinitrd -k vmlinux-VERSION -i initrd-VERSION)


$ cp arch/i386/boot/bzImage /boot/bzImage-KERNEL_VERSION
$ cp System.map /boot/System.map-KERNEL_VERSION
$ ln -s /boot/System.map-KERNEL_VERSION /boot/System.map


Now -- I should be good to go, ey.

When I reboot from here, mandrake will configure lilo for me, the entry will be there when I reboot, I should be able to boot into the lean mean kernel I just built???

Must I run xf86config before I reboot?

machiner

Machard 08-20-2004 01:26 AM

total newb responce but ...
 
... I think you XF files only really controls your display. Hope (I'm right) that helps.

Cheers.

Mikhail_16 08-20-2004 03:18 AM

Erm, you MUST run /sbin/lilo before you reboot, so that lilo can figure out that there is a new bootable image and add it to the MBR. Otherwise you are looking at a nice little unbootalbe system (expect empty screen with LI in the corner).

xf86config has nothing to do with kernel, nothing at all.

machiner 08-20-2004 09:44 AM

rock on


All times are GMT -5. The time now is 04:49 PM.