Mailing List Archive

kernel 2.6.x make install ?
I've got to rebuild my kernel due to the fact that nvidia-kernel won't build.
(errors tell me to do "make mrproper"). If I take the shortcut and use make
install to copy over my bzImage, will it show as a new kernel in my grub
menu, or will it overwrite my old image?
--
Regards, Ernie
100% Microsoft and Intel free

20:08:20 up 6 days, 20:54, 1 user, load average: 0.76, 0.25, 0.17
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+


--
gentoo-user@gentoo.org mailing list
Re: kernel 2.6.x make install ? [ In reply to ]
Andres Moore wrote:

>Make install don´t make any change over the grub.conf.
>You have to do it by hand.
>
>andres
>
>
>
>On Tue, 12 Oct 2004 20:12:11 -0400, Ernie Schroder <schroder@ntplx.net> wrote:
>
>
>>I've got to rebuild my kernel due to the fact that nvidia-kernel won't build.
>>(errors tell me to do "make mrproper"). If I take the shortcut and use make
>>install to copy over my bzImage, will it show as a new kernel in my grub
>>menu, or will it overwrite my old image?
>>--
>>Regards, Ernie
>>100% Microsoft and Intel free
>>
>> 20:08:20 up 6 days, 20:54, 1 user, load average: 0.76, 0.25, 0.17
>>Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
>>
>>--
>>gentoo-user@gentoo.org mailing list
>>
>>
>>
>>
>
>
>
>
if you copy the new bzimage over the old one you wont have to touch the
grub config, just make sure the changes you are doing wont make your
system non-bootable or you'll be up a creek.

HTH

nick

--
gentoo-user@gentoo.org mailing list
Re: kernel 2.6.x make install ? [ In reply to ]
Make install don´t make any change over the grub.conf.
You have to do it by hand.

andres



On Tue, 12 Oct 2004 20:12:11 -0400, Ernie Schroder <schroder@ntplx.net> wrote:
> I've got to rebuild my kernel due to the fact that nvidia-kernel won't build.
> (errors tell me to do "make mrproper"). If I take the shortcut and use make
> install to copy over my bzImage, will it show as a new kernel in my grub
> menu, or will it overwrite my old image?
> --
> Regards, Ernie
> 100% Microsoft and Intel free
>
> 20:08:20 up 6 days, 20:54, 1 user, load average: 0.76, 0.25, 0.17
> Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
---

When we are young
Wandering the face of the Earth
Wondering what our dreams might be worth
Learning that we're only immortal
For a limited time

Neil Peart - Dreamline

--
gentoo-user@gentoo.org mailing list
Re: kernel 2.6.x make install ? [ In reply to ]
Indeed what i normally do is:

mount /boot
mv /boot/bzImage /boot/bzImage.1
cp /usr/src/linux/arch/i386/boot/bzImage /boot
umount /boot

On Tue, 12 Oct 2004 21:42:35 +0000
Nick Smith <nick@computernick.com> wrote:

> Andres Moore wrote:
>
> >Make install don´t make any change over the grub.conf.
> >You have to do it by hand.
> >
> >andres
> >
> >
> >
> >On Tue, 12 Oct 2004 20:12:11 -0400, Ernie Schroder <schroder@ntplx.net> wrote:
> >
> >
> >>I've got to rebuild my kernel due to the fact that nvidia-kernel won't build.
> >>(errors tell me to do "make mrproper"). If I take the shortcut and use make
> >>install to copy over my bzImage, will it show as a new kernel in my grub
> >>menu, or will it overwrite my old image?
> >>--
> >>Regards, Ernie
> >>100% Microsoft and Intel free
> >>
> >> 20:08:20 up 6 days, 20:54, 1 user, load average: 0.76, 0.25, 0.17
> >>Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
> >>
> >>--
> >>gentoo-user@gentoo.org mailing list
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> if you copy the new bzimage over the old one you wont have to touch the
> grub config, just make sure the changes you are doing wont make your
> system non-bootable or you'll be up a creek.
>
> HTH
>
> nick
>
> --
> gentoo-user@gentoo.org mailing list

