FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "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 08:07 AM.

  2. #2
    Join Date
    Jun 2006
    Posts
    7,544
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 01:18 AM.

  3. #3
    Join Date
    May 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  4. #4
    Join Date
    Sep 2010
    Location
    india,hyderabad
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

Similar Threads

  1. How to booting with the kernel option "pci=nomsi"
    By ardainbox in forum Servers & Networking
    Replies: 2
    Last Post: 12th October 2007, 02:21 PM
  2. 1st Boot stops at "Umcompressing Linux ... OK, booting the kernel"
    By FelixO in forum Installation, Upgrades and Live Media
    Replies: 6
    Last Post: 5th July 2007, 06:44 PM
  3. Computer reboots after "Uncompressing Linux ... OK, booting the kernel"
    By Chris NS in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 31st August 2006, 09:32 AM
  4. Getting Error "fsck.ext3 Unable to resolve 'LABEL=boot'" during Booting of FC 4
    By salil.mehta in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 21st August 2006, 09:10 AM
  5. Replies: 0
    Last Post: 23rd May 2005, 04:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •