On 02/21/2004 10:17 AM, Anders Johansson wrote:
Step 5: run make bzImage
assuming the compile finishes cleanly, go to
Step 6: If you selected anything to be compiled as modules, run make modules make modules install
Or, 5 & 6 can be combined by just using make, except you still need "make modules_install". Check "make help" to see all just make will do. BTW, i got this from the post-halloween-2.5.txt on the internet.
Note that all the steps above can be run as your regular user, you don't have to be root until you get to
I have never tried it as a user, but I would think make modules_install would have to be root as the user couldn't write to /lib/modules/.
Step 7: copy (or move) /src/arch/i386/boot/bzImage to /boot/vmlinuz- 2.6.3-trey1
I would add copy System.map /boot/System.map-2.6.3-trey1, and I would suggest this stage after make before make modules_install, but it is not mandatory. I would also add a cd /lib/modules/2.6.3-trey1/, then depmod -ae.
In case you compiled reiserfs or other important features that you need to mount your root partition as modules, you will need to do
Step 7a: run mk_initrd -k vmlinuz-2.6.3-trey1 -i initrd-2.6.3-trey1
If you need more control over the modules (some have changed names from the /etc/sysconfig/kernel file), they can be specified by adding -m "" tp the above line and putting the module names in between the quotes.
This should be all you need to get you up and running, and on the net.
It would also be a good idea to add the following to your fstab. It doesn't hurt 2.4, but is recommended for 2.6. sysfs /sys sysfs defaults 0 0 and add cd /, mkdir /sys
DISCLAIMER: the above worked well for me. YMMV and all that, but it should work. If I made a mistake there I'm sure they'll be corrected viciously :)
I thought you did a good job Anders. I know you have taught me a lot over the last 4 years. ;-) -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.