--
Nick Rout <nick@rout.co.nz>


--
gentoo-user@gentoo.org mailing list
Re: kernel 2.6.x make install ? [ In reply to ]
On Tuesday 12 October 2004 10:45 pm, a tiny voice compelled Nick Rout to
write:
> Indeed what i normally do is:
>
> mount /boot
> mv /boot/bzImage /boot/bzImage.1
> cp /usr/src/linux/arch/i386/boot/bzImage /boot
> umount /boot
>
> On Tue, 12 Oct 2004 21:42:35 +0000
>
> Nick Smith <nick@computernick.com> wrote:
> > Andres Moore wrote:
> > >Make install don´t make any change over the grub.conf.
> > >You have to do it by hand.
> > >
> > >andres
> > >
> > >On Tue, 12 Oct 2004 20:12:11 -0400, Ernie Schroder <schroder@ntplx.net>
wrote:
> > >>I've got to rebuild my kernel due to the fact that nvidia-kernel won't
> > >> build. (errors tell me to do "make mrproper"). If I take the shortcut
> > >> and use make install to copy over my bzImage, will it show as a new
> > >> kernel in my grub menu, or will it overwrite my old image?
> > >>--
> > >>Regards, Ernie
> > >>100% Microsoft and Intel free
> > >>
> > >> 20:08:20 up 6 days, 20:54, 1 user, load average: 0.76, 0.25, 0.17
> > >>Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
> > >>
> > >>--
> > >>gentoo-user@gentoo.org mailing list
> >
> > if you copy the new bzimage over the old one you wont have to touch the
> > grub config, just make sure the changes you are doing wont make your
> > system non-bootable or you'll be up a creek.
> >
> > HTH
> >
> > nick
> >
> > --
> > gentoo-user@gentoo.org mailing list


Thanks guys, I got it in my head that the new "make install" command copied
over the image to /boot.....
--
Regards, Ernie
100% Microsoft and Intel free

22:53:53 up 6 days, 23:40, 1 user, load average: 0.11, 0.17, 0.29
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+


--
gentoo-user@gentoo.org mailing list
Re: kernel 2.6.x make install ? [ In reply to ]
On Tue, 12 Oct 2004 22:55:15 -0400
Ernie Schroder <schroder@ntplx.net> wrote:

> On Tuesday 12 October 2004 10:45 pm, a tiny voice compelled Nick Rout to
> write:
> > Indeed what i normally do is:
> >
> > mount /boot
> > mv /boot/bzImage /boot/bzImage.1
> > cp /usr/src/linux/arch/i386/boot/bzImage /boot
> > umount /boot
> >
> > On Tue, 12 Oct 2004 21:42:35 +0000
> >
> > Nick Smith <nick@computernick.com> wrote:
> > > Andres Moore wrote:
> > > >Make install don´t make any change over the grub.conf.
> > > >You have to do it by hand.
> > > >
> > > >andres
> > > >
> > > >On Tue, 12 Oct 2004 20:12:11 -0400, Ernie Schroder <schroder@ntplx.net>
> wrote:
> > > >>I've got to rebuild my kernel due to the fact that nvidia-kernel won't
> > > >> build. (errors tell me to do "make mrproper"). If I take the shortcut
> > > >> and use make install to copy over my bzImage, will it show as a new
> > > >> kernel in my grub menu, or will it overwrite my old image?
> > > >>--
> > > >>Regards, Ernie
> > > >>100% Microsoft and Intel free
> > > >>
> > > >> 20:08:20 up 6 days, 20:54, 1 user, load average: 0.76, 0.25, 0.17
> > > >>Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
> > > >>
> > > >>--
> > > >>gentoo-user@gentoo.org mailing list
> > >
> > > if you copy the new bzimage over the old one you wont have to touch the
> > > grub config, just make sure the changes you are doing wont make your
> > > system non-bootable or you'll be up a creek.
> > >
> > > HTH
> > >
> > > nick
> > >
> > > --
> > > gentoo-user@gentoo.org mailing list
>
>
> Thanks guys, I got it in my head that the new "make install" command copied
> over the image to /boot.....

