Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recompiling the kernel instructions...input desired...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
carlos123
Guru
Guru


Joined: 12 Feb 2003
Posts: 536
Location: Alberta, Canada.

PostPosted: Thu Feb 27, 2003 5:57 am    Post subject: Recompiling the kernel instructions...input desired... Reply with quote

I would appreciate any constructive critique of the following instructions for recompiling the kernel.

The installation instructions referred to below may be found at https://forums.gentoo.org/viewtopic.php?t=37404. They are NOT the official Gentoo installation instructions but rather one's I am working on to make Gentoo easier to install.

Any input, corrections, or suggestions would be greatly appreciated. Thanks.

Code:

The steps outlined below may be followed to recompile the kernel after a successful
installation of Gentoo.  Numbers in parantheses correspond to the number of the
installation step found in the installation instructions.  Please refer to those
instructions for explanatory notes dealing with those steps.

01. cd /usr/src/linux
02. cp .config /tmp
03. make mrproper
04. cp /tmp/.config /usr/src/linux
05. cd /usr/src/linux (40)
06. source /etc/profile (41)
07. make menuconfig (42)
08. make dep (43)
09. make clean (44)
10. make bzImage (45)
11. make modules (46)
12. make modules_install (47)
13. mount /dev/hdb1 /boot

    The boot partition is not mounted automatically by Gentoo. As a result you
    must mount the boot partition before being able to copy the bzImage to it.

    Please note that /dev/hdb1 corresponds to the first partition of the second
    drive in the example configuration used in the installation instructions.  If you only
    have one drive and you have installed Gentoo unto partitions on that one drive,
    your boot partition will have a different device name (such as /dev/hda1).
    Just substitute whatever device name is assigned to the boot partition for your
    particular setup in place of /dev/hdb1.

14. cp /usr/src/linux/arch/i386/boot/bzImage /boot (48)
15. umount /boot
16. reboot


Carlos
Back to top
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Thu Feb 27, 2003 6:26 am    Post subject: Reply with quote

you should run a make oldconfig to add new options to .config if they exist, also why not run make install it now works (almost) for grub
Back to top
View user's profile Send private message
carlos123
Guru
Guru


Joined: 12 Feb 2003
Posts: 536
Location: Alberta, Canada.

PostPosted: Thu Feb 27, 2003 9:32 am    Post subject: Reply with quote

I think I saw "make oldconfig" somewhere. I'll have to look that one up and see what it's about.

As for "make install" with Grub I'm not sure what that is about but I will certainly do some looking around to find out more.

Thanks for the ideas David. Good input!

Carlos
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum