Kernel 64bit
Giridhara RP (grp)
grp at cisco.com
Thu May 23 06:08:50 EDT 2013
I did not see any file (vmlinuz-<version>.x86_64) under /boot. I was only looking at bzImage found under <arch>/boot/ . Am I missing something?
[root at grpRHEL2 linux-2.6.32.60]# pwd
/root/lin_2/linux-2.6.32.60
[root at grpRHEL2 linux-2.6.32.60]# find . | grep -i vmlinuz
[root at grpRHEL2 linux-2.6.32.60]#
[root at grpRHEL2 linux-2.6.32.60]#
[root at grpRHEL2 linux-2.6.32.60]# file vmlinux
vmlinux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
[root at grpRHEL2 linux-2.6.32.60]# file vmlinux.o
vmlinux.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
[root at grpRHEL2 linux-2.6.32.60]# file arch/x86/boot/bzImage
arch/x86/boot/bzImage: Linux kernel x86 boot executable bzImage, version 2.6.32.60 (root at grpRHEL2) #1 SM, RO-rootFS, swap_dev 0x3, Normal VGA
[root at grpRHEL2 linux-2.6.32.60]# file arch/x86_64/boot/bzImage
arch/x86_64/boot/bzImage: symbolic link to `../../x86/boot/bzImage'
-----Original Message-----
From: amit mehta [mailto:gmate.amit at gmail.com]
Sent: Thursday, May 23, 2013 3:31 PM
To: Giridhara RP (grp)
Cc: kernelnewbies at kernelnewbies.org
Subject: Re: Kernel 64bit
On Thu, May 23, 2013 at 2:45 PM, Giridhara RP (grp) <grp at cisco.com> wrote:
> Looks like I copied wrong output in my previous email. Here is the output. Also, what should I do with 'grub'?
>
> 5. After boot 'uname -a' , shows this.
> Linux 2.6.32-60 #1 SMP Mon Mar 25 16:20:30 IST 2013 i686 GNU/Linux
Generally, After building a new kernel, I issue 'update-grub' command on my ubuntu box to add proper entries for the newly built kernel in the grub configuration file, but I think 'make install' will take care of this as well. However, as you've confirmed that you've successfully booted from the newly built kernel, which is still being reported as a 32 bit kernel, therefore we can safely reject the case of incorrect and or missing grub entry.
Do you see compressed x86_64 bit kernel image(vmlinuz-<version>.x86_64) under /boot ?
More information about the Kernelnewbies
mailing list