Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd January 2009, 06:57 AM
dmivor Offline
Registered User
 
Join Date: Oct 2008
Posts: 21
"kernel must be loaded before booting" error

Hi all!

I just installed fedora 10 using the GUI install, and when I try to boot, it gets me to the grub command line

grub>

when i enter 'boot', it gives me grub error 8: kernel must be loaded before booting. Not sure how to fix this, any help is appreciated. (I'm pretty new to linux).

Also, I used to have fedora 9, and i had an option to boot fedora or 'other', which is windows. How do I go about setting up something similar in this case?

EDIT:

Also, when I type root,
it tells me that the partition (hd2,0) (i assume the one i installed FC10: 3rd hdd, first partition) is an unspecified file system ...

I think something happened to grub when it removed my old partition with FC9...

Last edited by dmivor; 23rd January 2009 at 07:07 AM.
Reply With Quote
  #2  
Old 27th January 2009, 12:16 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Hello dmivor,

Yeah, I think your GRUB boot loader is busted. It sounds like you may have upgrade-installed from Fedora 9. Anyway, it happens often enough. I agree with your desire to manually boot the system from that grub> prompt, but you can't just enter "boot" as you found out. You must do that after a couple of other commands (e.g., root, kernel, and initrd). For example, starting with the root command at the grub> prompt...
Code:
grub> root (hdx,y)
You change x & y to the drive & partition of your boot partition where the kernels, initial ramdisks, and GRUB files are located. If you aren't sure of it, then you can find it like this...
Code:
grub> find /grub/stage1
grub> find /boot/grub/stage1
Do both. One will produce an error, and the other will identify your boot partition. Use that in your root command. Continuing on...

Next is the kernel command...
Code:
grub> kernel /vmlinuz-[version stuff here] [parameters here]
You can usually get that kernel version information using the Tab completion feature of the GRUB shell. Type that command through at least vmlinuz and press the <Tab> key to see the options available to complete the command. Continue that process until you have the complete kernel version typed in. You can probably stop there and it may still work, but if you know the root partition you can enter that after the version (e.g., root=/dev/sda2 or whatever it is).

Next is the initrd command...
Code:
grub> initrd /initrd-[version stuff here].img
Fill this out with the help of the Tab completion feature also.

NOTE: The kernel and initrd command examples above are for when the boot partition is a separate partition. If you do not have a separate boot partition, then you must include /boot in the path of the the kernel and initrd commands. Put it in front of the /vmlinuz and /initrd part.

Now enter the boot command...
Code:
grub> boot
Hopefully it boots. Then you can go about the business of repairing the GRUB boot loader for whatever is making it do this. Look for obvious problems in the grub.conf file. That is the classic reason for landing at a grub> prompt. You may also need to re-install the GRUB boot loader. That is not uncommon.

Lastly, if you never get anywhere with the above, then consider downloading a Super Grub Disk. It's a free utility that can boot a GRUB-booted Linux system when the only thing wrong with it is the boot loader. There are versions for CD, USB, and floppy. It would be a simple way to confirm that the Fedora system is capable of booting in the first place. The Super Grub Disk is not a pretty GUI app. It a dull-looking text-mode menu-driven utility. And it's menus can be somewhat maze-like until (like anything new) you learn it. But in spite of all of that, it's a very handy thing to have around. There is documentation help either on the disk or at that web site. It works by finding menu.lst and grub.conf files and launching them configfile-style. But it can also directly launch the kernel and initial ramdisk (direct method) in case the menu.lst or grub.conf is missing or bad (maybe why you are landing at that grub> prompt). So if one method fails, try the other.

Last edited by stoat; 27th January 2009 at 12:18 AM.
Reply With Quote
  #3  
Old 29th May 2009, 10:24 AM
torpedo Offline
Registered User
 
Join Date: May 2007
Posts: 18
boot partition is not available

Hi,

I'm having the same issue on Fedora Core 10 installed system.

"Error 8: Kernel must be loaded before booting.

And I tried the above recommendation and this is what I am getting. Does it mean that boot partition was deleted some how and not available on my system?

grub> find /grub/stage1

Error 15: File not found

grub> find /boot/grub/stage1

Error 15: File not found

grub>

Later I tried to run Rescue the system using installation DVD media and found out that I did see nothing under /boot and also I did not see boot partition when I run "df -k".

So as a final option, I tried to re-install by inserting the DVD. Installation menu prompted and DVD media was identified, but installer is existing with some other error. I am totally lost now and looking for help to rescue the installation or re-install Fedora Core 10 and 11 on this system.

Thanks,
Torpedo
Reply With Quote
  #4  
Old 29th October 2010, 01:17 PM
ryzingsrinivas Offline
Registered User
 
Join Date: Sep 2010
Location: india,hyderabad
Posts: 41
windows_xp_2003firefox
Re: "kernel must be loaded before booting" error

hi
i run all the above commands.ok
finally

grub> boot........>i clicked enter.

Now black and white screen came with some data.like

input:ImPS/2 logitech wheel mouse as /devices /platcform/i8042/serio1/input/input4
VFS:can't find ext4 filesystem on dev sda1.

after that arrow blinking generally,i leave it some time to that process.
nothing happen .

plz help me
Reply With Quote
Reply

Tags
error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to booting with the kernel option "pci=nomsi" ardainbox Servers & Networking 2 12th October 2007 02:21 PM
1st Boot stops at "Umcompressing Linux ... OK, booting the kernel" FelixO Installation and Live Media 6 5th July 2007 06:44 PM
Computer reboots after "Uncompressing Linux ... OK, booting the kernel" Chris NS Installation and Live Media 1 31st August 2006 09:32 AM
Getting Error "fsck.ext3 Unable to resolve 'LABEL=boot'" during Booting of FC 4 salil.mehta Installation and Live Media 4 21st August 2006 09:10 AM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 04:57 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat