problem w/ grub.conf

This is a discussion about problem w/ grub.conf in the Everything Linux category; Ok, I am not sure if my problem is with the grub. conf, but that is my guess. Let me say that I am a noob when it comes to Linux. Currently I am running Red Hat 9 and i just installed a 3com NIC and ran a make config to try to get it to work.

Everything Linux 1800 This topic was started by , . Last reply by ,


data/avatar/default/avatar12.webp

1 Posts
Location -
Joined 2003-11-25
Ok, I am not sure if my problem is with the grub.conf, but that is my guess.
 
Let me say that I am a noob when it comes to Linux.
 
Currently I am running Red Hat 9 and i just installed a 3com NIC and ran a make config to try to get it to work. I compiled the kernal and copied it into my /boot/ directory.
 
Now this is what I added to the grub.conf
 
title Red Hat Linux (2.4.20-8_Nov25a)
root (hd0,0)
kernel /Nov25a ro root=LABEL=/
initrd /initrd-2.4.20-8.img
 
this is what I get when I do a reboot and choose this kernal.
 
ERROR: /bin/insmod exited abnormally!
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem
mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unusd kernel memory: 132k freed
Kernel panic: No init found. Try passing init=option to kernel.
 
Any ideas or help would be appreciated.
 
Thanks.
 
Steve

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Nov 25
Created
Nov 27
Last Response
0
Likes
1 minute
Read Time
User User
Users

Responses to this topic


data/avatar/default/avatar02.webp

169 Posts
Location -
Joined 2003-03-02
This is what your grub.conf should look like...

Code:
default 4 timeout 10splashimage=(hd0,0)/boot/grub/splash.xpm.gz#title=linux-2.4.21 #root (hd0,0)#kernel (hd0,0)/boot/bzImage.2.4.21 root=/dev/hda6 hdc=ide-scsi title=linux-2.4.22root (hd0,0)kernel (hd0,0)/boot/bzImage.2.4.22 root=/dev/hda6 acpi=offtitle=linux-2.6.0test7root (hd0,0)kernel (hd0,0)/boot/bzImage.2.6.0test7 root=/dev/hda6 acpi=offtitle=linux-2.6.0test9root (hd0,0)kernel (hd0,0)/boot/bzImage.2.6.0test9 root=/dev/hda6 acpi=off
Yours reads...

Code:
title Red Hat Linux (2.4.20-8_Nov25a)root (hd0,0)kernel /Nov25a ro root=LABEL=/initrd /initrd-2.4.20-8.img 
Should read...

Code:
title Red Hat Linux (2.4.20-8_Nov25a)root (hd0,0)kernel (hd0,0)/boot/Nov25a root=/dev/hdaX #(note X is whereevre your root partition is) 
Make sure the name of your kernel matches the name in grub.conf