Results 1 to 3 of 3

Thread: unknown filesystem" after deleted partition

  1. #1
    Join Date
    Mar 2014
    Beans
    1

    unknown filesystem" after deleted partition

    Hey all,


    Recently dual booted windows 7 with ubuntu 10.10. I later, realizing i was running out of hard drive space, I deleted the partition which had ubuntu on it while running windows. Later windows auto rebooted my computer and, where grub usually popped up, it said:


    error: unknown filesystem.
    grub rescue>


    I checked on another thread but it was a different scenario, they hadn't deleted the ubuntu partition.


    please help me on this i am thankful to you..

  2. #2
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: unknown filesystem" after deleted partition

    IF you installed Ubuntu to a separate partition, and did this after Win7 was already in place, it's likely that you overwrote the disk MBR in the process.

    That MBR was not rewritten when you removed Ubuntu, so it still points there by default.

    Had you asked about this first, we would have told you to use Win7 Backup feature to create a Repair CD -- which you could have then used to rewrite the MBR -- PRIOR to removing Ubuntu -- and you wouldn't have this problem.

    Since you can't get into Win7 now, you can't create that repair CD. Instead, you have the option of PURCHASING the CD ISO image from the link, and then burning it to CD: http://neosmart.net/blog/2009/window...-repair-discs/

    You will need to download that ISO file and burn a CD using it. Once you have that, boot using it and run STartup Repair three times -- that's right, three times.

    That said, if you installed Ubuntu inside Windows, you removed a Windows partition in the process, and that is a very different problem to fix.

    If you're not sure which scenario applies, then boot from Ubuntu install media, get to a desktop, open a terminal and enter "sudo fdisk -lu" (lowercase L, not a one) -- that will list out the partitions on the drive.
    Last edited by Mark Phelps; March 19th, 2014 at 04:51 PM.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  3. #3
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: unknown filesystem" after deleted partition

    If you have regular msdos partitions (that sudo fdisk -l can see) you should be able to restore a standard DOS/Win mbr with syslinux's mbr.bin from an Ubuntu iso booted from CD/DVD or USB:
    Code:
    sudo dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/mbr.bin of=/dev/sda
    Otherwise see http://www.syslinux.org/wiki/index.php/Mbr for some other mbrs including gpt, but note that the path to the other syslinux related bin files is /usr/lib/syslinux/

    I have used this method in a couple of cases to restore a Windows mbr, like after temporarily trying Ubuntu on a laptop I was setting up for someone, or when for some reason Windows needed to have control of the mbr while installing a service pack. I also used that after installing grub on a partition instead of the mbr when Windows programs storing data in what they thought was an unused part of the mbr kept messing up grub2. Although, grub2 has since been updated to get around Windows programs (in my case Dell DataSafe) that are known to do that.

    I would not try this with Windows 8 since I am not familiar with UEFI or Secure Boot and how that all works.
    Last edited by efflandt; March 20th, 2014 at 09:38 AM.
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

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
  •