Results 1 to 3 of 3

Thread: Ubuntu 12.10 / Windows 7 dualboot: Unknown filesystem, grub rescue

  1. #1
    Join Date
    Oct 2010
    Beans
    Hidden!

    Ubuntu 12.10 / Windows 7 dualboot: Unknown filesystem, grub rescue

    Help! D:

    I have a Ubuntu 12.10 and Windows 7 dualboot installed on my Asus Zenbook. I wanted to remove Ubuntu, so I thought I could follow this guide to restore the Windows boot loader http://www.howtogeek.com/howto/33433...ubuntu-update/ and remove the linux partition after that. I also have the Asus recovery partition, so I booted into that to see whether the Asus recovery wizard had an repair option. Well, it didn't, the only option was to recover Windows to the entire hd. So I canceled the wizard, but after this I was greeted with "error: unknown filesystem" and the grub rescue prompt.

    I'm scared of messing things up further, what should I do to either get back to my dualboot or create a windows-only-boot?
    Would booting a Live USB and restoring the Windows bootloader with syslinux or mbr work? (http://robert.penz.name/221/mini-how...omment-page-1/)
    I'm a newbie, so I'm not sure about the sda part though. The windows partition is sda1, does that mean I should replace dev/sda in "sudo install-mbr -i n -p D -t 0 /dev/sda" with dev/sda1?

    Any help will be greatly appreciated!
    Last edited by twistle; January 30th, 2013 at 07:06 AM.

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 12.10 / Windows 7 dualboot: Unknown filesystem, grub rescue

    NO.

    Almost never install a boot loader to a partition and never to a NTFS partition (PBR) as that has to have NTFS partition boot code and info which is different than MBR boot code.

    How to restore the Ubuntu/XP/Vista/7 bootloader
    https://help.ubuntu.com/community/Re...ta/7Bootloader


    You should be able to use a Windows RepairCD and run auto repairs 3 times or the fixMBR command. Whichever partition is boot needs the Windows boot flag or set as active partition with Windows repair. Windows 7 usually has a 100MB boot/repair partition as sda1 or sda2 and then the main install.

    You can also run this:
    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair


    An easy way [OS-Uninstaller] Safely remove Windows, Ubuntu... in 1 clic !
    http://ubuntuforums.org/showthread.php?t=1769489
    https://help.ubuntu.com/community/OS-Uninstaller


    Boot-Repair install syslinux boot loader. If you have liveCD/DVD/Flash from Linux you can also install lilo's boot loader to the MBR (not full lilo which also has boot code in a PBR).

    Restore basic windows boot loader - universe enabled if error on lilo not found
    Simply open Synaptic and Settings > Repositories and tick the box against the Universe repo in the Ubuntu Software tab. Close that window and click on reload before installing lilo with Synaptic or command line.
    sudo apt-get install lilo
    sudo lilo -M /dev/sda mbr
    May show error messages about the rest of lilo missing, ignore, we just want MBR with bootloader.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Oct 2010
    Beans
    Hidden!

    Re: Ubuntu 12.10 / Windows 7 dualboot: Unknown filesystem, grub rescue

    Thank you very much!

    The Boot-Repair tool worked like a charm!

    I should have mentioned that I don't have a CD-drive. So I ended up using EasyBCD and the Windows Disk Manager, as described here: http://askubuntu.com/a/110679/127726

Tags for this Thread

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
  •