Jump to content

GRUB problem with CentOS5.8 , won't boot


crp

Recommended Posts

I'm back (http://forums.scotsnewsletter.com/index.php?showtopic=59742entry365001).

 

This morning the CentOS5.8 rebooted itself for reasons unknown.

Worse , it would not boot, got an error of File 15 file does not exist.

 

Booted up with a LiveCD , mounted sda1 to /mnt/custom and sure enough:

root@sysresccd /mnt/custom % ls -lR
.:
total 95
drwxr-xr-x 2 root root  1024 Jan  9 09:38 grub
drwx------ 2 root root 12288 May 17  2010 lost+found
-rw-r--r-- 1 root root 80032 Mar 16  2009 message

./grub:
total 257
-rw-r--r-- 1 root root     63 May 17  2010 device.map
-rw-r--r-- 1 root root   7584 May 17  2010 e2fs_stage1_5
-rw-r--r-- 1 root root   7456 May 17  2010 fat_stage1_5
-rw-r--r-- 1 root root   6720 May 17  2010 ffs_stage1_5
-rw------- 1 root root    713 Dec 21 01:30 grub.conf
-rw-r--r-- 1 root root   6720 May 17  2010 iso9660_stage1_5
-rw-r--r-- 1 root root   8224 May 17  2010 jfs_stage1_5
lrwxrwxrwx 1 root root     11 May 17  2010 menu.lst -> ./grub.conf
-rw-r--r-- 1 root root   6880 May 17  2010 minix_stage1_5
-rw-r--r-- 1 root root   9248 May 17  2010 reiserfs_stage1_5
-rw-r--r-- 1 root root  55808 Mar 16  2009 splash.xpm.gz
-rw-r--r-- 1 root root    512 May 17  2010 stage1
-rw-r--r-- 1 root root 104988 May 17  2010 stage2
-rw-r--r-- 1 root root   7072 May 17  2010 ufs2_stage1_5
-rw-r--r-- 1 root root   6272 May 17  2010 vstafs_stage1_5
-rw-r--r-- 1 root root   8872 May 17  2010 xfs_stage1_5

./lost+found:
total 0

root@sysresccd /mnt/custom/grub % cat grub.conf 
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-274.17.1.el5.centos.plusxen)
       root (hd0,0)
       kernel /xen.gz-2.6.18-274.17.1.el5.centos.plus
       module /vmlinuz-2.6.18-274.17.1.el5.centos.plusxen ro root=/dev/VolGroup00/LogVol00
rhgb quiet
       module /initrd-2.6.18-274.17.1.el5.centos.plusxen.img

Anyone have

xen.gz-2.6.18-274.17.1.el5.centos.plus, vmlinuz-2.6.18-274.17.1.el5.centos.plusxen , initrd-2.6.18-274.17.1.el5.centos.plusxen.img

that they can ftp to me so I could put them in the root directory of sda ?

Link to comment
Share on other sites

I have CentOS 6.2 and looked for your files but I cannot see them (even after checking the "show all files").

 

centt.png

 

Then I tried Josh's link just for the fun of it but I got;

 

zenlu.png

Edited by réjean
Link to comment
Share on other sites

got the system running again by doing an install of 5.8 (or .9 hard to tell) from a DVD which prompted that it found a linux os on the drive and did i want to update it. Still took some manual work after that (grub was not changed even though installation said it was) and pc is running & serving.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...