LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-02-2004, 10:56 AM   #1
iidbis
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
Question grub 'file not found'


Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdd3 4031560 2559816 1266944 67% /
/dev/hdd1 75605 8581 63120 12% /boot
none 96032 0 96032 0% /dev/shm
/dev/hdb5 7416060 3439328 3600012 49% /mnt01
/dev/hdb1 23302 11651 10448 53% /active-boot
/dev/hdd5 60475564 8574464 48829096 15% /mnt03
/dev/hdd6 53187444 522060 49963544 2% /mnt02
total 8372

THE CONTENTS OF /boot (/dev/hdd1)


-rw-r--r-- 1 root root 512 Jan 24 06:29 boot.0300
-rw-r--r-- 1 root root 5824 Jan 25 2003 boot.b
-rw-r--r-- 1 root root 612 Jan 25 2003 chain.b
-rw-r--r-- 1 root root 39947 Jan 24 06:13 config-2.4.18-3
-rw-r--r-- 1 root root 49125 Jan 24 06:13 config-2.4.18-3BOOT
-rw-r--r-- 1 root root 44309 Mar 13 2003 config-2.4.20-8
drwxr-xr-x 2 root root 1024 Feb 2 15:00 grub
-rw-r--r-- 1 root root 119715 Jan 24 06:11 initrd-2.4.18-3BOOT.img
-rw-r--r-- 1 root root 124221 Jan 24 06:09 initrd-2.4.18-3.img
-rw-r--r-- 1 root root 149091 Nov 19 17:45 initrd-2.4.20-8.img
-rw-r--r-- 1 root root 473 Nov 19 17:45 kernel.h
drwx------ 2 root root 12288 Nov 19 12:39 lost+found
-rw------- 1 root root 22528 Jan 24 06:14 map
-rw-r--r-- 1 root root 23108 Feb 24 2003 message
-rw-r--r-- 1 root root 21282 Feb 24 2003 message.ja
lrwxrwxrwx 1 root root 20 Nov 19 17:45 module-info -> module-info-2.4.20-8
-rw-r--r-- 1 root root 15436 Mar 13 2003 module-info-2.4.20-8
-rw-r--r-- 1 root root 640 Jan 25 2003 os2_d.b
lrwxrwxrwx 1 root root 25 Nov 24 20:12 System.map -> System.map-2.4.22-0custom
-rw-r--r-- 1 root root 520129 Mar 13 2003 System.map-2.4.20-8
-rw-r--r-- 1 root root 493573 Nov 19 21:23 System.map-2.4.20-8custom
-rw-r--r-- 1 root root 506847 Nov 24 20:11 System.map-2.4.22-0custom
-rw-r--r-- 1 root root 3193503 Mar 13 2003 vmlinux-2.4.20-8
lrwxrwxrwx 1 root root 16 Nov 19 17:45 vmlinuz -> vmlinuz-2.4.20-8
-rw-r--r-- 1 root root 1122186 Mar 13 2003 vmlinuz-2.4.20-8
-rw-r--r-- 1 root root 1092207 Nov 19 21:23 vmlinuz-2.4.20-8custom
-rw-r--r-- 1 root root 954191 Nov 24 20:12 vmlinuz-2.4.22-0custom

THE grub/grub.conf FILE

# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd2,0)/grub/splash.xpm.gz
title Red Hat Linux 9 (vmlinuz-2.4.22-0custom)
root (hd2,0)
kernel /vmlinuz-2.4.22-0custom ro root=label=/1 hdc=ide-scsi idebus=66
initrd /initrd-2.4.20-8.img
title WIN98
rootnoverify (hd0,0)
chainloader +1

THE CONTENTS OF /boot/grub

total 208
-rw-r--r-- 1 root root 60 Jan 30 12:13 device.map
-rw-r--r-- 1 root root 7840 Jan 30 12:13 e2fs_stage1_5
-rw-r--r-- 1 root root 7536 Jan 30 12:13 fat_stage1_5
-rw-r--r-- 1 root root 6880 Jan 30 12:13 ffs_stage1_5
-rw-r--r-- 1 root root 659 Feb 2 15:00 grub.conf
-rw-r--r-- 1 root root 8448 Jan 30 12:13 jfs_stage1_5
-rw-r--r-- 1 root root 7040 Jan 30 12:13 minix_stage1_5
-rw-r--r-- 1 root root 9408 Jan 30 12:13 reiserfs_stage1_5
-rw-r--r-- 1 root root 33585 Jan 30 12:14 splash.xpm.gz
-rw-r--r-- 1 root root 512 Jan 30 12:13 stage1
-rw-r--r-- 1 root root 106364 Jan 30 12:13 stage2
-rw-r--r-- 1 root root 6528 Jan 30 12:13 vstafs_stage1_5
-rw-r--r-- 1 root root 9320 Jan 30 12:13 xfs_stage1_


I installed RH 9 on to a new hd(the box has 3) I bought . Thinking my bios would not let me boot from this new drive I elected to not install grub on it and continue to boot from the original device (grub there as well). Discovering that bios will boot from this drive I decided to install grub on it (/boot) .
The grub-install seems to work . When I try to boot I get a nice splash screen. When I pick the OS I want I get 'file not found'.
I have grub on a floppy that boots fine .

Any suggestions?

Last edited by iidbis; 02-03-2004 at 06:33 AM.
 
Old 02-02-2004, 04:13 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

It sounds like grub.conf hasn't been configured.

Post the contents of /boot/grub.conf (from your hard drive),

and the output from
#ls /boot

and post which partition /boot is on (hdc1 or whatever)

Dave
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub theme not shown/found by grub...please help.. deepclutch Debian 4 11-30-2005 05:33 PM
GRUB: NTLDR not found. Or is it? JZL240I-U Linux - Software 2 03-07-2005 03:33 AM
GRUB, SUSE, Error 15 File Not Found fizgigtiznalkie Linux - Distributions 2 08-31-2004 05:38 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:51 PM.

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
Open Source Consulting | Domain Registration