confguring grub to load new 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.imgtitle DOS
rootnoverify (hd0,0)
chainloader +1
How should I change the configuration?
sudhir
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
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.imgQuoted 37 lines · [email protected] 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.imgtitle DOS
rootnoverify (hd0,0)
chainloader +1How 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 7 lines
Regards Sabarinathan.A Trustix Os Programmer Comodo India - "Invent ² Secure" Temple Towers, Chennai Mobile: 98403 66039 Registered Linux User: #376656
Quoted 6 lines · Sabarinathan
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:
Quoted 4 lines
Quoted 4 lines
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....
Quoted 29 lines · [email protected] 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.imgtitle DOS
rootnoverify (hd0,0)
chainloader +1How should I change the configuration?
sudhir
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
Quoted 8 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
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.......
Quoted 15 lines · On Thu, 2005-01-27 at 01:01 -0500, [email protected] 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
Quoted 6 lines
title DOS
rootnoverify (hd0,0)
chainloader +1How 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.
Signature · 1 line
David Hollis <[email protected]>