Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: ubuntu not booting, showing unknown file system, grub rescue.

  1. #1
    Join Date
    Jan 2009
    Beans
    16

    ubuntu not booting, showing unknown file system, grub rescue.

    i have been using windows 7 and ubuntu 10.10 for past few months. then there happened some problem with 7 and it didnt start so i started using ubuntu. then i got 11.10 and i reinstalled ubuntu on same drive which previously had 10.10. but now it's only showing unknown file system. grub rescue >. i am not even getting the option of load windows 7. tried lots of things but with no luck. is there anyone who can help me.

  2. #2
    Join Date
    Jun 2006
    Location
    /var/log
    Beans
    74
    Distro
    Xubuntu

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    i would just do a fresh install from cd/usb.
    grub will be reinstalled and it should pick up both operating systems.
    you know its love when you memorise her ip address to save dns overhead

  3. #3
    Join Date
    Jan 2009
    Beans
    16

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    i have reinstalled it for some 4-5 times. it shows same thing again and again. grub rescue.

  4. #4
    Join Date
    Jun 2006
    Location
    /var/log
    Beans
    74
    Distro
    Xubuntu

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    oh.
    are you installing it to the master boot record (mbr)? if so i can't think what the problem would be. it should be overwritten correctly.
    you know its love when you memorise her ip address to save dns overhead

  5. #5
    Join Date
    Jan 2009
    Beans
    16

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    sorry bro but i dnt know what is mbr. i m reinstalling it on same drive where 10.10 was installed and i saw the content of that drive using live cd, it has all the files as they should be. even all the windows 7 files are also present. dont know where the problem lies.

  6. #6
    Join Date
    Jun 2006
    Location
    /var/log
    Beans
    74
    Distro
    Xubuntu

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    have a wee look here ?
    you know its love when you memorise her ip address to save dns overhead

  7. #7
    Join Date
    Jan 2009
    Beans
    16

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    i tried what was written in that post. and now instead of grub rescue it showed grub. after which i did all the steps that were written in that post, but still its showing grub again and again. one strange thing is that everytime i reboot, i have to reinstall grub. it shows grub not installed. do you think reinstalling windows and then installing ubuntu will help ?

  8. #8
    Join Date
    Aug 2007
    Location
    Karma BC
    Beans
    1,215
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    If you've got a liveCD/USB, load the liveCD/USB, then download and install grub-repair and run it.

    I've had similar issues several times, and grub-repair, which is for ubuntu, will take care of it.

    If you haven't got a liveCD/USB, you can still boot the kernel manually if you can get as far as a grub-rescue prompt... I've had to do this on occasion too, and it's fairly straight-forward - I'll try to find the instructions for you...


    Ok, here is one set of instructions for loading a linux from the grub-rescue prompt - note, you need to know which kernel you're running to do this. I've got lucid on my thinkpad, so I can't help you there though someone else will know which kernel you should be trying to address ie: vmlinuz-2.6.33-32-generic etc...

    at the rescue prompt:

    set root=(hd0,1)
    linux (hdX,Y)/vmlinuz root=/dev/sdXY ro
    # or if (hdX,Y)/vmlinuz does not exist:
    linux (hdX,Y)/boot/vmlinuz-2.6.32.25-generic root=/dev/sdXY ro
    # then
    initrd (hdX,Y)/boot/initrd.img
    # or if (hdX,Y)/initrd.img does not exist:
    initrd (hdX,Y)/boot/initrd.img-2.6.33-25-generic
    boot

    (X and Y to be replaced with actual hdd and partition numbers - unless you've got more than 1 hard-disk, it'll be hd0, and you can use gparted to find out which partition is ubuntu root (/).)
    also, the last time I had to use this approach, my "root" partition, which I located through gparted, was sda5, but in the above commands I had to specify sda4, or hd0,4 instead of five...(which you won't have to if it's grub2)


    and here is a simplified method from the ubuntu documentation wiki https://help.ubuntu.com/community/Gr...ernel_Manually
    which I've also used successfully

    set root=(hdX,Y)
    linux /boot/vmlinuz-<your version> root=/dev/sdXY ro
    initrd /boot/initrd-<your version>
    boot

    again, the real key here is knowing which kernel to call
    "root" is the main ubuntu partition

    and if you manage to get the kernel booted this way, immediately install "grub-repair" and run it to restore grub.
    Last edited by utnubuuser; October 22nd, 2011 at 04:58 PM.
    Kipling - "if"

  9. #9
    Join Date
    Jan 2009
    Beans
    16

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    i tried to repair it using live cd and this is what i got. i dont know what the heck is wrong with my pc.
    root@ubuntu:/# grub
    The program 'grub' is currently not installed. You can install it by typing:
    apt-get install grub
    You will have to enable the component called 'main'
    root@ubuntu:/# apt-get install grub-pc
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    grub-pc is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@ubuntu:/# grub
    The program 'grub' is currently not installed. You can install it by typing:
    apt-get install grub
    You will have to enable the component called 'main'
    root@ubuntu:/# sudo grub
    sudo: unable to resolve host ubuntu
    sudo: grub: command not found
    root@ubuntu:/#

  10. #10
    Join Date
    Aug 2007
    Location
    Karma BC
    Beans
    1,215
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ubuntu not booting, showing unknown file system, grub rescue.

    is this through the application called "grub-repair"?

    Sorry... my bad... the application is called "Boot-repair", not grub-repair.

    in a terminal:
    sudo apt-get install boot-repair
    after installation it should be in System >> Administration >> Boot Repair
    Last edited by utnubuuser; October 22nd, 2011 at 05:14 PM.
    Kipling - "if"

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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