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
Page 1 of 1
problem w/ grub.conf
#2
Posted 27 November 2003 - 08:02 PM
This is what your grub.conf should look like...
Yours reads...
Should read...
Make sure the name of your kernel matches the name in grub.conf
Code:
default 4 timeout 10 splashimage=(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.22 root (hd0,0) kernel (hd0,0)/boot/bzImage.2.4.22 root=/dev/hda6 acpi=off title=linux-2.6.0test7 root (hd0,0) kernel (hd0,0)/boot/bzImage.2.6.0test7 root=/dev/hda6 acpi=off title=linux-2.6.0test9 root (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
Share this topic:
Page 1 of 1

Help










