Jump to content


GRUB problem with CentOS5.8 , won't boot

grub centos

  • Please log in to reply
3 replies to this topic

#1 OFFLINE   crp

crp

    Discussion Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,124 posts

Posted 07 May 2013 - 03:13 PM

I'm back (http://forums.scotsn...42).

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 ?
Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience. ~C. S. Lewis

#2 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,027 posts

Posted 09 May 2013 - 11:01 AM

You should be able to find those packages here: http://rpm.pbone.net/
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#3 OFFLINE   réjean

réjean

    Discussion Deity

  • Forum MVP
  • 4,473 posts

Posted 10 May 2013 - 11:03 AM

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

Posted Image

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

Posted Image

Edited by réjean, 10 May 2013 - 11:03 AM.

registered linux user #374889

#4 OFFLINE   crp

crp

    Discussion Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,124 posts

Posted 10 May 2013 - 01:38 PM

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.
Of all tyrannies, a tyranny sincerely exercised for the good of its victims may be the most oppressive. It would be better to live under robber barons than under omnipotent moral busybodies. The robber baron's cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience. ~C. S. Lewis





Also tagged with one or more of these keywords: grub, centos

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users