problem w/ grub.conf
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.
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
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 on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
This is what your grub.conf should look like...
Code:
Code:
Code:
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=offYours 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.imgShould 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