* [gentoo-user] Several arches installed, flag kernel automatically
@ 2007-01-03 16:23 Matthias Fechner
2007-01-03 17:11 ` Ryan Sims
0 siblings, 1 reply; 5+ messages in thread
From: Matthias Fechner @ 2007-01-03 16:23 UTC (permalink / raw
To: gentoo-user
Hi,
I have here two gentoo systems one 32-bit and one 64-bit.
To save space on my harddisk the mounts /home and /boot are used from
both systems.
Now I have the problem with the kernel version.
Both systems running kernel 2.6.18-gentoo-r6.
If I install now the kernel from the 64-bit system it overwrites the
kernel from the 32-bit system.
In the kernel config is a variable available LOCALVERSION to append
some text to the kernel to prevent the overwrite.
Is it possible to global define this variable e.g. in /etc/make.conf?
Thx a lot,
Matthias
--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Several arches installed, flag kernel automatically
2007-01-03 16:23 [gentoo-user] Several arches installed, flag kernel automatically Matthias Fechner
@ 2007-01-03 17:11 ` Ryan Sims
2007-01-03 17:46 ` Matthias Fechner
0 siblings, 1 reply; 5+ messages in thread
From: Ryan Sims @ 2007-01-03 17:11 UTC (permalink / raw
To: gentoo-user
On 1/3/07, Matthias Fechner <idefix@fechner.net> wrote:
> Hi,
>
> I have here two gentoo systems one 32-bit and one 64-bit.
>
> To save space on my harddisk the mounts /home and /boot are used from
> both systems.
>
> Now I have the problem with the kernel version.
> Both systems running kernel 2.6.18-gentoo-r6.
>
> If I install now the kernel from the 64-bit system it overwrites the
> kernel from the 32-bit system.
I assume you're using "make install" after building your kernel? I
usually do a "cp arch/[insert your arch here]/boot/bzImage
/boot/kernel-[version string]" (and then one for the System.map)
Would that do what you want?
--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Several arches installed, flag kernel automatically
2007-01-03 17:11 ` Ryan Sims
@ 2007-01-03 17:46 ` Matthias Fechner
2007-01-04 13:15 ` Nelson, David (ED, PAR&D)
0 siblings, 1 reply; 5+ messages in thread
From: Matthias Fechner @ 2007-01-03 17:46 UTC (permalink / raw
To: gentoo-user
Hello Ryan,
* Ryan Sims <rwsims@gmail.com> [03-01-07 12:11]:
> I assume you're using "make install" after building your kernel? I
> usually do a "cp arch/[insert your arch here]/boot/bzImage
> /boot/kernel-[version string]" (and then one for the System.map)
> Would that do what you want?
No :)
I want to use make install and the Makefile should not generate a
vmlinuz it should generate a vmlinuz-$LOCALVERSION.
You know if that is possible?
Thx a lot
Matthias
--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-user] Several arches installed, flag kernel automatically
2007-01-03 17:46 ` Matthias Fechner
@ 2007-01-04 13:15 ` Nelson, David (ED, PAR&D)
2007-01-04 16:20 ` Matthias Fechner
0 siblings, 1 reply; 5+ messages in thread
From: Nelson, David (ED, PAR&D) @ 2007-01-04 13:15 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Matthias Fechner [mailto:idefix@fechner.net]
> Sent: 03 January 2007 17:46
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Several arches installed, flag kernel
> automatically
>
> No :)
>
> I want to use make install and the Makefile should not generate a
> vmlinuz it should generate a vmlinuz-$LOCALVERSION.
>
> You know if that is possible?
At the risk of maybe coming off as slightly rude (not my intention!) -
why not? It is the simplest solution to make sure the kernels don't
interfere with each other.
You could try playing with the makefile I guess - there should be some
sort of instruction in there to tell it where to put the kernel. I would
have a look myself if I had a copy of the kernel stuff to hand.
David "On a Windows 2000 workstation... boo" Nelson
Note: These views are my own, advice is provided with no guarantee of
success. I do not represent anyone else in any emails I send to this
list.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Several arches installed, flag kernel automatically
2007-01-04 13:15 ` Nelson, David (ED, PAR&D)
@ 2007-01-04 16:20 ` Matthias Fechner
0 siblings, 0 replies; 5+ messages in thread
From: Matthias Fechner @ 2007-01-04 16:20 UTC (permalink / raw
To: gentoo-user
Hi David,
Nelson, David (ED, PAR&D) schrieb:
> You could try playing with the makefile I guess - there should be some
> sort of instruction in there to tell it where to put the kernel. I would
> have a look myself if I had a copy of the kernel stuff to hand.
thx for your answer.
I do it now in the following way:
Set LOCALVERSION in the .config file from the kernel (if you find the
right menu point you can also do it with make menuconfig, but vim is
faster *g*).
Compile the kernel and easily install it with make install.
Then I have the files:
System.map-2.6.18-gentoo-r6-32bit
config...
vmlinuz...
In grub I always have the link to the full name and not to the symlink.
That works fine but if I upgrade to a new kernel I must always update my
grub config file.
Ok that is not so bad but if there would be a solution to solve it with
a symlink I would prefer it :)
Best regards,
Matthias
--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-04 16:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-03 16:23 [gentoo-user] Several arches installed, flag kernel automatically Matthias Fechner
2007-01-03 17:11 ` Ryan Sims
2007-01-03 17:46 ` Matthias Fechner
2007-01-04 13:15 ` Nelson, David (ED, PAR&D)
2007-01-04 16:20 ` Matthias Fechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox