Find the answer to your Linux question:
Results 1 to 4 of 4
Suse 9 was installed in the system and now it is down and it is giving the following error fro the grub. grub> kernel /vmlinz Error 2: Bad file or ...
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    2

    Exclamation Error 2: bad file or directory

    Suse 9 was installed in the system and now it is down and it is giving the following error fro the grub.

    grub> kernel /vmlinz

    Error 2: Bad file or directory

    grub > root (hd0,0)

    Filesystem id type ext2fs, partition type 0x83

    Please help and if there is any way that the kernel can be loaded with out affecting the system configuration.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    What happened immediately prior to the failure to boot? Any changes to hardware? software?

    grub> kernel /vmlinz
    You spelled it wrong and would get that error as a result. Did you mispell the command or is that just a typo here?

    Your root output above shows a Linux partition on sda1 (hd0,0). Do you have a LiveCD to use to mount your root partition to look for the boot files? You could try from the grub prompt: find /boot/vmlinuz. It would also be helpful if you could post your partition information from the fdisk command.

  3. #3
    Just Joined!
    Join Date
    Apr 2011
    Posts
    2
    No one knows on what happened to the system prior to this problem. Actually i mistyped the kernel when i post it here it is :

    grub> kernel vmlinuz

    and i tried so many times but it is not loading it and it keeps on giving me the same error. But is it possible to mount it from a livecd and recover or reload the kernel with out deleting the data.

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    But is it possible to mount it from a livecd and recover or reload the kernel with out deleting the data.
    Yes.

    No one knows on what happened to the system prior to this problem.
    Is this a production server? home computer? Enterprise Desktop? Suse Linux, version 9.0? Unable to boot anything?

    Do you have the Suse Linux Install CD/DVD? Do you have any other Linux Live CD? Do you know how to get partition information, mount?

    What happens when you run from the grub prompt: find /boot/vmlinuz?

    Post the info requested above and someone will be able to help.

Posting Permissions

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