Re: problem with booting from grub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

(1) Install kernel source for linux2.4.21-4.EL .
(2) Check the EXTRAVERSION variable in /usr/src/linux2.4.21-4.EL/Makefile
    is "-4.ELcustom". (Add the suffix "custom" if missing.)
(3) Run the following.
make -s menuconfig
make -s dep
make -s 
make -s modules modules_install install
(4) You will get
/boot/vmlinuz-2.4.21-4.ELcustom and /boot/initrd-2.4.21-4.ELcustom.img
installed and /boot/grub/grub.conf updated.
If "make install" doesn't create initrd-2.4.21-4.ELcustom.img automatically,
"mkinitrd /boot/initrd-2.4.21-4.ELcustom.img 2.4.21-4.ELcustom"
will create the initrd.

> created a test version named testlinux and started the
> compilation,configuration.i intend to work on
Since the suffix "custom" is added to Makefile, you needn't to worry
modifing the original kernel.
> no bzimage was copied to /boot.i had todo it manuall.
In the /boot directory, bzImage exists as vmlinuz-$kernelversion .

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux