Results 1 to 5 of 5

Thread: Screwed up partitions

  1. #1
    Join Date
    Sep 2009
    Beans
    96
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Unhappy Screwed up partitions

    I was going to reinstall ubuntu on a pc. It already had ubuntu on it, but It was an old version and instead of updating it several version I wanted to just start fresh. So I went into windows and used A partition manager of some kind ( i dont remeber what it was called) to delete the partitions that had ubuntu on it. I guess that was a mistake, because now when I boot it the computer goes into grub rescue, and I dont know what to do. I booted it from the live cd and mounted the harddrive, and the windows data is still there. When I run gpart, it doesnt detect any partitions. Just /dev/sda/. I do not want to erase the whole disk, because i need the windows data and I do not have the windows install disk.

    So anyway to fix the partitions?
    http://megaloler.site90.com/, not that you care.

  2. #2
    Join Date
    Mar 2007
    Location
    Outer Milky Way
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Screwed up partitions

    Quote Originally Posted by MegaLoler View Post
    I was going to reinstall ubuntu on a pc. It already had ubuntu on it, but It was an old version and instead of updating it several version I wanted to just start fresh. So I went into windows and used A partition manager of some kind ( i dont remeber what it was called) to delete the partitions that had ubuntu on it. I guess that was a mistake, because now when I boot it the computer goes into grub rescue, and I dont know what to do. I booted it from the live cd and mounted the harddrive, and the windows data is still there. When I run gpart, it doesnt detect any partitions. Just /dev/sda/. I do not want to erase the whole disk, because i need the windows data and I do not have the windows install disk.

    So anyway to fix the partitions?
    The Grub bootloader was in the Ubuntu partition you deleted. When you reinstall Ubuntu, a new copy of Grub will be installed. You probably won't have any problems if you just go through the automatic Ubuntu installation process again (just don't install to the whole disk drive, which would then erase your Windows partition). The Ubuntu installer ought to help you create a new partition for Ubuntu usage from the free space left behind when you deleted the old Ubuntu partition. In fact, you can just use the option to "install in existing free space" without worries.

    At the end of the Ubuntu re-installation, Grub will be reinstalled and it will automatically locate the Windows partition and OS. Your boot menu will again be created (showing both Ubuntu and Windows), and you will again be in business, just like before (but with a new Ubuntu installation, obviously).
    Last edited by perspectoff; September 20th, 2010 at 10:38 PM.

    UbuntuGuide/KubuntuGuide

    Right now the killer is being surrounded by a web of deduction, forensic science,
    and the latest in technology such as two-way radios and e-mail.

  3. #3
    Join Date
    Sep 2009
    Beans
    96
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Screwed up partitions

    But that option isnt available, and it says "this computer has no operating systems on it"
    thanks for replying
    http://megaloler.site90.com/, not that you care.

  4. #4
    Join Date
    Sep 2009
    Beans
    96
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Screwed up partitions

    Would it be good to Run the gparted live cd and try to recover the partition table? I will try that.
    http://megaloler.site90.com/, not that you care.

  5. #5
    Join Date
    Sep 2009
    Beans
    96
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Screwed up partitions

    It worked! The ubuntu live cd detects the partitions now, and that option you mentioned is available now. So when it installs it should fix grub like you said thanks!
    http://megaloler.site90.com/, not that you care.

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
  •