November 21, 2024, 10:03:47 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Kernel Installation  (Read 7603 times)

Offline Equinox

  • Linux Noob !
  • *
  • Posts: 6
Kernel Installation
« on: June 23, 2007, 08:41:12 AM »
Hi all; I tried installing the latest kernel stable version ,2.6.21... over 2.4...everything went on fine but I faced some problems so I am listing them down, please tell me where did I go wrong, but b4 that some doubt clearance:

1. When I will do "make dep; make clean", from which directory will do this??
The old linux directory or the new linux directory in /usr/src

2. When I say "make bzImage", its giving me a problem as the file vmlinux is truncated and could not be copied to
/usr/src/linux-2.6.21.../arch/i386/boot/compressed
and hence this is not getting completed what to do????

3. After once bzImage is created succesfully, what will it be a directory??? or a bzip2 file???
and where will I find it??

Thanks for helping me out..
Soham

Offline Equinox

  • Linux Noob !
  • *
  • Posts: 6
Re: Kernel Installation
« Reply #1 on: June 25, 2007, 04:40:08 AM »
Hi...
I was able to solve the problem of vmlinux file being truncated...and thus finally I got a bzImage...but now I have got another problem

I was using kernel 2.4 with a proper gui interface....now once I have updated my lilo.conf file for the new kernel image file of version 2.6 I am not getting anything happening on my system..the display just blanks out.....What to do to get that gui interface over the new kernel version????please help :-\

Equinox

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Re: Kernel Installation
« Reply #2 on: July 04, 2007, 10:33:02 AM »
Could you please share how you  solved the VMLinux Truncated problem?

Offline Equinox

  • Linux Noob !
  • *
  • Posts: 6
Re: Kernel Installation
« Reply #3 on: July 04, 2007, 10:40:12 AM »
I finally succeded to compile the kernel, using the following OBJCOPYFLAGS in arch/i386/Makefile.

OBJCOPYFLAGS := -O binary --change-section-lma .bss-0xc0000000 -R .note -R .comment -S