LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2003, 02:55 PM   #1
terminaljunkie
LQ Newbie
 
Registered: Feb 2003
Location: UK
Distribution: Red Hat V9
Posts: 17

Rep: Reputation: 0
Grub Woes


I had a problem with Grub on another system, which I managed to remedy with help from this forum......this one is different, but no less frustrating.

On that last occasion, the problem seemed to be caused by a Kernel update usiing RHN on RH7.3, this time I have no idea what has caused the problem, somehow between the last reboot (51 days ago) and now, the Grub environment seems to have gotten into something of a tangle.

Information (in segments for ease of reading)

=============================================
The system is dual processor, and built on Red Hat V7.3, as far as I can recall, we upgraded this from a V6.2 platform about a year ago, but it has not been probmatical before or after the many RHN updates.......

=============================================
The message I get is as follows:

Booting 'Red Hat Linux (2.4.18-27.7)'

root (hd0,0)

filesystem type is ext2fs, partition type 0x83
Kernel /vmlinuz-2.4.18-27.7.xsmp ro root=/dev/sda8

Error 15: File Not Found

Press Any Key To Continue

=============================================
Disk Layout:

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda8 256667 155901 87514 65% /
/dev/sda7 256667 27812 215603 12% /boot
/dev/sda5 7937796 881344 6653224 12% /home
/dev/sda6 7937796 2833380 4701188 38% /usr
/dev/sdb1 4372108 320964 3829048 8% /var
none 257220 0 257220 0% /dev/shm
/dev/sdb2 1011960 230764 729788 25% /mnt/new2

=============================================
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/sda8
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 $1$cMLs$z5Gy21GPNGES8ajwYzYmB0
title Red Hat Linux (2.4.18-27.7.xsmp)
root (hd0,0)
kernel /vmlinuz-2.4.18-27.7.xsmp ro root=/dev/sda8
title Red Hat Linux (2.4.18-27.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-27.7.x ro root=/dev/sda8
title Red Hat Linux (2.4.18-24.7.xsmp)
root (hd0,0)
kernel /vmlinuz-2.4.18-24.7.xsmp ro root=/dev/sda8
title Red Hat Linux (2.4.18-19.7.x)
root (hd0,0)
kernel /vmlinuz-2.4.18-19.7.x ro root=/dev/sda8

=============================================
/boot area files

boot.0800 module-info-2.4.18-27.7.xsmp
boot.b os2_d.b
chain.b System.map
config-2.4.18-19.7.x System.map-2.4.18-19.7.x
config-2.4.18-24.7.xsmp System.map-2.4.18-24.7.xsmp
config-2.4.18-27.7.x System.map-2.4.18-27.7.x
config-2.4.18-27.7.xsmp System.map-2.4.18-27.7.xsmp
grub vmlinux-2.4.18-19.7.x
kernel.h vmlinux-2.4.18-24.7.xsmp
lost+found vmlinux-2.4.18-27.7.x
map vmlinux-2.4.18-27.7.xsmp
message vmlinuz
message.ja vmlinuz-2.4.18-19.7.x
module-info vmlinuz-2.4.18-24.7.xsmp
module-info-2.4.18-19.7.x vmlinuz-2.4.18-27.7.x
module-info-2.4.18-24.7.xsmp vmlinuz-2.4.18-27.7.xsmp
module-info-2.4.18-27.7.x

=============================================
My assumptions:

As far as I can tell, the grub pointers are ok, the vmlinux-2.4.18-27.7.xsmp kernel file exists and the disk partition points to the correct place.

Thankfully I CAN still boot from the emergency floppy created and maintained, but I would obviously like to regain the boot from HDD if possible. If necessary I WILL rebuild from V7.3 and do the necessary up2dates, but I would really like to know what the problem is and why it is failing / has happened.

Any, and all help received with thanks. If I can provide any further information, do not hesitate to ask!

TIA

Steve.
 
Old 03-19-2003, 05:18 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Have you tried commenting out the splashimage line?

You do not state if that file exists on your system.
 
Old 03-19-2003, 05:26 PM   #3
terminaljunkie
LQ Newbie
 
Registered: Feb 2003
Location: UK
Distribution: Red Hat V9
Posts: 17

Original Poster
Rep: Reputation: 0
No, I don't - I hadn't looked at it from that viewpoint (that the file that wasn't found might not be the kernel (DOH!!!))

But here is the listing.....unfortunately I'm noyt able to test the comment out and retry - until tomorrow (UK time) but I will do so then and come back with the results.

Thanks for the response though!

============================================
Listing /boot/grub:


drwxr-xr-x 2 root root 1024 Mar 19 13:49 .
drwxr-xr-x 4 root root 2048 Mar 19 13:49 ..
-rw-r--r-- 1 root root 45 Dec 23 14:35 device.map
-rw-r--r-- 1 root root 10880 Feb 17 13:53 e2fs_stage1_5
-rw-r--r-- 1 root root 9808 Feb 17 13:53 fat_stage1_5
-rw-r--r-- 1 root root 8896 Feb 17 13:53 ffs_stage1_5
-rw-r--r-- 1 root root 883 Mar 19 13:49 grub.conf
-rw-r--r-- 1 root root 11104 Feb 17 13:53 jfs_stage1_5
-rw-r--r-- 1 root root 1096 Dec 23 13:04 menu.lst
-rw-r--r-- 1 root root 617 Dec 23 13:04 menu.old
-rw-r--r-- 1 root root 9280 Feb 17 13:53 minix_stage1_5
-rw-r--r-- 1 root root 12576 Feb 17 13:53 reiserfs_stage1_5
-rw-r--r-- 1 root root 33585 Apr 10 2002 splash.xpm.gz
-rw-r--r-- 1 root root 512 Feb 17 13:53 stage1
-rw-r--r-- 1 root root 131008 Feb 17 13:53 stage2
-rw-r--r-- 1 root root 8544 Feb 17 13:53 vstafs_stage1_5
-rw-r--r-- 1 root root 12744 Feb 17 13:53 xfs_stage1_5
 
Old 03-19-2003, 06:22 PM   #4
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
You say Grub is pointed at the right place? Grub is looking for /boot on hd(0,0), which Linux would call sda1. You don't show an sda1; you have /boot on sda7, which Grub would call hd(0,6)

What am I missing?
 
Old 03-19-2003, 06:39 PM   #5
terminaljunkie
LQ Newbie
 
Registered: Feb 2003
Location: UK
Distribution: Red Hat V9
Posts: 17

Original Poster
Rep: Reputation: 0
It's me that is miossing something - but I'm completely at a loss as to how that has occured. Only 3 people have acces sto that system at root level and none of use have admitted changing the settings.

One guy reckons he viewed Grub with linux conf (horrified by that and have since removed it) but made no changes that he can recall.......

I am no expert in Grub (or linux) and have only begun wrestling with the reference manual these last few days....it seems I am looking so hard I miss everything.

{Humble} Thanks

I'll try and change the pointers and see how I get on - I will definitely post up the result!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
grub booting woes :S kevingpo Fedora 1 06-18-2005 12:10 AM
grub woes gazaa526 Linux - Software 4 05-16-2004 09:39 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM
GRUB Installation woes with Gentoo ryan83vt Linux - General 3 02-19-2004 05:06 AM


All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration