RE: two versions of kernel

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

 




>-----Original Message-----
>From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-
>bounce@xxxxxxxxxxxx] On Behalf Of Jan Hudec
>Sent: Wednesday, August 10, 2005 12:51 PM
>To: varun
>Cc: kernelnewbies@xxxxxxxxxxxx; kernel_newbie@xxxxxx;
>vidiyala2005@xxxxxxxxx
>Subject: Re: two versions of kernel
>
>On Wed, Aug 10, 2005 at 11:57:44 +0530, varun wrote:
>>
>> On Wed, 2005-08-10 at 10:34, vidiyala prashanth wrote:
>> > I have two versions of kernel 2.4.21-4.EL and 2.4.20
>> > what does EL stand for?
>>   EL stands for enterprise linux.
>> > i'd like to have both the versions in my boot prompt.
>> > i have a dual boot system (win98 & red hat linux(9.1) kernel :
>> > 2.4.21-4.EL)
>>   Assuming that you have a compiled kernel in /boot dir.
>>   To make sure check if you have bzImage in /boot.
>Except it's called vmlinuz in /boot! (it is installed this way by make
>install in kernel source)
>>   All you have to do is open /etc/grub.conf
>Pardon me, but most systems really have /boot/grub/menu.lst (as is grub
>default).  Even Debian does, though it's violation of FHS -- but it is
>necessary as /boot is sometimes the only partition accessible to grub
(eg.
>if
>bios can't handle the whole disk, only beginning part of it).

Actually this '/etc/grub.conf' is a link to /boot/grub/grub.conf. So
effectively 'grub.conf' lies in /boot and hence accessible to grub.

Regards,
Sanjay
>>   in the file add the following lines
>>   title <give any name want eg:2.4.20>
>>         root (hd0,1) /*This may differ in your system*/
>>         kernel /boot/bzImage ro root=/dev/hda2 /*the root= must be
>> chosen based on the root partition of your linux.
>>         to check this use fdisk -l command and figure out.
>>
>> > i'd like to add the third one in my GRUB for kernel 2.4.20
>> > how do i do that?please guide
>
>Tried reading grub documentation?
>
>-----------------------------------------------------------------------
----
>----
>						 Jan 'Bulb' Hudec
<bulb@xxxxxx>

--
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