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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
please note.... the files really do exist in the logical partition, but I'm just guessing those kernel parameters for vmlinuz, by copying from the knoppix entry
title PCLinuxOS
root (hd0,4)
kernel /boot/vmlinuz ro root=/dev/hda5
initrd /boot/initrd.img
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?
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"
Kernel 2.6.16.17
Grub v0.97
I'm not sure what's wrong then. I let the installer go ahead with the grub part. Then, I switch back to my FC grub after I know the new Linux is working.
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:
Code:
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:
kernel /vmlinuz---etc----etc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.