Results 1 to 3 of 3

Thread: Mistakenly deleted first NTFS partition on hard disk

  1. #1
    Join Date
    Sep 2013
    Beans
    1

    Mistakenly deleted first NTFS partition on hard disk

    Hi,

    I'm an intermediate user of Ubuntu, been using it for about 2 years. Anyways I had a dual boot system, with
    Windows 7 and Ubuntu 13.04. I needed a primary partition for a uni project to test a FAT32 partition and since
    I don't use my Windows 7 anymore I decided to delete the first NTFS partition (which is about 300mb I think?).
    I needed to because I couldn't have anymore primary partitions so I deleted the smallest one in Gparted and created
    a new 100mb FAT32 partition. Anyways it deleted fine with no problems but then I noticed my laptop (HP Probook 4530s)
    was getting really hot so I decided to shut it down for a bit.
    When I started it up again, there was an error message saying boot device not found and no Grub menu popped up,
    giving me only the default laptop options such as hard disk test etc.

    Worst case scenario is that the hard disk has failed but my guess is that I may need to reinstall Grub2 or rearrange the partitions so
    that the Linux boot swap is the first partition on the hard disk? I am re-downloading Ubuntu 13.04 now so I can boot the Live CD
    but am wondering what is the best step to do next. Right now I am guessing I need to use Gparted or use the Boot-Repair tool but am just
    looking for a bit of guidance.

    Any help would be much appreciated. Cheers.

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mistakenly deleted first NTFS partition on hard disk

    Some systems (usually Intel motherboards) have BIOS that check for boot flag or active partition in Windows. And they will not let you boot unless boot flag is found. Grub does not use boot flag, Windows has to have the boot flag on the active partition meaning the one with boot files. Windows 7 installs in two partitions, a small 100MB boot partition with two of the three essential boot files.

    Use gparted from liveCD and put boot flag on main Windows install, sda2?

    You can repair Windows if you have a Windows repairCD to add bootmgr and BCD to the main install. Windows only has the separate Boot partition so you can encrypt the main install. The Boot partition also has the repair console so you do need separate repairCD for Windows.

    Windows Boot files:
    WinXP
    /boot.ini /ntldr /NTDETECT.COM
    Vista/7 (with 7 the first two files are usually in a separate 100MB boot partition)
    /bootmgr /Boot/BCD /Windows/System32/winload.exe
    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
    Dec 2005
    Beans
    19,260
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Mistakenly deleted first NTFS partition on hard disk

    Check out Test Disk; see if that fits your needs.
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

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
  •