Skip to contentSkip to conversation

Compiling kernel for a different machine.

DISCUSSION Axel H. Siebenwirth 4 participants 6 messages May 17, 2002 – May 18, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

1)
I guess it should be ok compiling a kernel for one machine on a second one? So if I have done so, it there all I need to copy over to the other machine System.map and bzImage. Am I right about that?

2)
I have checked out X server from cvs. Can I use cvs to track changes made to spefific files/directories? I have not got so much out of "cvs log" or I made something wrong.

Thank you and my best regards,
Axel Siebenwirth
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw

On Friday 17 May 2002 19:01, Axel H. Siebenwirth wrote using one of his keyboards:

Quoted 6 lines

Hello,

1)
I guess it should be ok compiling a kernel for one machine on a second one? So if I have done so, it there all I need to copy over to the other machine System.map and bzImage. Am I right about that?

don't forget the modules - if any

Quoted 5 lines

2)
I have checked out X server from cvs. Can I use cvs to track changes made to spefific files/directories? I have not got so much out of "cvs log" or I made something wrong.

dunno :-)

Quoted 8 lines

Thank you and my best regards,
Axel Siebenwirth
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 6 lines
  7:57pm  up 22 min,  2 users,  load average: 0.07, 0.33, 0.24
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#2 lore raw
In reply to Axel H. Siebenwirth
Quoted 3 lines · Axel H. Siebenwirth

I have checked out X server from cvs. Can I use cvs to track changes made to spefific files/directories? I have not got so much out of "cvs log" or I made something wrong.

Use "cvs update" to sync your sources with the central repository.

Elias

Signature · 6 lines
http://gnewtellium.sourceforge.net			MP3 is not a crime.	
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#3 lore raw
In reply to Axel H. Siebenwirth
Quoted 6 lines · Axel H. Siebenwirth

Hello,

1)
I guess it should be ok compiling a kernel for one machine on a second one? So if I have done so, it there all I need to copy over to the other machine System.map and bzImage. Am I right about that?

You have had some hints from others but no one as yet has said the magic word, "Will it boot",,,,,?????
Answer Yes if made too or the two machines use the same device for there root filesystem.
Why the same device,?
Details;
Machine one where the compiling is done will compile an image, in that image there is a defined "BOOT_DEVICE" if both machines have (say for the sake iof easyness the same device) /dev/hda1 then there is no problem, if machine one has /dev/hda1 and the target machine has /dev/hda2, NO it wont boot out of the box.

How do we get it to boot, answer easy;
rdev bzImage /dev/hdxx where xx is the drive and partition nr. Or define ROOT_DEV = /dev/xxx in the Topdir Makefile

Recap;
use rdev # rdev -h or 'man rdev'
copy the image to the new machine with ftp (for example)
create /lib/modules/version number (on the destination machine) ftp the compelete /lib/modules/version-number tree to the destination machine. copy System.map to /boot
Edit /etc/lilo.conf on the destination machine, presuming you use lilo, check all is ok with /sbin/lilo -t
then if no errors occur /sbin/lilo
Reboot.

Quoted 5 lines

2)
I have checked out X server from cvs. Can I use cvs to track changes made to spefific files/directories? I have not got so much out of "cvs log" or I made something wrong.

When upgrading a kernel version you do not need to even think about changing or upgrading X, if i may say so, if you need to ask howto compile a kernel on a machine for another destination then i would certainly not advise you to go around updating your X server.

Quoted 3 lines

Thank you and my best regards,
Axel Siebenwirth

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#4 lore raw

Hi Richard!

On Fri, 17 May 2002, Richard Adams wrote:

First off thank you very much about the kernel help. That will prove very helpful I guess :)

Quoted 9 lines
Quoted 4 lines

2)
I have checked out X server from cvs. Can I use cvs to track changes made to spefific files/directories? I have not got so much out of "cvs log" or I made something wrong.

When upgrading a kernel version you do not need to even think about changing or upgrading X, if i may say so, if you need to ask howto compile a kernel on a machine for another destination then i would certainly not advise you to go around updating your X server.

What I meant by my question is not at all related to the kernel thing. I was just wondering how I can use cvs to show me the changes that have been made to certain file in my cvs checkout. For example, if some cvs comitter of XFree86 has change a Makefile in any subdirectory, I like to know what exactly has been done. As far as I know cvs is capable of that. And I'd also like to know how to find files in a cvs working directory that have "recently" been changed..

Thank you,
Axel
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#5 lore raw
Quoted 17 lines · Axel H. Siebenwirth

Hi Richard!

On Fri, 17 May 2002, Richard Adams wrote:

First off thank you very much about the kernel help. That will prove very helpful I guess :)

Quoted 9 lines
Quoted 4 lines

2)
I have checked out X server from cvs. Can I use cvs to track changes made to spefific files/directories? I have not got so much out of "cvs log" or I made something wrong.

When upgrading a kernel version you do not need to even think about changing or upgrading X, if i may say so, if you need to ask howto compile a kernel on a machine for another destination then i would certainly not advise you to go around updating your X server.

Quoted 7 lines

What I meant by my question is not at all related to the kernel thing. I was just wondering how I can use cvs to show me the changes that have been made to certain file in my cvs checkout. For example, if some cvs comitter of XFree86 has change a Makefile in any subdirectory, I like to know what exactly has been done. As far as I know cvs is capable of that. And I'd also like to know how to find files in a cvs working directory that have "recently" been changed..

Is the CHANGES file not enough,? i thought that was standard thesedays, its an accepted thing that all changes be entered into a changes file. I rearly use cvs myself so i have never really thought about it all that much.

Quoted 3 lines

Thank you,
Axel

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs