SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
what do I have to do, when I want to build a new kernel for a different system and create boot and modules / installation / supplemental disks for it?
Eg: Compile kernel and modules on SuSE with Athlon XP for Slackware with Pentium Classic.
Would you think the following should work?
On the build host as a non-privileged user:
Create a directory under which the /usr/src/linux tree will be placed.
Copy the kernel sources tree there.
Copy /boot/.config from the target host into /usr/src/linux.
make dep clean bzImage
Prepare three MS-DOS formatted disks.
Copy <some_dir>/usr/src/linux/drivers/*/*.o to one of the disks.
Copy setup and other programs to the other two disks.
Format another disk: fdformat /dev/fd0u1440.
Copy the new kernel and the corresponding system map onto that disk.
Well, I think, this is all necessary, but there might be more steps required.
Do I have to issue lilo? What about rdev?
Let me emphasize, that I'm not talking about just a boot disk for an already running system. Instaed I want to create an all new set of installation disks, optimized for my system. Of course, I'd like to copy the kernel then onto the target system, in the end.
I've asked some details about this in other threads and received answers from very helpful people, but I have still problems with this subject. Maybe I've not quite grasped it, as either my network adapter is not detected or the boot process stops with a kernel panic (and wants me to issue root=<parameters>).