usefully the 2.6 series kernels have "make help" - this will tell you
that "make install" installs the kernel by calling "/sbin/installkernel".
(actually there is a per user option too). installkernel has a man page.

I prefer to do it by hand.


> --
> Regards, Ernie
> 100% Microsoft and Intel free
>
> 22:53:53 up 6 days, 23:40, 1 user, load average: 0.11, 0.17, 0.29
> Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
>
>
> --
> gentoo-user@gentoo.org mailing list

--
Nick Rout <nick@rout.co.nz>


--
gentoo-user@gentoo.org mailing list
Re: kernel 2.6.x make install ? [ In reply to ]
Nick Rout wrote:
> Indeed what i normally do is:
>
> mount /boot
> mv /boot/bzImage /boot/bzImage.1
> cp /usr/src/linux/arch/i386/boot/bzImage /boot
> umount /boot

make install will do just that (basically). It will (basically *G*) copy
/boot/vmlinuz to /boot/vmlinuz.old and install the new kernel image as
/boot/vmlinuz (well, basically *G*):

[09:10:55 alexander@server:~/bin] $ ls -la /boot
insgesamt 8301
drwxr-xr-x 4 root root 2048 12. Okt 18:33 .
drwxr-xr-x 24 root root 1024 10. Okt 16:15 ..
lrwxrwxrwx 1 root root 1 16. Jul 18:22 boot -> .
lrwxrwxrwx 1 root root 18 12. Okt 18:33 config -> config-2.6.8.1-ck9
-rw-r--r-- 1 root root 29840 12. Okt 18:33 config-2.6.8.1-ck9
-rw-r--r-- 1 root root 29882 10. Okt 16:53 config-2.6.8.1-ck9.mit-auto-devfs
-rw-r--r-- 1 root root 27004 3. Okt 13:29 config-2.6.8.1-ck9.ohne-matroxfb
-rw-r--r-- 1 root root 29882 10. Okt 16:53 config-2.6.8.1-ck9.old
lrwxrwxrwx 1 root root 22 12. Okt 18:33 config.old -> config-2.6.8.1-ck9.old
drwxr-xr-x 2 root root 1024 12. Okt 18:40 grub
-rw-r--r-- 1 root root 0 3. Okt 13:54 .keep
drwx------ 2 root root 12288 16. Jul 18:12 lost+found
lrwxrwxrwx 1 root root 22 12. Okt 18:33 System.map -> System.map-2.6.8.1-ck9
-rw-r--r-- 1 root root 763094 12. Okt 18:33 System.map-2.6.8.1-ck9
-rw-r--r-- 1 root root 766483 10. Okt 16:53 System.map-2.6.8.1-ck9.mit-auto-devfs
-rw-r--r-- 1 root root 743021 3. Okt 13:29 System.map-2.6.8.1-ck9.ohne-matroxfb
-rw-r--r-- 1 root root 766483 10. Okt 16:53 System.map-2.6.8.1-ck9.old
lrwxrwxrwx 1 root root 26 12. Okt 18:33 System.map.old -> System.map-2.6.8.1-ck9.old
lrwxrwxrwx 1 root root 19 12. Okt 18:33 vmlinuz -> vmlinuz-2.6.8.1-ck9
-rw-r--r-- 1 root root 1330072 12. Okt 18:33 vmlinuz-2.6.8.1-ck9
-rw-r--r-- 1 root root 1339228 10. Okt 16:53 vmlinuz-2.6.8.1-ck9.mit-auto-devfs
-rw-r--r-- 1 root root 1265326 3. Okt 13:29 vmlinuz-2.6.8.1-ck9.ohne-matroxfb
-rw-r--r-- 1 root root 1339228 10. Okt 16:53 vmlinuz-2.6.8.1-ck9.old
lrwxrwxrwx 1 root root 23 12. Okt 18:33 vmlinuz.old -> vmlinuz-2.6.8.1-ck9.old

Note the symlinks.

Alexander Skwar
--
panic("aha1740.c"); /* Goodbye */
2.2.16 /usr/src/linux/drivers/scsi/aha1740.c
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


--
gentoo-user@gentoo.org mailing list