The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Windows reformat and grub gone (noob q)

    Discussion in 'Linux Compatibility and Software' started by CoDnut, Jun 10, 2007.

  1. CoDnut

    CoDnut Notebook Evangelist

    Reputations:
    122
    Messages:
    405
    Likes Received:
    0
    Trophy Points:
    30
    I reformatted my windows partition the other day and in the process, unbeknown to me it either deleted grub or wiped my linux partition (Ubuntu feisty) b/c now when I boot up it just goes right to booting windows. Is there a way to get grub back, do I have to reinstall it (I don't know how to do that short of reinstalling all of ubuntu)?
    I just use linux for a bit of messing around so it have no pressing need to get it back, but I doubt this is the first time Windows has done this to someone so any helf anyone could offer would be great.
     
  2. AuroraS

    AuroraS Notebook Virtuoso

    Reputations:
    651
    Messages:
    3,497
    Likes Received:
    0
    Trophy Points:
    105
    hmm... I doubt it wiped out your Feisty partition. What probably happened is that it overwrote the MBR and flagged the Window partition is the active boot partition.

    What you need to do is put in the Ubuntu CD and run it... then run Gparted so that you can change your current active partition to be your Linux one - the partition that SHOULD have grub installed on it. Then restart and you should see grub...
     
  3. Lysander

    Lysander AFK, raid time.

    Reputations:
    1,553
    Messages:
    2,722
    Likes Received:
    1
    Trophy Points:
    55
    Windows nuked your bootloader. This page has instructions on how to fix it again.
     
  4. rockharder

    rockharder Notebook Evangelist

    Reputations:
    26
    Messages:
    653
    Likes Received:
    0
    Trophy Points:
    30
    After you reinstall the GRUB, do this:
    From Linux terminal:
    mkdir /media/bootloader
    sudo dd if=/dev/sda of=/media/bootloader/ubuntu.bin bs=512 count=1

    copy ubuntu.bin to USB stick or whatever works for you.

    Next time if you format XP partition again just do this:
    Star>Control Panel>System>System Restore>Edit
    It will open a notepad with bootloader command. At last line, add:
    C:ubuntu.bin=Ubuntu Linux

    It will let you have the option to jump to GRUB.
     
  5. CoDnut

    CoDnut Notebook Evangelist

    Reputations:
    122
    Messages:
    405
    Likes Received:
    0
    Trophy Points:
    30
    thanks for the advice guys I got it up and running again.

    then i realized that i was having a few things run off my windows partition before like my music library and since I reformatted windows that wasn't all in the exact same place as before and for some reason it isn't letting me access the stuff on that partition like it did before the reformat, when I try to open it or click on the icon in the computer area it doesn't do anything.