building a kernel from a mounted partition

Andy Johnson johnsonzjo at gmail.com
Sat May 25 15:54:56 EDT 2013


Hi,
It seems to me that you are right. It seems that there is no problem
with the timezone.
I checked and indeed the gcc is slightly different in version
is there a work around here ?
I mean, I have gcc of ubuntu, and gcc of fedora in /mnt/sda3.

Can I somehow tell Ubuntu to use the Fedora gcc instead of its own gcc?


Regards,
Andy










On Sat, May 25, 2013 at 4:50 PM, Anand Moon <moon.linux at yahoo.com> wrote:
> Hi All,
>
> Both Ubuntu and Fedora have different GCC version. So different Kernel
> images will be created on both the OS.
>
> -Anand Moon
> From: Andy Johnson <johnsonzjo at gmail.com>
> To: Valdis.Kletnieks at vt.edu
> Cc: kernelnewbies at kernelnewbies.org
> Sent: Friday, May 24, 2013 9:07 PM
> Subject: Re: building a kernel from a mounted partition
>
> Thanks
> Sorry for my ignorance - by checking timezone do you mean some
> environment variable ? I don't know much about admin tasks as you can
> figure...
> Andy
>
> On Fri, May 24, 2013 at 5:03 PM,  <Valdis.Kletnieks at vt.edu> wrote:
>> On Fri, 24 May 2013 11:05:57 +0300, Andy Johnson said:
>>> Hello,
>>> I have a dual boot machine, Ubuntu/Fedora.
>>> I have a kernel tree on the fedora partition.
>>> Now, I had build a kernel on the Fedora partition successfully.
>>>
>>>  I did **not** change anything in the tree, and then
>>>
>>> When I boot into Ubuntu and mount the fedora partition, and
>>> go there and run "make" , it builds ** all **  the tree again ! any I
>>> idea why ?
>>>
>>> And after the build on Ubuntu is over successfully, if I boot into
>>> Fedora again and run make, it **again** builds all the tree.
>>>
>>> Is there a way to avoid this ?
>>
>> Check that your timezone is set correctly in both installs - having the
>> time ping-ponged back and forth at each reboot can cause such issues.
>>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



More information about the Kernelnewbies mailing list