LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-18-2003, 03:05 PM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,600

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


Hi,

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?

<CreateInstallDisks>
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.
</CreateInstallDisks>

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!
 
  


Reply


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 07:31 PM
Kernel compilation error using cross compiler bond_7942 Linux - Software 0 02-02-2005 12:18 AM
cross compilation Kocil Slackware 6 12-18-2003 01:53 PM
Static Bind Applications to Kernel; cross compilation Alybyzrp Linux - Newbie 0 11-25-2003 01:38 PM
Cross-compilation radhapriya Linux - Software 0 08-11-2003 07:24 AM


All times are GMT -5. The time now is 02:45 AM.

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