Results 1 to 5 of 5

Thread: grub error .. unknown filesystem grub repair

  1. #1
    Join Date
    Nov 2006
    Beans
    9
    Distro
    Ubuntu 6.10 Edgy

    grub error .. unknown filesystem grub repair

    hello .. my dual boot (ubuntu 10.10 & win7) has given a grub error that I would like some help solving. on boot the computer now says:
    error: unknown filesystem
    grub rescue>
    I would really like to get both systems up and running ..
    I have dug around a few hours and tried some steps i found here but honestly I am afraid I will lose the win7 if I have not already if I go further. from the grub rescue I have found the grub here:
    Code:
    ls (hd0,msdos7)/boot/grub
    which is weird I think as the results from the boot info script (below) seems to indicate it should be on msdos6.. help would be greatly appreciated.

    Code:
                   Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #6 for (,msdos6)/boot/grub.
     => Syslinux is installed in the MBR of /dev/sdb
    
    ////clip////
    Last edited by patrick11ty; April 5th, 2011 at 07:55 PM.

  2. #2
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: grub error .. unknown filesystem grub repair

    Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
    partition #6 for (,msdos6)/boot/grub.

    Your install is in sda7 follow this link in reinstalling the grub2 bootloader from a live cd to the mbr.
    https://help.ubuntu.com/community/Gr...ing%20GRUB%202

    Same page as your link; above, section 12.
    Last edited by wilee-nilee; April 5th, 2011 at 07:36 PM.





  3. #3
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub error .. unknown filesystem grub repair

    If everything is intact you may be able to do this from the rescue prompt:

    Code:
    set prefix=(hd0,7)/boot/grub
    set root=(hd0,7)
    insmod (hd0,7)/boot/grub/linux.mod
    linux /vmlinuz root=/dev/sda7 ro
    initrd /initrd.img 
    boot
    If it boots run:
    Code:
    sudo grub-install /dev/sda
    sudo update-grub
    Back to Xorg...

    Retired.

  4. #4
    Join Date
    Nov 2006
    Beans
    9
    Distro
    Ubuntu 6.10 Edgy

    Re: grub error .. unknown filesystem grub repair

    it worked! was surprised during the process that it didn't recognize or need me to specify a /home or /boot but I guess it didn't need it as it seems to be fully functional (win7 as well seems to be working).

    thanks so much for your help.

  5. #5
    Join Date
    Nov 2006
    Beans
    9
    Distro
    Ubuntu 6.10 Edgy

    Re: grub error .. unknown filesystem grub repair

    Quote Originally Posted by drs305 View Post
    If everything is intact you may be able to do this from the rescue prompt:

    Code:
    set prefix=(hd0,7)/boot/grub
    set root=(hd0,7)
    insmod (hd0,7)/boot/grub/linux.mod
    linux /vmlinuz root=/dev/sda7 ro
    initrd /initrd.img 
    boot
    If it boots run:
    Code:
    sudo grub-install /dev/sda
    sudo update-grub
    thanks for the idea .. but I was at the time booted into the live usb. hopefully it can help someone else in the future.

    thanks for your help!

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
  •