Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-18-2003, 04:05 PM   #1
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,722

Rep: Reputation: 176Reputation: 176
Kernel cross compilation and install disks


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.
make mrproper
Copy /boot/.config from the target host into /usr/src/linux.
make menuconfig
make dep clean bzImage
make modules

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>).

Thanks for all your answers in advance!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-Compilation Question lucky6969b Linux - Software 0 12-01-2005 08:31 PM
Kernel compilation error using cross compiler bond_7942 Linux - Software 0 02-02-2005 01:18 AM
cross compilation Kocil Slackware 6 12-18-2003 02:53 PM
Static Bind Applications to Kernel; cross compilation Alybyzrp Linux - Newbie 0 11-25-2003 02:38 PM
Cross-compilation radhapriya Linux - Software 0 08-11-2003 08:24 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration