grub error - "Linux kernal must be loaded before initrd"
Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
kernel /boot/vmlinuz ro root=/dev/hda5
Thanks for this!
It doesn't look much different to mine, but I'll give modify and reboot right now.
one question I have in mid is that... are my problems related to the fact that my grub 'belongs' to my Debian primary partiion? Can it be that you cant boot another kernal/partion in the extended/logical area of my disk? I can boot my windows, but that has its own chainloaded primary partition.
It doesn't matter what Linux OS version has the grub menu and several of my distro installs are on logical partitions.
Windows is best left on the first primary drive, and first partition.
Edit: What version of PCLinux do you have? Did you install it by using the livecd installer?
Yes, I did an install using the live CD. I simply put it on a pre-prepared ext2 logigal-part of my extended partion. No grub option, because I already have a working grub thats booting my Knoppix & Windows. I'm hoping I can just add the relevant entries to grub.
PClinuxOS version: p93a- "mini me"
I feel your pain! Im at the same spot you are with that same kernel panic error. Im trying to install PClos over the current "imfedupwith=Fedora6" line atm
1. Load up liveCD
2. Run installer
3. I let the partition program auto setup the partitions (which it now lists are sde1=root, sde6=home)
3a. Does the fact that it set up the partitions as sde /boggle anyone else? I have a 320G internal SATA drive btw.
4. Go through the rest of the install wizard and reboot
5. kernel panic error!
6. reload livecd.
7. repeat install
8. kernel panic error!
9. kick computer and pound keyboard!
Well ok. Omit line 9 above. Anyway, I suspect that whole sde/sda thing above might be an issue. Although I do see alot of posts about this exact issue with just vague suggestions to fix it, including the 5 page thread that was on the pclinuxos forums before the site bit the dust. I dont have any USB devices hooked up (and I seriously doubt that would have anything to do with this kernel error anyway). Has someone found a real fix for this issue? If so, please share the wealth!
make sure everything is spelled correctly (kernel, not kernal)
make sure you are editing the grub config file that matches the grub actually installed. (grub gets hard-coded on installation so that it points to the partition where /boot/grub/menu.lst lives.)
In the grub config file, make sure of the following:
root (hdX,Y) --must point to the partition where /boot is mounted
for the OS to be booted, and must be in grub-speak, counting from zero
kernel /boot/vmlinuz---etc root=/dev/hdVW --here the root statement must
point to the partition where / is mounted. numbering here starts at "a" and "1".
Also, this code is correct only if /boot is on the same partition with /.
If it is separate, then the correct code is: