* confguring grub to load new kernel
@ 2005-01-27 6:01 sudhir
2005-01-27 7:13 ` Sabarinathan
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: sudhir @ 2005-01-27 6:01 UTC (permalink / raw)
To: linux-kernel
Hi,
I just compiled kernel 2.6.10 and now wondering how to make the grub to
load the newkernel.
The grub.conf file is configured as:
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
How should I change the configuration?
sudhir
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: confguring grub to load new kernel
2005-01-27 6:01 confguring grub to load new kernel sudhir
@ 2005-01-27 7:13 ` Sabarinathan
2005-01-27 7:23 ` Valdis.Kletnieks
2005-01-27 7:34 ` Andy liu
2005-01-27 16:50 ` David Hollis
2 siblings, 1 reply; 5+ messages in thread
From: Sabarinathan @ 2005-01-27 7:13 UTC (permalink / raw)
To: sudhir; +Cc: linux-kernel
Hi,
Put this entry in your grub.conf file
title Red Hat Linux (2.6.10)
root (hd0,5)
kernel /boot/vmlinuz-2.6.10 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.10.img
sudhir@digitallink.com.np wrote:
>Hi,
>
>I just compiled kernel 2.6.10 and now wondering how to make the grub to
>load the newkernel.
>
>The grub.conf file is configured as:
>
>#boot=/dev/hda
>default=1
>timeout=10
>splashimage=(hd0,5)/boot/grub/splash.xpm.gz
>title Red Hat Linux (2.4.20-8)
> root (hd0,5)
> kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
> initrd /boot/initrd-2.4.20-8.img
>title DOS
> rootnoverify (hd0,0)
> chainloader +1
>
>
>How should I change the configuration?
>
>sudhir
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
--
Regards
Sabarinathan.A
Trustix Os Programmer
Comodo India - "Invent ² Secure"
Temple Towers, Chennai
Mobile: 98403 66039
Registered Linux User: #376656
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: confguring grub to load new kernel
2005-01-27 7:13 ` Sabarinathan
@ 2005-01-27 7:23 ` Valdis.Kletnieks
0 siblings, 0 replies; 5+ messages in thread
From: Valdis.Kletnieks @ 2005-01-27 7:23 UTC (permalink / raw)
To: Sabarinathan; +Cc: sudhir, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
On Thu, 27 Jan 2005 12:43:34 +0530, Sabarinathan said:
> Put this entry in your grub.conf file
>
> title Red Hat Linux (2.6.10)
> root (hd0,5)
> kernel /boot/vmlinuz-2.6.10 ro root=LABEL=/ rhgb quiet
> initrd /boot/initrd-2.6.10.img
And *DONT* remove this one:
> >title Red Hat Linux (2.4.20-8)
> > root (hd0,5)
> > kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
> > initrd /boot/initrd-2.4.20-8.img
So if you screwed up your 2.6.10 (did you remember to upgrade to
module-init-tools, and udev if you need it, and any other userspace
upgrades you need?) you can boot back to 2.4 easily and fix what you broke
or failed to upgrade....
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: confguring grub to load new kernel
2005-01-27 6:01 confguring grub to load new kernel sudhir
2005-01-27 7:13 ` Sabarinathan
@ 2005-01-27 7:34 ` Andy liu
2005-01-27 16:50 ` David Hollis
2 siblings, 0 replies; 5+ messages in thread
From: Andy liu @ 2005-01-27 7:34 UTC (permalink / raw)
To: sudhir; +Cc: linux-kernel
sudhir@digitallink.com.np wrote:
>Hi,
>
>I just compiled kernel 2.6.10 and now wondering how to make the grub to
>load the newkernel.
>
>The grub.conf file is configured as:
>
>#boot=/dev/hda
>default=1
>timeout=10
>splashimage=(hd0,5)/boot/grub/splash.xpm.gz
>title Red Hat Linux (2.4.20-8)
> root (hd0,5)
> kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
> initrd /boot/initrd-2.4.20-8.img
>title DOS
> rootnoverify (hd0,0)
> chainloader +1
>
>
>How should I change the configuration?
>
>sudhir
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
by the way,have you update your module utility?
kernel module format has changed in linux 2.6,so do not forget to update
insmod lsmod modprobe.......
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: confguring grub to load new kernel
2005-01-27 6:01 confguring grub to load new kernel sudhir
2005-01-27 7:13 ` Sabarinathan
2005-01-27 7:34 ` Andy liu
@ 2005-01-27 16:50 ` David Hollis
2 siblings, 0 replies; 5+ messages in thread
From: David Hollis @ 2005-01-27 16:50 UTC (permalink / raw)
To: sudhir; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]
On Thu, 2005-01-27 at 01:01 -0500, sudhir@digitallink.com.np wrote:
> Hi,
>
> I just compiled kernel 2.6.10 and now wondering how to make the grub to
> load the newkernel.
>
> The grub.conf file is configured as:
>
> #boot=/dev/hda
> default=1
> timeout=10
> splashimage=(hd0,5)/boot/grub/splash.xpm.gz
> title Red Hat Linux (2.4.20-8)
> root (hd0,5)
> kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
> initrd /boot/initrd-2.4.20-8.img
> title DOS
> rootnoverify (hd0,0)
> chainloader +1
>
>
> How should I change the configuration?
Upgrade your modutils to the one from Fedora Core 2. It supports the
2.6 modules as well as 2.4 so you are covered in either case. FC3 now
uses module-init-tools which only works with 2.6. You should be able to
just run a 'make install' which will use /sbin/installkernel to setup
the proper files in /boot.
The Fedora kernel RPMS use this kind of statement to add the entries to
grub:
[ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --package kernel --
mkinitrd --depmod --install 2.6.10-1.741_FC3
Should work for you as well with no issues.
--
David Hollis <dhollis@davehollis.com>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-27 16:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27 6:01 confguring grub to load new kernel sudhir
2005-01-27 7:13 ` Sabarinathan
2005-01-27 7:23 ` Valdis.Kletnieks
2005-01-27 7:34 ` Andy liu
2005-01-27 16:50 ` David Hollis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox