Results 1 to 5 of 5
-
07-08-2009, 02:10 PM #1Total Nerd
- Join Date
- Feb 2007
- Location
- Florida
- Posts
- 1,932
Cannot boot server to new kernel.
We cannot figure out why our dedicated server will not boot to the correct kernel. I've removed all other options from grub.conf but it's still booting to the default CentOS setup.
grub.conf:
Code:# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,0) # kernel /boot/vmlinuz-version ro root=/dev/mapper/ddf1_4c53492020202020808627c300000000378494a900000a28p1 # initrd /boot/initrd-version.img #boot=/dev/mapper/ddf1_4c53492020202020808627c300000000378494a900000a28 default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-028stab062.3) root (hd0,0) kernel /boot/vmlinux-2.6.18-028stab062.3 ro root=LABEL=/ initrd /boot/initrd-2.6.18-028stab062.3.img
Code:uname -r 2.6.18-128.el5
-Joe @ Secure Dragon LLC.
+ OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
+ Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas
-
07-08-2009, 03:20 PM #2Retired Moderator
- Join Date
- Jul 2001
- Location
- Singapore
- Posts
- 1,889
I guess you are editing the file in /etc/grub.conf? One thing to check is whether /etc/grub.conf is a symlink to /boot/grub/grub.conf. If it is not, you can simply remove /etc/grub.conf and symlink to /boot/grub/grub.conf.
Giam Teck Choon
:: Join choon.net Community today to share your tips and tricks on server issues please ::
:: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::
-
07-10-2009, 09:28 AM #3Temporarily Suspended
- Join Date
- Jul 2009
- Location
- SLASH ROOT
- Posts
- 26
Yes. the file that actually is used is /boot/grub/grub.conf. This is the correct boot loader for the server. If any changes are to be made, it should be made here.
On boot a symbolic link will be made to the path "/etc/grub.conf".
----------------------------
Sr. Systems Engineer
WHRSS
We grow by helping you grow.
-
07-10-2009, 04:23 PM #4Disabled
- Join Date
- Jun 2009
- Posts
- 126
Hello,
In /boot/grub/grub.conf you will find the similar entries,
kernel /vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
initrd /initrd-2.6.18-92.1.22.el5.img
Check them and compare the versions of kernel is right or wrong.
-
07-10-2009, 11:08 PM #5Total Nerd
- Join Date
- Feb 2007
- Location
- Florida
- Posts
- 1,932
Thanks for the replies, we figured out the problem (we were using Parallel's installation guide which is incorrect). We reinstalled everything with the correct setup and all is working properly!
-Joe @ Secure Dragon LLC.
+ OpenVZ Powered by Wyvern | KVM | cPanel Hosting | Backup VPSs | LowEndBoxes | DDOS Protection
+ Florida | Colorado | Illinois | California | Oregon | Georgia | New Jersey | Arizona | Texas
Similar Threads
-
Server does not boot new kernel...why ?
By glace in forum Hosting Security and TechnologyReplies: 4Last Post: 01-08-2008, 02:27 PM -
using specific kernel only on next boot?
By NuCode in forum Hosting Security and TechnologyReplies: 2Last Post: 09-26-2006, 12:27 PM -
Kernel boot
By suhailc in forum Hosting Security and TechnologyReplies: 22Last Post: 04-05-2005, 05:02 AM -
Kernel upgrade failed how to boot to old kernel Urgent Please
By WWWhost in forum Hosting Security and TechnologyReplies: 2Last Post: 01-07-2005, 11:00 PM -
boot kernel.. how do i change?
By AtlasPC-Darren in forum Hosting Security and TechnologyReplies: 7Last Post: 06-21-2004, 09:01 AM